Sparkcentral Queue API
The Queue API gives you direct access to an overview of conversations with the agent that locked the conversation in the Sparkcentral platform via a convenient and secure REST API.
The API provides Sparkcentral customers a means to integrate with internal contact center dashboards, in conjunction with other communication channels such as phone, email, live chat, etc.
Authentication
When calling the Queue API, the client needs to be authenticated.
The REST API authentication section contains more details on how to authenticate your client.
Conversations locked by an agent
An overview of conversations with the agent that locked the conversation.
AUTHORIZATIONS: Bearer token
Example URI:
GET queue/lock
Request
curl -X GET -G https://public-api.sparkcentral.com/queue/lock \
--header 'Authorization: Bearer <token>'
Response 200
Headers
Content-Type: application/json
Body
{
"locks": [
{
"conversationId": "9dee60dc-cbbf-11ec-95ef-8e8b58e7d3d8",
"userId": "57fc9dc2-2b6f-11ec-aed1-66640cff431f",
"lockedAt": "2022-05-14T14:15:33.437Z"
}
]
}
| Parameter | Type | Description |
|---|---|---|
| conversationId | string | The id of the conversation. |
| userId | string | The user id of the agent. |
| lockedAt | string <date-time> | The timestamp since when the agent has locked the conversation. |
Response 401
Unauthorized: when using an invalid or expired access token.