---
title: "List messaging programs"
description: "Your messaging programs: what a sender registration says your texts are for, how people opt in, the help and stop replies and sample messages. `GET /api/v1/sms/messaging-programs`"
url: https://www.unitpost.com/docs/sms/get-sms-messaging-programs
section: "SMS API reference"
updated: 2026-10-13
---
# List messaging programs

`GET /api/v1/sms/messaging-programs`

Your messaging programs: what a sender registration says your texts are for, how people opt in, the help and stop replies and sample messages. Registrations copy a program when submitted; writing a program never changes one. `archived=true` includes archived ones. 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). |
| `archived` | query | string | no | `true` includes archived programs. One of: `true`, `false`. |

## Response fields (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | — |
| `description` | string \| null | no | — |
| `message_type` | enum | yes | One of: `transactional`, `marketing`. |
| `canonical_purpose` | string \| null | no | — |
| `frequency_disclosure` | string \| null | no | — |
| `opt_in_type` | string \| null | no | — |
| `opt_in_workflow` | string \| null | no | — |
| `opt_in_confirmation` | string \| null | no | — |
| `help_message` | string \| null | no | — |
| `stop_message` | string \| null | no | — |
| `terms_url` | string \| null | no | — |
| `privacy_url` | string \| null | no | — |
| `monthly_volume` | string \| null | no | — |
| `sample_messages` | string[] | yes | — |
| `embedded_links` | boolean | yes | — |
| `embedded_link_sample` | string \| null | no | — |
| `embedded_phones` | boolean | yes | — |
| `age_gated` | boolean | yes | — |
| `provider_overrides` | object \| null | no | — |
| `recipe_id` | string \| null | yes | — |
| `consent_setup_id` | string \| null | no | A consent setup (`cset_…`) this workspace has. |
| `object` | string | yes | — |
| `id` | string | yes | — |
| `recipe_version` | integer \| null | yes | — |
| `revision` | integer | yes | Moves on a material change; registrations keep the revision they copied. |
| `readiness` | object | yes | Whether the program has what a registration needs; `missing` names the fields still to fill (the wizard's own check). |
| `archived_at` | string \| null | yes | — |
| `created_at` | string | yes | — |
| `updated_at` | string | yes | — |

## Responses

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

## Example request

```bash
curl -X GET 'https://www.unitpost.com/api/v1/sms/messaging-programs' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'
```

## Example response (200)

```json
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "name": "Example",
      "description": "string",
      "message_type": "transactional",
      "canonical_purpose": "string",
      "frequency_disclosure": "string",
      "opt_in_type": "string",
      "opt_in_workflow": "string",
      "opt_in_confirmation": "string",
      "help_message": "string",
      "stop_message": "string",
      "terms_url": "https://example.com",
      "privacy_url": "https://example.com",
      "monthly_volume": "string",
      "sample_messages": [
        "string"
      ],
      "embedded_links": false,
      "embedded_link_sample": "string",
      "embedded_phones": false,
      "age_gated": false,
      "provider_overrides": {
        "toll_free": {
          "use_case_category": "string"
        },
        "ten_dlc": {
          "use_case": "string",
          "sub_use_cases": [
            "string"
          ]
        }
      },
      "recipe_id": "recipe_123",
      "consent_setup_id": "consent_setup_123",
      "object": "sms_messaging_program",
      "id": "id_123",
      "recipe_version": 0,
      "revision": 0,
      "readiness": {
        "ready": false,
        "missing": [
          "string"
        ]
      },
      "archived_at": "2026-01-01T00:00:00.000Z",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_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-messaging-programs
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
