Create Note - Early Access
Resource
https://api.infobip.com/ccaas/1/conversations/{conversationId}/notes
Path Params
Use notes to notify your team on important matter regarding a conversation with a customer. Use this method to create a new note.
| Property name | Type | Description |
|---|---|---|
| *conversationId | string | Required - Conversations Id to set note to |
Body Params
| Property name | Type | Description |
|---|---|---|
| agentId | string | Agents Id is a creator of note |
| *content | string | Required - Notes content can be any text up to 1000 characters. |
Request Example
POST /ccaas/1/conversations/9F1F21C198025CC026956A7E2E9C560F/notes HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Accept: application/json
{
"agentId":"F66D67327326FCCB027BEAA916B94542",
"content": "Sample Note content",
}
Response
{
"id": "22457B6EE7558AAD2F7D8235696ED4E6",
"conversationId": "9F1F21C198025CC026956A7E2E9C560F",
"agentId":"F66D67327326FCCB027BEAA916B94542",
"content": "Sample Note content",
"createdAt": "2019-04-11T10:40:38.059+0000",
"updatedAt": "2019-04-11T10:40:38.059+0000"
}
{
"statusCode": "ERROR",
"message": "Invalid id '9F1F21C198025CC026956A7E2E9C560F' given! No such entity exists."
}
{
"statusCode": "ERROR",
"message": "Required request body is missing or not valid"
}