Create Tag - Early Access

Resource

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

Parameters

Use this method to create a new tag.

Tags can be assigned to the conversations to categorize them into topics or customer intents.

Tags can be created ad hoc over create tag method or automatically within journey automation flow when a conversation is transferred to Agents.

Property name Type Description
*name string Required - Tag name content can be any text up to 20 characters.

Request Example

					POST /ccaas/1/tags HTTP/1.1
Host: {base_url}
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Accept: application/json

{
    "name": "This is demo TAG1"
}
					
				

Response

					{
    "name": "This is demo TAG1"
}
					
				
					{
    "statusCode": "ERROR",
    "message": "Required request body is missing or not valid"
}
					
				
					{
    "statusCode": "ERROR",
    "message": "Tag already exists"
}
					
				

Duplicate tag

If you try to create a tag with a name that already exists in the system, you will get the following response: “statusCode”: “ERROR”, “message”: “tag already exists”