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

# Check a website’s privacy policy, terms and opt-in page for SMS registration

> Find and check a website’s privacy policy, terms and opt-in page for SMS registration.

Loads `form.websiteUrl`, finds the privacy policy, terms and opt-in page among its links, and runs the free check’s rules on them. Pages already given in `form` are checked as they are. Each page comes back with `source`: `given`, `found` or `missing`. Nothing is saved.


## OpenAPI

````yaml post /sms/site-check
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/site-check:
    post:
      summary: >-
        Check a website’s privacy policy, terms and opt-in page for SMS
        registration
      description: >-
        Loads the website, finds its privacy policy, terms and opt-in page among
        its links (pages already given in `form` are used as they are), and runs
        the free check’s rules about them: whether each loads, names the
        business, and has the sentences carriers look for. Saves nothing.
      operationId: checkSmsWebsite
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsSiteCheckDto'
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsSiteCheckResultDto'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    SmsSiteCheckDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/SmsSiteCheckDtoInput'
      type: object
      properties:
        kind:
          default: us_toll_free
          description: Which registration the pages are checked for
          type: string
          enum:
            - us_10dlc
            - us_toll_free
        form:
          $ref: '#/components/schemas/SmsSenderRegistrationFormDto'
      required:
        - form
    SmsSiteCheckResultDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/SmsSiteCheckResultDto'
      type: object
      properties:
        website:
          type: object
          properties:
            url:
              type: string
            loaded:
              type: boolean
            title:
              type:
                - string
                - 'null'
          required:
            - url
            - loaded
            - title
          additionalProperties: false
        privacyPolicy:
          type: object
          properties:
            url:
              type:
                - string
                - 'null'
            source:
              type: string
              enum:
                - given
                - found
                - missing
              description: >-
                `given`: from the answers; `found`: linked from the website;
                `missing`: neither
          required:
            - url
            - source
          additionalProperties: false
        terms:
          type: object
          properties:
            url:
              type:
                - string
                - 'null'
            source:
              type: string
              enum:
                - given
                - found
                - missing
              description: >-
                `given`: from the answers; `found`: linked from the website;
                `missing`: neither
          required:
            - url
            - source
          additionalProperties: false
        optIn:
          type: object
          properties:
            url:
              type:
                - string
                - 'null'
            source:
              type: string
              enum:
                - given
                - found
                - missing
              description: >-
                `given`: from the answers; `found`: linked from the website;
                `missing`: neither
          required:
            - url
            - source
          additionalProperties: false
        ready:
          type: boolean
          description: No blocker about the site or its pages is open
        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
          description: >-
            The free check’s rules about the website, privacy policy, terms and
            opt-in pages
      required:
        - website
        - privacyPolicy
        - terms
        - optIn
        - ready
        - checks
      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
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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