SQ_GetAgents
SQ_GetAgents
Gets agents.
Example request: Get all agents with their current statuses.
Authentication
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the Authorization header as a Bearer value:
Authorization: Bearer $VOXIMPLANT_TOKEN
See Authorization for ready-to-copy snippets in bash, Python, Node.js and Go that turn your credentials.json into a token.
Query parameters
Application name to search by. Can be used instead of application_id
List of SmartQueue IDs separated by semicolons (;). Use 'all' to select all the queues
List of SmartQueue names separated by semicolons (;). Can be used instead of sq_queue_id
Name of the SmartQueue to exclude. Can be used instead of excluded_sq_queue_id
Skills to filter in the json array format. The array should contain objects with the sq_skill_id/sq_skill_name, min_sq_skill_level, and max_sq_skill_level keys where skill levels range from 1 to 5
List of user IDs separated by semicolons (;)
List of user names separated by semicolons (;). Can be used instead of user_id
Filter statuses in the json array format. The array should contain objects with the sq_status_type and sq_status_name keys. Possible values for sq_status_type are 'CALL' and 'IM'. Possible values for sq_status_name are 'OFFLINE', 'ONLINE', 'READY', 'IN_SERVICE', 'AFTER_SERVICE', 'DND'
Whether the agent can handle calls. When set to false, the agent is excluded from the CALL-request distribution
Response
The found agent(s)