Unitpost SMS registrations API

Carrier registrations and their review state. Submitting a 10DLC one is an SMS quote, then its confirm.

GitHub OpenAPI

Operations 6

GET /sms/registrations List carrier registrations #
POST /sms/registrations/{id}/resubmit Resubmit a 10DLC campaign #
POST /sms/registrations/{id}/number Retry a campaign's number #
GET /sms/registrations/{id} Retrieve a carrier registration #
POST /sms/registrations/{id}/remove Remove a 10DLC setup #
POST /sms/registrations/{id}/replace Replace a 10DLC brand registration #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/unitpost-com:unitpost-com-sms-registrations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

unitpost-com-sms-registrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Unitpost SMS registrations API
  version: v1
  description: 'Public, versioned API for sending email and SMS and managing contacts, segments, campaigns, templates, domains, and webhooks. SMS is included on paid plans; on the free plan `POST /sms` returns `403` with `limit_reached`. Authenticate every request with an API key: `Authorization: Bearer `. A `User-Agent` header is required. Requests are scoped to the workspace that owns the key and are rate-limited per workspace. List endpoints are cursor-paginated via `limit`/`after`/`before` and return a `{ object: "list", has_more, data }` envelope. Register webhook endpoints to receive events: each create returns a `signing_secret` (`whsec_…`) exactly once. Every delivery is **svix-compatible**: it carries `svix-id`, `svix-timestamp`, and `svix-signature` (`v1,`) headers computed over `..` with your secret — verify them and reject deliveries whose signature doesn''t match (any Svix-compatible library works). Inbound email that lands on a receiving-enabled domain is readable under `/email/received`.'
servers:
- url: https://www.unitpost.com/api/v1
  description: Base URL
security:
- apiKey: []
tags:
- name: SMS registrations
  description: Carrier registrations and their review state. Submitting a 10DLC one is an SMS quote, then its confirm.
paths:
  /sms/registrations:
    get:
      operationId: sms_registrations_list
      tags:
      - SMS registrations
      summary: List carrier registrations
      description: Your carrier registrations (10DLC brand and campaign, toll-free) with their review state and the carrier's feedback; a 10DLC campaign also carries the number it backs and one setup state. Submitting or resubmitting a 10DLC brand is an SMS quote, then its confirm; a 10DLC campaign is resubmitted with POST /sms/registrations/{id}/resubmit and a toll-free verification with POST /sms/numbers/{id}/resubmit (both free); a 10DLC setup with no number is taken down with POST /sms/registrations/{id}/remove and an approved brand registration is replaced with POST /sms/registrations/{id}/replace. Requires the `sms:read` capability.
      parameters:
      - name: limit
        in: query
        required: false
        description: Max rows to return (default 20, max 100).
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: after
        in: query
        required: false
        description: Return rows after this id (forward paging).
        schema:
          type: string
      - name: before
        in: query
        required: false
        description: Return rows before this id (backward paging).
        schema:
          type: string
      responses:
        '200':
          description: Registrations.
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                    - list
                  has_more:
                    type: boolean
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SmsRegistration'
                required:
                - object
                - has_more
                - data
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or SMS is not enabled for this workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: A bad `limit`, `after` or `before`, or an unknown query key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /sms/registrations/{id}/resubmit:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: sms_registrations_resubmit
      tags:
      - SMS registrations
      summary: Resubmit a 10DLC campaign
      description: 'Resubmit a 10DLC campaign carriers sent back (`requires_updates`, `requires_authentication`), or whose first submit never reached them, from a messaging program: fix what carriers flagged there first (`feedback` on List carrier registrations). Free: the same registration and committed fee; the fee tier can''t change. A new `opt_in_screenshot_file_id` replaces the screenshot on file. An identical resubmission is refused (`registration_unchanged`) unless `acknowledge_unchanged`. Takes an `Idempotency-Key`. Requires the `sms:manage` capability.'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Any unique string (1–256 characters, e.g. a UUID). Retrying with the same key and the same body within 24 hours returns the first result instead of sending again; the same key with a different body is `409 invalid_idempotent_request`, and one still in flight is `409 concurrent_idempotent_requests`.
        schema:
          type: string
          minLength: 1
          maxLength: 256
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsCampaignResubmit'
      responses:
        '200':
          description: Resubmitted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsRegistrationResubmission'
        '400':
          description: The body isn't JSON.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope, SMS isn't on this plan, or the account's SMS access was declined (`account_under_review` with `details[].code` `sms_access_rejected`) or it is under review and can't add senders (`account_under_review` with `details[].code` `account_review_hold`); `error.doc_url` explains both.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Registration, program or file not found, or SMS is not enabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'Not awaiting corrections, a fee tier change, the brand no longer verified, nothing changed (`registration_unchanged`), the account''s SMS review isn''t done (`sms_review_pending`: Unitpost reviews every new SMS account before its first carrier order, usually within one business day; nothing was charged, `error.doc_url` explains it, and GET /usage `sms_review.access` reads `approved` once it is), or the `Idempotency-Key` in use.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The program as a campaign would be refused (`details[]` names the program fields), a bad file, or an unknown key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many carrier submissions; retry after the wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The carrier registry didn't answer; try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /sms/registrations/{id}/number:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: sms_registrations_request_number
      tags:
      - SMS registrations
      summary: Retry a campaign's number
      description: 'Bring back the failed local number of an approved 10DLC campaign whose monthly fee is already committed: free, nothing new is bought. A number nothing pays for yet is a purchase: `409 quote_required` (Create an SMS purchase quote, product `ten_dlc_number`). A campaign whose number is live answers it (`created: false`). Takes an `Idempotency-Key`. Requires the `sms:manage` capability.'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Any unique string (1–256 characters, e.g. a UUID). Retrying with the same key and the same body within 24 hours returns the first result instead of sending again; the same key with a different body is `409 invalid_idempotent_request`, and one still in flight is `409 concurrent_idempotent_requests`.
        schema:
          type: string
          minLength: 1
          maxLength: 256
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsNumberRetry'
      responses:
        '200':
          description: The campaign's live number (nothing requested).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsNumberRequest'
        '201':
          description: The number was requested again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsNumberRequest'
        '400':
          description: The body isn't JSON.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope, SMS isn't on this plan, the card is failing, or the account's SMS access was declined (`account_under_review` with `details[].code` `sms_access_rejected`) or it is under review and can't add senders (`account_under_review` with `details[].code` `account_review_hold`); `error.doc_url` explains both.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Campaign registration not found, or SMS is not enabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'The campaign isn''t approved, the number isn''t paid for (`quote_required`), or the account''s SMS review isn''t done (`sms_review_pending`: Unitpost reviews every new SMS account before its first carrier order, usually within one business day; nothing was charged, `error.doc_url` explains it, and GET /usage `sms_review.access` reads `approved` once it is).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: An unknown key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many carrier submissions; retry after the wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The provisioning service didn't answer; try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /sms/registrations/{id}:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: sms_registrations_get
      tags:
      - SMS registrations
      summary: Retrieve a carrier registration
      description: One carrier registration (`sreg_…`), read as List carrier registrations reads it. Read a resubmit, a removal or a replacement back with it. Requires the `sms:read` capability.
      responses:
        '200':
          description: The registration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsRegistration'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Registration not found, or SMS is not enabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: An unknown query key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /sms/registrations/{id}/remove:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: sms_registrations_remove
      tags:
      - SMS registrations
      summary: Remove a 10DLC setup
      description: 'Take down a 10DLC campaign registration (`us_ten_dlc_campaign`) that has no active number: the carrier registration is deleted, the campaign''s monthly fee ends (no proration) and the registration reads `archived_at` from then on. A campaign with a live number is refused (`resource_in_use`): releasing the number with Release an SMS number takes the campaign with it, so there''s nothing to remove after (while that release is in flight: `sms_release_pending` with `Retry-After`). One under carrier review waits for the review (`conflict`). Works on any plan. Takes an `Idempotency-Key`. Requires the `sms:manage` capability.'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Any unique string (1–256 characters, e.g. a UUID). Retrying with the same key and the same body within 24 hours returns the first result instead of sending again; the same key with a different body is `409 invalid_idempotent_request`, and one still in flight is `409 concurrent_idempotent_requests`.
        schema:
          type: string
          minLength: 1
          maxLength: 256
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsRegistrationRemove'
      responses:
        '200':
          description: The registration, removed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsRegistration'
        '400':
          description: The body isn't JSON.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Campaign registration not found, or SMS is not enabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The campaign has a live number (`resource_in_use`), its number is being released (`sms_release_pending`, with `Retry-After`), it is under carrier review (`conflict`), or the `Idempotency-Key` is in use.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: An unknown key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many carrier submissions; retry after the wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The carrier registry didn't answer; try again (`engine_unavailable`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /sms/registrations/{id}/replace:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: sms_registrations_replace
      tags:
      - SMS registrations
      summary: Replace a 10DLC brand registration
      description: 'Archive an APPROVED 10DLC brand registration (`us_ten_dlc_brand`) so the brand can be registered again (corrected legal details, a new owner of the EIN): the brand unlocks for Update an SMS brand, and a new registration is a quote and its confirm (product `ten_dlc_brand_registration`). Nothing changes at the carrier and nothing is charged here. Refused while any number on the brand isn''t released or any of its 10DLC setups isn''t removed (`resource_in_use`; each one in `error.details[]`, its public id first). When all that''s left is a release in flight: `sms_release_pending` with `Retry-After`. Takes an `Idempotency-Key`. Requires the `sms:manage` capability.'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Any unique string (1–256 characters, e.g. a UUID). Retrying with the same key and the same body within 24 hours returns the first result instead of sending again; the same key with a different body is `409 invalid_idempotent_request`, and one still in flight is `409 concurrent_idempotent_requests`.
        schema:
          type: string
          minLength: 1
          maxLength: 256
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsRegistrationReplace'
      responses:
        '200':
          description: The brand registration, archived.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsRegistration'
        '400':
          description: The body isn't JSON.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope, SMS isn't on this plan, or the account is under review.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Brand registration not found, or SMS is not enabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Not approved, numbers or setups still on the brand (`resource_in_use`), their release still in flight (`sms_release_pending`, with `Retry-After`), or the `Idempotency-Key` is in use.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: An unknown key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SmsNumberRequest:
      type: object
      properties:
        object:
          type: string
          const: sms_number_request
        registration_id:
          type: string
          description: The 10DLC campaign (`sreg_…`).
        number_id:
          type: string
          description: 'The number (`snum_…`): read its state on GET /sms/numbers. It leases within minutes.'
        created:
          type: boolean
          description: 'False when the campaign''s number was already live: nothing was requested.'
        retried:
          type: boolean
          description: A failed number was brought back (the same row, the same committed fee).
      required:
      - object
      - registration_id
      - number_id
      - created
      - retried
    SmsNumberRetry:
      type: object
      properties: {}
    SmsRegistration:
      type: object
      properties:
        object:
          type: string
          const: sms_registration
        id:
          type: string
        type:
          type: string
          description: '`us_ten_dlc_brand`, `us_ten_dlc_campaign`, or a toll-free verification.'
        brand_id:
          anyOf:
          - type: string
          - type: 'null'
        status:
          type: string
          description: 'The carrier review state: `draft`, `submitted`, `reviewing`, `requires_updates`, `complete`, `closed`, … A 10DLC brand registration submitted on a new SMS account reads `pending` while it is held for Unitpost''s SMS account review (charged, not sent to carriers yet; GET /usage `sms_review.access` reads `pending`); it moves to `submitted` once the account is approved.'
        requires_action:
          type: boolean
          description: The customer must act (the carrier asked for changes).
        feedback:
          anyOf:
          - type: array
            items:
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
          - type: 'null'
          description: The carrier's reasons when it asks for changes or closes it (`reason`, `description`, `field_path`, `link`).
        use_case:
          anyOf:
          - type: string
          - type: 'null'
        message_type:
          anyOf:
          - type: string
          - type: 'null'
        parent_registration_id:
          anyOf:
          - type: string
          - type: 'null'
        auto_provision_number:
          description: '10DLC campaigns: a number is leased when carriers approve.'
          anyOf:
          - type: boolean
          - type: 'null'
        sender:
          anyOf:
          - type: object
            properties:
              id:
                type: string
              status:
                type: string
              phone_number:
                anyOf:
                - type: string
                - type: 'null'
            required:
            - id
            - status
            - phone_number
          - type: 'null'
          description: '10DLC campaigns: the number it backs, once one exists.'
        setup_state:
          description: '10DLC campaigns: one customer-facing state over the campaign and its number.'
          anyOf:
          - type: string
          - type: 'null'
        number_withheld_reason:
          description: Why an approved campaign's number isn't being leased (e.g. the plan has no carrier resources).
          anyOf:
          - type: string
          - type: 'null'
        archived_at:
          anyOf:
          - type: string
          - type: 'null'
        submitted_at:
          anyOf:
          - type: string
          - type: 'null'
        completed_at:
          anyOf:
          - type: string
          - type: 'null'
        created_at:
          type: string
      required:
      - object
      - id
      - type
      - brand_id
      - status
      - requires_action
      - feedback
      - use_case
      - message_type
      - parent_registration_id
      - auto_provision_number
      - sender
      - setup_state
      - number_withheld_reason
      - archived_at
      - submitted_at
      - completed_at
      - created_at
    SmsRegistrationRemove:
      type: object
      properties: {}
    SmsRegistrationReplace:
      type: object
      properties: {}
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable machine-readable error code (branch on this, not the message).
            message:
              type: string
              description: 'Human-readable summary. For validation errors it''s path-prefixed (e.g. "template.variables.first_name: …").'
            details:
              type: array
              description: 'Present on errors that carry per-field reasons: validation errors (422), a blocked campaign send (409), a plan that doesn''t include a feature (403 `limit_reached` with one entry whose `code` is `feature_not_in_plan` and whose `field` names the feature, e.g. `smsChannel`), and a send cap (429 `quota_exceeded` with one entry, `field` empty, whose `code` says which cap: `daily_quota_exceeded` or `monthly_quota_exceeded` (the free plan''s daily or monthly cap), `plan_required` (the workspace needs a paid plan to send this), `allowance_used` (a paid plan''s allowance is spent and it has no pay-as-you-go), `shared_plan_cap` (the organization''s shared plan, or this workspace''s cap on it, is used up) or `risk_throttled` (the account review''s daily cap, which an upgrade doesn''t lift)). One entry per offending field/blocker.'
              items:
                type: object
                properties:
                  field:
                    type: string
                    description: Dotted path to the field, e.g. "template.variables.first_name" (empty for a whole-body problem).
                  code:
                    type: string
                    description: Machine-readable reason for this entry, when there is one (e.g. `template_not_published` on `template_id` for a blocked SMS campaign send, or `feature_not_in_plan` on `smsChannel` when the plan has no SMS). Absent on plain validation errors.
                  message:
                    type: string
                required:
                - field
                - message
            doc_url:
              type: string
              format: uri
              description: 'A page that explains this error and what to do, when there is one: an absolute link on the API''s own host. Every 429 has one (a section of the rate-limits guide: the request limit, an operation''s limit, the plan''s send caps or the account review cap), as do `sending_paused`, the SMS access review''s `sms_review_pending` and `account_under_review`, and errors about domains, API keys, idempotency keys, plan limits, billing, SMS consent and suppression. A `details[].code` with a page of its own picks it. Additive; absent otherwise.'
          required:
          - code
          - message
      required:
      - error
    SmsRegistrationResubmission:
      type: object
      properties:
        object:
          type: string
          const: sms_registration_resubmission
        registration_id:
          type: string
        status:
          description: The registration's state after the resubmission (`submitted`, `reviewing`, …); follow it on GET /sms/registrations.
          anyOf:
          - type: string
          - type: 'null'
        resubmitted:
          type: boolean
          const: true
      required:
      - object
      - registration_id
      - status
      - resubmitted
    SmsCampaignResubmit:
      type: object
      properties:
        messaging_program_id:
          type: string
          minLength: 1
          description: 'The messaging program (`prog_…`) holding the corrected use case: fix what carriers flagged there first (PATCH /sms/messaging-programs/{id}), then resubmit from it. Its fee tier must match the campaign''s (a low-volume campaign stays low-volume).'
        opt_in_screenshot_file_id:
          type: string
          minLength: 1
          maxLength: 64
          description: A new opt-in screenshot (POST /files, purpose `sms_opt_in_evidence`). Without one, the screenshot carriers already have is sent again.
        acknowledge_unchanged:
          description: Resubmit although nothing changed since carriers sent it back, because the cause was fixed outside Unitpost (the privacy page now loads). Without it an identical resubmission is refused (`registration_unchanged`).
          type: boolean
          const: true
      required:
      - messaging_program_id
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Your workspace API key.