CALL CENTER API · ENGLISH REFERENCE
Query individual agent status
Return the current state of a specified agent.
API path
/openapi/V2.0.8/getAgentStatusCommon request fields
The authentication object is required. Use the account credentials provided during onboarding; see the API overview. Request seq and userData are separate from authentication.seq.
| Field | Type | Required | Length / constraints | Description |
|---|---|---|---|---|
| seq | String | No | 0–20 | Message sequence number; currently not used by these request fields. |
| userData | String | No | 0–60 | Customer-defined correlation data; truncated beyond 60 characters. Use letters, digits and the documented ASCII punctuation. |
Request parameters
| Field | Type | Required | Length / constraints | Description |
|---|---|---|---|---|
| agent | String | Yes | 1–7 | Agent staff number. |
Request example
{
"authentication": {
"customer": "<CUSTOMER_ID>",
"timestamp": "<REQUEST_TIMESTAMP>",
"seq": "<UNIQUE_SEQUENCE>",
"digest": "<COMPUTED_DIGEST>"
},
"request": {
"seq": "<REQUEST_SEQUENCE>",
"userData": "<REFERENCE>",
"agent": "<STAFF_NO>"
}
}Response envelope
The top-level result describes the request; data.response carries command-specific status and echoed correlation fields. logs may include debugging information when enabled.
| Field | Type | Description |
|---|---|---|
| result.error | String | Error code. |
| result.msg | String | Request result description. |
| data.seq | String | Message sequence number. |
| data.response | Object | Command-level response. |
| data.response.seq | String | Echoed request sequence. |
| data.response.userData | String | Echoed customer data. |
| data.response.result | Object | Command result; inspect error. |
Status fields
| Field | Type | Description |
|---|---|---|
| workStatus | String | OFFLINE — offline; ONLINE — online; BUSY — busy; AWAY — away. |
| serverStatus | String | IDLE — idle; CALL_OUT — outbound call connected; CALL_IN — inbound call connected; RINGING — ringing; PROCESS — after-call work; API_CALLING — API call in progress. |
| signStatus | String | Sign-in state field in the response example; value meanings are not specified in the source. |
{
"result": {
"error": 0,
"msg": "Success"
},
"data": {
"seq": "<SEQUENCE>",
"response": {
"seq": "<REQUEST_SEQUENCE>",
"userData": "<REFERENCE>",
"result": {
"error": 0
},
"workStatus": "ONLINE",
"serverStatus": "IDLE",
"signStatus": ""
}
},
"logs": ""
}Examples use placeholders. Request your approved connection details and credentials through ANNC onboarding.