Create Conversation - Early Access

Resource

https://api.infobip.com/ccaas/1/conversations

Parameters

Use this method to create a new conversation. Conversation can be built without any parameter, all parameters are optional. Parameters "status", "priority" and "channel" will get default values if not provided. Parameter "channel" is default set to NO_CHANNEL.

Property name Type Description
topic string The topic of conversation can be any text up to 255 characters.
summary string Short description of conversation can be any text up to 4000 characters.
status string  Conversation status (OPEN, WAITING, SOLVED, CLOSED). If no status is provided, will be set to default: OPEN
priority string  Conversation priority (URGENT, HIGH, NORMAL, LOW) If no priority is provided, will be set to default: NORMAL
queueId string Queues id that conversation will belong to
agentId string Agents id assigned to the conversation

Request Example

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

{
    "topic": "Topic Demo",
    "summary": "This is summary",
    "status": "OPEN",
    "priority": "HIGH",
    "queueId": "FBDDA7F8B33417374ACC02F5265527E6",
    "agentId": "97457D13B1FC79AF3C1A1096AE7E77AB"
}
					
				

Response

					{
    "id": "25E9059F2FA0F37E802567EDE3125CCB",
    "topic": "Topic Demo",
    "summary": "This is summary",
    "status": "OPEN",
    "priority": "HIGH",
    "queueId": "FBDDA7F8B33417374ACC02F5265527E6",
    "agentId": "97457D13B1FC79AF3C1A1096AE7E77AB",
    "createdAt": "2019-05-24T13:51:08.099+0000",
    "updatedAt": "2019-05-24T13:51:08.099+0000",
    "channel": "NO_CHANNEL"
}
					
				
					{
    "statusCode": "ERROR",
    "message": "Required request body is missing or not valid"
}