Simulate routing result for conversation
Use this method to simulate routing for an existing conversation. This method will resolve the routing rule applicable to the current conversation state and return the queue ID and priority that would be applied if the conversation was actually routed at this moment. Closed conversations cannot be routed.
Please log in to see full path URL. Learn why.
get
/ccaas/1/conversations/{conversationId}/simulate-routing
Authorizations:
Scopes:
path Parameters
conversationId required | string Id of the conversation on which routing is simulated. |
Responses
200
OK
400
Bad request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/ccaas/1/conversations/{conversationId}/simulate-routing' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
Successful response
Copy
Collapse all {- "id": "1ddece93-041f-42ac-8e25-d05801dfe358",
- "queueId": "6f2e6c5a-e4ca-48c6-bc0a-d9c18479743a",
- "priority": "HIGH"
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See