Skip to main content
GET
/
sms
/
v1
/
messages
List SMS messages
curl --request GET \
  --url https://api.voyant.travel/sms/v1/messages \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "organizationId": "<string>",
      "toNumber": "<string>",
      "fromNumber": "<string>",
      "body": "<string>",
      "segments": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "priceCents": 123,
      "providerMessageSid": "<string>",
      "providerStatus": "<string>",
      "errorCode": "<string>",
      "errorMessage": "<string>",
      "sentAt": "2023-11-07T05:31:56Z",
      "deliveredAt": "2023-11-07T05:31:56Z",
      "lastEventAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Voyant Cloud API token, passed as Authorization: Bearer <token>. Each token carries a fixed set of scopes; an operation rejects tokens missing its required scope.

Response

200 - application/json

SMS messages

data
object[]
required