Logo
Account Management API Documentation

Retrieve messages

GET {{baseUrl}}/v1/messages?q=&limit=25&page=0

 

Body PARAM

Key Datatype Required Description 
q
null (Required)
limit
number (Required)
page
number (Required)



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

[ { "id": "123", "to": "john.doe@example.com", "from": "jane.doe@example.com", "subject": "Hello there!", "body": "This is the message", "timestamp": "2023-03-01T10:30:00Z" }, { "id": "234", "to": "john.doe@example.com", "from": "jane.doe@example.com", "subject": "Hello there!", "body": "This is the message", "timestamp": "2023-03-01T10:30:00Z" } ]



Curl
curl -X GET 'https://852212bf-a52d-4922-a28f-94c54a5faf23.mock.pstmn.io/v1/messages?q=&limit=25&page=0?q=&limit=25&page=0' -H 'Accept: application/json'

ENDPOINTS