v1

latestOpenAPI 3.1.02026-07-24700259.3 KB
SMS

View sent SMS

View sent SMS messages.

post/sms/view-sent

Request body

start_datestring date

ISO-8601 formatted datetime which defaults to 7 days ago at midnight. The range will be inclusive of start_date and exclusive of end_date. Timezone is UTC.

end_datestring date

ISO-8601 formatted datetime which defaults to now. Timezone is UTC.

usernamestring

If passed will filter the results based on the username information on the message

subaccount_idstring

If you wish to make this API call on behalf of a subaccount then include its unique ID here.

Response

SMS Messages

Example response

{
  "data": {
    "request_id": "e023461c-8c86-11e9-b984-408d5cce2644",
    "messages": [
      {
        "id": "a9d6d238-900c-4b9a-9e42-2d55c48785ab",
        "timestamp": "2025-06-08T19:05:25.830Z",
        "username": "username",
        "sender": "shared",
        "sender_email": "test@example.com",
        "destination_address": "+123456789",
        "destination_address_county": "US",
        "format": "SMS",
        "status": "Message sent",
        "content": "test message"
      }
    ]
  }
}