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
| Field | Type | Description |
|---|---|---|
limit | integer · query | Max rows to return (default 20, max 100). |
after | string · query | Return rows after this id (forward paging). |
before | string · query | Return rows before this id (backward paging). |
Response · 200 fields5 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
idrequired | string | — |
phone_numberrequired | string | — |
statusrequired | string | `pending` until the code texted to it is entered in the dashboard, then `verified`. |
created_atrequired | string | — |
200401403404422