Route Conversation - Early Access

Resource

https://api.infobip.com/ccaas/1/conversations/{conversationId}/route

Parameters

Use this method to route the existing Conversation.

This method will remove assigned agent from conversation if exists and conversation will be sent to routing process.

Path Params

Property name Type Description
*conversationId string Required - Conversation id to be routed

Request Example

					POST /ccaas/1/conversations/573711510E1C002E29679B12C7CB48AE/route HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Accept: application/json
					
				

Response

					{
  "id": "573711510E1C002E29679B12C7CB48AE",
  "topic": "API help",
  "summary": "API not working properly",
  "status": "OPEN",
  "priority": "HIGH",
  "queueId": "FBDDA7F8B33417374ACC02F5265527E6",
  "agentId": "F66D67327326FCCB027BEAA916B94542",
  "createdAt": "2019-04-24T11:25:41.058+0000",
  "updatedAt": "2019-04-24T11:25:41.058+0000",
  "channel": "SMS"
}
					
				
					{
  "statusCode": "ERROR",
  "message": "Invalid id '573711510E1C002E29679B12C7CB48AE' given! No such entity exists."
}
					
				

Closed conversations

Conversations with status CLOSED can’t be routed!