Create Note

Create a note on the conversation

Resource

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

Path Params

Property name Type
conversationId string

 

Body Params

Property name Type
agentId string
content string

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"
}
					
				

Use this method to create a new note.

Parameters

 

Property name Type Description
conversationId string Required - Conversations Id to set note to
agentId string Agents Id is a creator of note
content string Required - Notes content can be any text up to 4000 characters.