Skip to main content
Use this endpoint to retrieve all messages sent from your project. The response includes each message’s current delivery status, so you can monitor the overall health of your outbound traffic at a glance.

Request

GET https://api.relayos.com.br/v1/messages

Headers

string
required
Bearer token for your RelayOS API key. Format: Bearer YOUR_API_KEY.

Example

Response

Returns an array of message objects. Each object reflects the message’s latest known status at the time of the request.
string
Unique message ID assigned by RelayOS.
string
Current delivery status of the message. Possible values:
string
Recipient phone number in E.164 format.
string
Name of the template used for this message.
string
ISO 8601 timestamp of when RelayOS accepted the message.
To track a specific message in real time, use GET /v1/messages/{id} or configure a webhook callback URL on your project to receive status updates as they happen.