List SMS test numbers

List SMS test numbers

GET/api/v1/sms/test-destinations

GET /sms/test-destinations
curl -X GET 'https://www.unitpost.com/api/v1/sms/test-destinations' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'
Response · 200
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "object": "sms_test_destination",
      "id": "id_123",
      "phone_number": "string",
      "status": "queued",
      "created_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}

The numbers your workspace may text a template's test to besides the simulator: pending until the code texted to it is entered, then verified. Adding and verifying one happens in the dashboard (Phone numbers → Testing): it proves the phone is the person's. Requires the sms:read capability.

Parameters3 fields
FieldTypeDescription
limitinteger · queryMax rows to return (default 20, max 100).
afterstring · queryReturn rows after this id (forward paging).
beforestring · queryReturn rows before this id (backward paging).
Response · 200 fields5 fields
FieldTypeDescription
objectrequiredstring—
idrequiredstring—
phone_numberrequiredstring—
statusrequiredstring`pending` until the code texted to it is entered in the dashboard, then `verified`.
created_atrequiredstring—
200401403404422

Search docs and guides

Search the docs and product guides.