customer-engagement
conversations
conversation-management

Get conversations

Use this method to get a list of conversations with pagination and filtering option. Using the filter is optional. The result can be filtered by one or many optional filters described in parameters. <a href="https://www.infobip.com/docs/conversations-api" target="_blank">More info</a>

get/ccaas/1/conversations

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Query parameters

conversationIdsstring[]

Optional. List of conversation Ids.

queueIdsstring[]

Optional. List of queue Ids.

tagNamesstring[]

Optional. List of tag names.

agentIdstring

Optional. Id of an agent assigned to conversations.

status'OPEN' | 'WAITING' | 'SOLVED' | 'CLOSED'

Optional. Conversation status.

priority'URGENT' | 'HIGH' | 'NORMAL' | 'LOW'

Optional. Conversation priority.

createdAfterstring date-time

Optional. Filter results created after specific date and time. Format: yyyy-MM-dd'T'HH:mm:ss.SSS+0000

createdBeforestring date-time

Optional. Filter results created before specific date and time. Format: yyyy-MM-dd'T'HH:mm:ss.SSS+0000

updatedAfterstring date-time

Optional. Filter results updated after specific date and time. Format: yyyy-MM-dd'T'HH:mm:ss.SSS+0000

updatedBeforestring date-time

Optional. Filter results updated before specific date and time. Format: yyyy-MM-dd'T'HH:mm:ss.SSS+0000

closedAfterstring date-time

Optional. Filter results closed after specific date and time. Format: yyyy-MM-dd'T'HH:mm:ss.SSS+0000

closedBeforestring date-time

Optional. Filter results closed before specific date and time. Format: yyyy-MM-dd'T'HH:mm:ss.SSS+0000

limitinteger

Size of the result page.

pageinteger

Number of the current page.

orderBystring

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.

Response

OK

Example response

{
  "conversations": [
    {
      "id": "9542b329-01f4-4593-b7b0-606949389129",
      "topic": "First conversation topic",
      "summary": "First conversation summary",
      "status": "OPEN",
      "priority": "NORMAL",
      "queueId": null,
      "agentId": null,
      "createdAt": "2024-01-01T00:00:00.000+00:00",
      "updatedAt": "2024-01-01T00:00:00.000+00:00"
    },
    {
      "id": "be2de5f9-d049-446b-8c62-098be8b8f624",
      "topic": "Second conversation topic",
      "summary": "Second conversation summary",
      "status": "SOLVED",
      "priority": "HIGH",
      "queueId": "6f2e6c5a-e4ca-48c6-bc0a-d9c18479743a",
      "agentId": "c856e230-a8cd-498b-9996-42bbed35029a",
      "createdAt": "2024-01-01T00:00:00.000+00:00",
      "updatedAt": "2024-01-01T00:00:00.000+00:00"
    },
    {
      "id": "7e40af76-3020-4bf6-942f-27910d33899b",
      "topic": "Third conversation topic",
      "summary": "Third conversation topic",
      "status": "CLOSED",
      "priority": "LOW",
      "queueId": "6f2e6c5a-e4ca-48c6-bc0a-d9c18479743a",
      "agentId": "c856e230-a8cd-498b-9996-42bbed35029a",
      "createdAt": "2024-01-01T00:00:00.000+00:00",
      "updatedAt": "2024-01-01T00:00:00.000+00:00",
      "closedAt": "2024-01-03T00:00:00.000+00:00"
    }
  ],
  "pagination": {
    "totalItems": 3,
    "page": 0,
    "limit": 10,
    "orderBy": "id:ASC"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.