Transfers an on-going chat from the currently connected operator to another available operator or queue.
LibraryH3lp supports cookie-based authentication. To learn more, you can read the details on authentication.
Requests are served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported.
/2011-12-03/queues/{QueueName}/calls/{GuestJid}/{ConversationId}/transfer
Retrieve a list of users and queues able to accept a transfer.
Returns a JSON response containing a list of queue JIDs (Jabber IDs) and a list of user JIDs.
GET /2011-12-03/queues/example-queue/calls/5189487901334778072897@libraryh3lp.com/1790260/transfer
Note: GET is URL decoded above for clarity.
{
"queues":
[
"test-queue1@chat.libraryh3lp.com",
"test-queue2@chat.libraryh3lp.com",
],
"users":
[
"another-operator@libraryh3lp.com"
]
}
Transfers the chat from the current operator to the specified operator or queue.
You must POST using the following parameter:
Parameter | Description |
---|---|
target | String which is the JID (Jabber ID) of the operator or queue to which the chat should be transferred. |
Returns a JSON response with the following properties:
Property | Description |
---|---|
success | Boolean indicating if the request was successful. |
message | Optional. If success is null, message is a string describing the reason for the failed request. |
POST /2011-12-03/queues/example-queue/calls/5189487901334778072897@libraryh3lp.com/1790260/transfer
Note: POST is URL decoded above for clarity.
target=example-queue@chat.libraryh3lp.com
{
"success": true
}
POST /2011-12-03/queues/example-queue/calls/5189487901334778072897@libraryh3lp.com/1790260/transfer
Note: POST is URL decoded above for clarity.
target=example-operator@libraryh3lp.com
{
"success": true
}
Not supported.
Not supported.