Get messages

List sent (outgoing) messages for your account, newest first. Supports pagination and filtering by stream, status, recipient, and date range.

Pagination. page (1-based, default 1) and itemsPerPage (default 30). The response is { "items": [ ... ], "total": N }.

Dates. startDate and endDate accept YYYY-MM-DD or YYYY-MM-DD HH:MM:SS (UTC). A bare date means midnight at the start of that day, so to include all of March 31 send endDate=2026-04-01.

Authentication: TextPeak API key in the Authorization header (see Authentication in the API Overview).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
≥ 1

Page number (1-based).

≥ 1

Items per page.

Only messages sent on this stream ID.

MessageStatus | null

Delivery status.

Recipient phone number contains this text.

Sent at or after this time (UTC).

Sent at or before this time (UTC).

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json