Skip to main content
GET
List conversations
Minimum role required: Viewer

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Query Parameters

limit
integer<int64>
default:50

max items per page

Required range: 1 <= x <= 100
offset
integer<int64>
default:0

pagination offset

Required range: x >= 0
phone_id
string

only conversations on this phone

Maximum string length: 64
phone_number
string

only conversations on the phone with this own number, E.164 (for example +16282788410)

Maximum string length: 32
status
enum<string>

only conversations with at least one text of yours, sent in the period, in this status: the same values as a message's status. sent means it left the phone but no delivery report came. A conversation counts once however many of its texts match. More statuses may be added.

Available options:
delivered,
sent,
unconfirmed,
failed,
queued
error_code
enum<string>

only conversations with at least one text of yours, sent in the period, that failed for this reason: the same codes as a message's error_code. A conversation counts once however many of its texts match. More codes may be added.

Available options:
phone_unreachable,
no_result,
policy_off,
expired,
no_subscription,
no_service,
radio_off,
carrier_rejected,
phone_rate_limited,
media_fetch_failed,
connection_lost,
queue_full,
send_failed
replied
enum<string>

true: only conversations you texted in the period where they wrote back within 24 hours of one of those texts (the reply may land after the period ends). false: only the ones you texted that they did not answer that way. The same rule as replied in GET /messages/metrics, so its texted minus replied is the number false lists.

Available options:
true,
false
period_start_at
string<date-time>

start of the period (RFC 3339) the status, error_code and replied filters look at your texts in. Unset: 7 days before period_end_at. It may be at most a year before now.

period_end_at
string<date-time>

end of the period (RFC 3339). Unset: now, and a later time is read as now. Must be after period_start_at.

free-text search across the conversation's participants: a conversation matches when someone's handle contains this. For a number the digits are compared with formatting ignored, so +1 (415) 555-0123, 4155550123 and 0123 all match +14155550123; other text matches a short code or an alphanumeric sender, case-insensitive.

Maximum string length: 64

Response

OK

One page of the organization's conversations.

conversations
object[] | null
required

Conversations, newest activity first by last_message_at.

total
integer<int64>
required

Total conversations matching the query.