Skip to main content
GET
List SMS logs

Authorizations

Authorization
string
header
required

API key obtained from the OpenMic dashboard.

Query Parameters

page_size
integer

Number of records per page (default 50, max 100).

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

Opaque pagination cursor returned by the previous response.

direction
enum<string>

Filter by message direction.

Available options:
inbound,
outbound
from_number
string

Filter by sender phone number (partial match).

to_number
string

Filter by recipient phone number (partial match).

from_date
string<date-time>

Filter messages logged on or after this ISO 8601 timestamp.

to_date
string<date-time>

Filter messages logged on or before this ISO 8601 timestamp.

Response

Paginated list of SMS log entries.

has_more
boolean
required

Whether more records exist after this page.

sms_logs
object[]
required
next_cursor
string

Opaque cursor to pass as cursor in the next request.