Skip to main content
GET
/
v1
/
organization
/
sms
/
messages
cURL
curl --request GET \
  --url https://9dc2c77e6dbf.ngrok-free.app/v1/organization/sms/messages \
  --header 'Authorization: Bearer <token>'
{
  "messages": [
    {
      "id": "<string>",
      "fromPhoneNumberId": "<string>",
      "fromPhoneNumber": "<string>",
      "toIds": [
        "<string>"
      ],
      "text": "<string>",
      "subject": "<string>",
      "type": "SMS",
      "transport": "sms",
      "direction": "INBOUND",
      "receivedAt": "<string>",
      "sentAt": "<string>",
      "completedAt": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "recipients": [
        {
          "id": "<string>",
          "phoneNumber": "<string>",
          "status": "QUEUED",
          "carrier": "<string>",
          "lineType": "<string>",
          "createdAt": "<string>",
          "updatedAt": "<string>"
        }
      ]
    }
  ],
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

Admin API key (format: sk_admin_*) for organization-level operations

Query Parameters

limit
string
offset
string
direction
enum<string>
Available options:
INBOUND,
OUTBOUND
appId
string<uuid>

Response

200 - application/json

List all SMS messages

messages
object[]
required
totalCount
number
required