Skip to main content
GET
List conversations

Authorizations

Authorization
string
header
required

An organization API key created in the Klatt console, sent as Authorization: Bearer <key>. The key belongs to one organization.

Query Parameters

limit
integer
default:50

Maximum number of conversations to return, from 1 to 100.

Required range: 1 <= x <= 100
cursor
string | null

Opaque cursor from the next_cursor of the previous page. Omit it to start from the newest conversation.

Maximum string length: 256
channel
enum<string> | null

Only conversations on this channel, voice or chat.

Available options:
voice,
chat
kind
enum<string>[] | null

Only conversations of these kinds: call, chat or test. Repeat the parameter to allow several.

Available options:
call,
chat,
test
agent_uuid
string<uuid>[] | null

Only conversations handled by these agents. Repeat the parameter to allow several.

since
string<date-time> | null

Only conversations changed after this date and time (ISO 8601, UTC). Use it to poll for updates.

category
enum<string>[] | null

Only conversations whose analysis has one of these results. Repeat the parameter to allow several.

Available options:
TRANSFERRED,
CALLBACK_OR_OPEN,
RESOLVED_WITHOUT_TEAM,
ENDED_BY_CALLER,
NO_CLEAR_REQUEST,
silent,
unanalyzed,
caller-hungup-ringing
direction
enum<string>[] | null

Only calls in this direction, inbound or outbound. Repeat the parameter to allow several.

Available options:
inbound,
outbound
campaign_uuid
string<uuid>[] | null

Only conversations that belong to these outbound campaigns. Repeat the parameter to allow several.

status
enum<string>[] | null

Only conversations in these states: unread, read or starred. Repeat the parameter to allow several.

Available options:
unread,
read,
starred
archived
boolean
default:false

When true, return archived conversations instead of active ones.

date_from
string<date-time> | null

Only conversations that started at or after this date and time (ISO 8601 with a time zone).

date_to
string<date-time> | null

Only conversations that started at or before this date and time (ISO 8601 with a time zone).

duration_min
integer | null

Only calls lasting at least this many seconds.

Required range: 0 <= x <= 86400
duration_max
integer | null

Only calls lasting at most this many seconds.

Required range: 0 <= x <= 86400

Response

Successful Response

items
object[]
required

The conversations of this page, newest first.

latest_change_at
string<date-time> | null

The most recent updated_at among the items (ISO 8601, UTC).

next_cursor
string | null

Cursor to send as cursor to get the next page. null on the last page.

totals
object | null

Totals for the filters. Only present on the first page.