Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Admin API key (format: sk_admin_*) for organization-level operations

Query Parameters

limit
string

Maximum number of items to return (default: 20)

Example:

"20"

cursor
string

KSUID-based cursor for pagination

Minimum string length: 27
Example:

"msg_sms_2DbBs7GWhGvVNJGrDXr5RG0mBWI"

offset
string

Offset for pagination (fallback when cursor is not available)

Example:

"40"

direction
enum<string>
Available options:
INBOUND,
OUTBOUND
appId
string

Unique identifier for a App. Format: app_[test_]{ksuid}

Pattern: ^app_(?:test_)?[a-zA-Z0-9]{27}$
Example:

"app_2DbBs7GWhGvVNJGrDXr5RG0mBWI"

Response

List all SMS messages

messages
object[]
required
nextCursor
string | null
required

Cursor for the next page, or null if no more results

Minimum string length: 27
Example:

"msg_sms_2DbBs7GWhGvVNJGrDXr5RG0mBWI"

totalCount
integer
required

Total number of items matching the query

Example:

100