Get incoming messages

Description

Summary: Retrieves a paginated list of incoming messages from streams with optional filtering. Details: This endpoint returns incoming messages with support for filtering by status, stream ID, phone number, destination, and date range. Results are paginated and returned as a JSON array of incoming message objects along with pagination metadata. Each message includes details such as its ID, content, status, associated stream, timestamps, and sender/recipient information.

Authentication & Scopes

Authentication is handled via an API key provided in the Authorization header. No OAuth scopes are defined; access is granted or denied based on the validity of the key.

MethodDetails
API KeyPass your API key directly in the Authorization header value (not as a Bearer token).

Headers

HeaderRequiredDescription
AuthorizationYesThe API key that verifies your access to the API.
acceptNoExpected response format. Default: application/json.
Content-TypeNoRequest content type. Default: application/json.

Parameters

All parameters are passed as query parameters and are optional.

ParameterTypeRequiredDescription
itemsPerPagenumberNoThe number of items to include per page. Default: 30.
pagenumberNoThe page number for pagination. Default: 1.
statusnumberNoFilter incoming messages by status code (e.g., 2).
streamIdstringNoFilter incoming messages by stream ID.
phonestringNoFilter incoming messages by phone number.
startDatestringNoFilter incoming messages created on or after this date.
endDatestringNoFilter incoming messages created on or before this date.
destinationstringNoFilter incoming messages by destination.

Request Body

This endpoint does not use a request body.

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

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