Get Conversation Tags

Get all conversations with pagination and sort

Resource

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

Path Params

Property name Type
conversationId string

 

Body Params

Property name Type Description
orderBy string (id:ASC) property:direction(ASC,DESC)
page int (0) Index of the result page
limit int (10) Size of the result page

Request Example

					GET /ccaas/1/conversations/CCAFAE1506956DAE0C26928065CF59AB/tags HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
					
				

Response

					{
    "tags": [
        {
            "id": "37B93F4D2BA3C58B58526EAEAA1AB35C",
            "name": "This is demo TAG1"
        },
        {
            "id": "9F1F21C198025CC026956A7E2E9C560F",
            "name": "This is demo TAG2"
        }
    ],
    "pagination": {
        "totalItems": 2,
        "page": 0,
        "limit": 10,
        "orderBy": "id:ASC"
    }
}
					
				
					{
  "statusCode": "ERROR",
  "message": "Invalid id 'CCAFAE1506956DAE0C26928065CF59AB' given! No such entity exists."
}
					
				
					{
    "statusCode": "ERROR",
    "message": "Page size must not be less than one!"
}
					
				

Body Params

Property name Type Description
conversationId string Required - Conversation id tags are getting from
limit integer Size of the result page. If a limit count is given, no more than that many rows will be returned (but possibly less, if the query itself yields fewer rows). The default value is 10, the max value is 999.
page integer This parameter says to skip that many rows before beginning to return rows. If both page and limit appear, then page rows are skipped before starting to count the limit rows that are returned. The default value is 0.
orderBy string This parameter is used to order your results. If an order is not given, the default order id:asc will be applied. Possible ordering fields are properties. Ordering direction can be specified with modifiers asc for the ascending ordering or desc for the descending one.