> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open.cx/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the organization’s SMS numbers, registrations and delivery problems

> Read the organization’s SMS numbers, their US registrations and the texts carriers turned away.

Each number says whether it receives and sends texts and how it gets approved to send in `registrationPath`: `us_toll_free`, `us_10dlc` (a local US number), `staff_form` (outside the US; our team registers it) or `none` (it cannot text). `deliveryProblems` groups the last 7 days of undelivered texts by error code, with what each code means and how to fix it.


## OpenAPI

````yaml get /sms/overview
openapi: 3.1.0
info:
  title: OpenCX API
  description: >

    OpenCX is an AI-powered, all-in-one platform for customer support and
    outbound communications.


    Use this API to manage your OpenCX organization's AI agents, actions,
    conversations, contacts, and more.


    To get started, generate a new API key from the dashboard.


    ## Authentication

    All API endpoints require authentication using a Bearer token. You can
    generate an API key from your OpenCX dashboard.


    ## Rate Limiting

    API requests are rate limited to ensure fair usage. The current limits are:

    - 100 requests per minute for standard endpoints

    - 1000 requests per minute for streaming endpoints


    ## Error Handling

    The API uses standard HTTP status codes and returns detailed error messages
    in the response body.
  version: 1.0-beta
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: http://localhost:8080
    description: Development
  - url: https://api.open.cx
    description: Production
security:
  - bearerAuth: []
paths:
  /sms/overview:
    get:
      summary: Get the organization’s SMS numbers, registrations and delivery problems
      description: >-
        Everything the SMS page shows: each number with whether it can receive
        and send texts and how it gets approved to send (`registrationPath`),
        every US registration with its status, review steps and the carriers’
        reasons when they asked for a fix, and the texts carriers turned away in
        the last 7 days, grouped by error code with what each means and how to
        fix it.
      operationId: getSmsOverview
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsOnboardingDto'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    SmsOnboardingDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/SmsOnboardingDto'
      type: object
      properties:
        externallyManaged:
          type: boolean
        channel:
          type: object
          properties:
            fromNumber:
              type:
                - string
                - 'null'
            enabled:
              type: boolean
          required:
            - fromNumber
            - enabled
          additionalProperties: false
        numbers:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              phoneNumber:
                type: string
              countryCode:
                type: string
              numberType:
                type: string
                enum:
                  - local
                  - toll_free
                  - mobile
                  - national
              smsCapable:
                type: boolean
              canReceive:
                type: boolean
                description: Incoming texts reach the SMS channel
              sendStatus:
                type: string
                enum:
                  - ready
                  - needs_registration
                  - in_review
                  - action_required
                  - blocked
                  - not_applicable
              registrationId:
                type:
                  - string
                  - 'null'
              registrationPath:
                type: string
                enum:
                  - us_10dlc
                  - us_toll_free
                  - staff_form
                  - none
            required:
              - id
              - phoneNumber
              - countryCode
              - numberType
              - smsCapable
              - canReceive
              - sendStatus
              - registrationId
              - registrationPath
            additionalProperties: false
        registrations:
          type: array
          items:
            $ref: '#/components/schemas/SmsSenderRegistrationDto'
        deliveryProblems:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              count:
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
              lastAt:
                type: string
              meaning:
                type: string
              fix:
                type: string
            required:
              - code
              - count
              - lastAt
              - meaning
              - fix
            additionalProperties: false
          description: Undelivered texts in the last 7 days, grouped by carrier code
      required:
        - externallyManaged
        - channel
        - numbers
        - registrations
        - deliveryProblems
      additionalProperties: false
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
    SmsSenderRegistrationDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/SmsSenderRegistrationDto'
      type: object
      properties:
        id:
          type: string
        kind:
          type: string
          enum:
            - us_10dlc
            - us_toll_free
        phoneNumberId:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - draft
            - submitting
            - in_review
            - action_required
            - approved
            - rejected_final
            - failed
        stage:
          type: string
          enum:
            - details
            - profile
            - brand
            - campaign
            - number
            - verification
            - done
        form:
          $ref: '#/components/schemas/SmsSenderRegistrationFormDto'
        precheck:
          anyOf:
            - $ref: '#/components/schemas/SmsPrecheckResultDto'
            - type: 'null'
        precheckIsStale:
          type: boolean
        steps:
          type: array
          items:
            type: object
            properties:
              key:
                type: string
                enum:
                  - details
                  - check
                  - identity
                  - use_case
                  - number
              status:
                type: string
                enum:
                  - done
                  - current
                  - waiting
                  - problem
              detail:
                type:
                  - string
                  - 'null'
            required:
              - key
              - status
              - detail
            additionalProperties: false
        rejection:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              field:
                type:
                  - string
                  - 'null'
              reason:
                type: string
              fix:
                type:
                  - string
                  - 'null'
            required:
              - code
              - field
              - reason
              - fix
            additionalProperties: false
        editAllowed:
          type:
            - boolean
            - 'null'
        editExpiresAt:
          type:
            - string
            - 'null'
        submittedAt:
          type:
            - string
            - 'null'
        lastSyncedAt:
          type:
            - string
            - 'null'
        expectedReview:
          type: string
      required:
        - id
        - kind
        - phoneNumberId
        - status
        - stage
        - form
        - precheck
        - precheckIsStale
        - steps
        - rejection
        - editAllowed
        - editExpiresAt
        - submittedAt
        - lastSyncedAt
        - expectedReview
      additionalProperties: false
    SmsSenderRegistrationFormDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/SmsSenderRegistrationFormDto'
      type: object
      properties:
        brandType:
          type: string
          enum:
            - low_volume_standard
            - standard
          description: US local only. Cannot change once the brand is submitted.
        legalName:
          type: string
          maxLength: 255
        tradeName:
          type: string
          maxLength: 255
        taxId:
          type: string
          maxLength: 32
          description: US tax ID (EIN). Dashes and spaces are stripped on save.
        businessType:
          type: string
          enum:
            - sole_proprietor
            - partnership
            - llc
            - corporation
            - cooperative
            - non_profit
            - government
        industry:
          type: string
          enum:
            - agriculture
            - communication
            - construction
            - education
            - energy
            - entertainment
            - financial
            - gambling
            - government
            - healthcare
            - hospitality
            - human_resources
            - insurance
            - legal
            - manufacturing
            - non_profit
            - postal
            - professional_services
            - real_estate
            - retail
            - technology
            - transportation
        stockExchange:
          type: string
          maxLength: 64
        stockTicker:
          type: string
          maxLength: 16
        addressStreet:
          type: string
          maxLength: 255
        addressStreet2:
          type: string
          maxLength: 255
        addressCity:
          type: string
          maxLength: 255
        addressState:
          type: string
          maxLength: 64
        addressPostalCode:
          type: string
          maxLength: 32
        websiteUrl:
          type: string
          maxLength: 2048
        contactFirstName:
          type: string
          maxLength: 255
        contactLastName:
          type: string
          maxLength: 255
        contactEmail:
          type: string
          maxLength: 255
        contactPhone:
          type: string
          maxLength: 32
        contactTitle:
          type: string
          maxLength: 255
        contactJobPosition:
          type: string
          enum:
            - director
            - gm
            - vp
            - ceo
            - cfo
            - general_counsel
            - other
        useCase:
          type: string
          enum:
            - customer_care
            - account_notification
            - two_factor_authentication
            - delivery_notification
            - fraud_alert
            - security_alert
            - marketing
            - mixed
            - low_volume_mixed
            - higher_education
            - polling_voting
            - public_service_announcement
            - charity
        description:
          type: string
          maxLength: 10000
        samples:
          maxItems: 10
          type: array
          items:
            type: string
            maxLength: 10000
        hasLinks:
          type: boolean
        hasPhoneNumbers:
          type: boolean
        dailyVolume:
          type: integer
          minimum: 0
          maximum: 100000000
          description: Expected texts per day
        optInType:
          type: string
          enum:
            - web_form
            - paper_form
            - verbal
            - via_text
            - mobile_qr_code
            - import
        optInDescription:
          type: string
          maxLength: 10000
        optInProofUrls:
          maxItems: 5
          type: array
          items:
            type: string
            maxLength: 2048
          description: Public URLs of the opt-in page or screenshots
        privacyPolicyUrl:
          type: string
          maxLength: 2048
        termsUrl:
          type: string
          maxLength: 2048
      additionalProperties: false
    SmsPrecheckResultDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/SmsPrecheckResultDto'
      type: object
      properties:
        ready:
          type: boolean
          description: No blocker is open
        checkedAt:
          type: string
        formHash:
          type: string
          description: Hash of the answers this check ran on
        checks:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              severity:
                type: string
                enum:
                  - blocker
                  - warning
              field:
                description: Form field to fix, for scrolling to it
                type:
                  - string
                  - 'null'
              passed:
                type: boolean
              message:
                type: string
              fix:
                type:
                  - string
                  - 'null'
            required:
              - id
              - severity
              - field
              - passed
              - message
              - fix
            additionalProperties: false
      required:
        - ready
        - checkedAt
        - formHash
        - checks
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.