---
title: "List SMS test numbers"
description: "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. `GET /api/v1/sms/test-destinations`"
url: https://www.unitpost.com/docs/sms/get-sms-test-destinations
section: "SMS API reference"
updated: 2026-10-13
---
# List SMS test numbers

`GET /api/v1/sms/test-destinations`

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.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | Max rows to return (default 20, max 100). |
| `after` | query | string | no | Return rows after this id (forward paging). |
| `before` | query | string | no | Return rows before this id (backward paging). |

## Response fields (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | string | yes | — |
| `id` | string | yes | — |
| `phone_number` | string | yes | — |
| `status` | string | yes | `pending` until the code texted to it is entered in the dashboard, then `verified`. |
| `created_at` | string | yes | — |

## Responses

| Status | Description |
| --- | --- |
| 200 | Test numbers. |
| 401 | Missing or invalid API key. |
| 403 | Insufficient scope. |
| 404 | Not found, or SMS is not enabled for this workspace. |
| 422 | A bad `limit`, `after` or `before`, or an unknown query key. |

## Example request

```bash
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'
```

## Example response (200)

```json
{
  "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"
    }
  ]
}
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/sms/get-sms-test-destinations
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
