Skip to main content
GET
List text messages

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

contact_id
string

A contact id (from GET /v1/contacts). Its phone number / email is used.

Minimum string length: 1
phone_number
string

The person's phone number, E.164 (+14155550123)

Minimum string length: 3
direction
enum<string>

Only inbound (they reached you) or outbound (you reached them)

Available options:
inbound,
outbound
created_after
any

Only items created at or after this time (ISO 8601)

created_before
any

Only items created before this time (ISO 8601)

limit
integer
default:20
required
Required range: 1 <= x <= 100
cursor
string

meta.cursor from the previous page

Response

Success

data
object[]
required
meta
object
required