> ## 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.

# Ask the carriers for a registration’s latest status

> Ask the carriers for a registration’s latest status now, instead of waiting for the next automatic update.

The status also updates on its own while the carriers review a registration.


## OpenAPI

````yaml post /sms/registrations/{id}/refresh
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/registrations/{id}/refresh:
    post:
      summary: Ask the carriers for a registration’s latest status
      description: The status also updates on its own; this asks now.
      operationId: refreshSmsRegistration
      parameters:
        - schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          in: path
          name: id
          required: true
          description: The registration’s id
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsSenderRegistrationDto'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    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
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
    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.