SignalWire CXML Scripts API

Manage cXML scripts for storing XML instructions.

Operations 11

GET /Accounts/{AccountSid}/LamlBins List All cXML Scripts #
POST /Accounts/{AccountSid}/LamlBins Create a cXML Script #
GET /Accounts/{AccountSid}/LamlBins/{Sid} Retrieve a cXML Script #
POST /Accounts/{AccountSid}/LamlBins/{Sid} Update a cXML Script #
DELETE /Accounts/{AccountSid}/LamlBins/{Sid} Delete a cXML Script #
GET /api/fabric/resources/cxml_scripts List cXML Scripts #
POST /api/fabric/resources/cxml_scripts Create cXML Script #
GET /api/fabric/resources/cxml_scripts/{id} Get cXML Script #
PUT /api/fabric/resources/cxml_scripts/{id} Update cXML Script #
DELETE /api/fabric/resources/cxml_scripts/{id} Delete cXML Script #
GET /api/fabric/resources/cxml_scripts/{id}/addresses List cXML Script Addresses #

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/signalwire-cxml-scripts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

signalwire-cxml-scripts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Signalwire CXML Scripts API
  version: 1.0.0
  description: 'Operations tagged CXML Scripts across 2 of this provider''s published API definitions: signalwire-compatibility-openapi.yaml, signalwire-rest-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{space_name}.signalwire.com/api/laml/2010-04-01
  description: SignalWire Compatibility API
  variables:
    space_name:
      default: YOUR_SPACE
      description: Your SignalWire Space name
- url: https://{space_name}.signalwire.com
  description: SignalWire API
  variables:
    space_name:
      default: '{Your_Space_Name}'
      description: Your SignalWire Space name
security:
- SignalWireBasicAuth: []
tags:
- name: CXML Scripts
  description: Manage cXML scripts for storing XML instructions.
  externalDocs:
    url: https://signalwire.com/docs/compatibility-api/rest
    description: Developer documentation on the Compatibility REST API
paths:
  /Accounts/{AccountSid}/LamlBins:
    get:
      operationId: list_cxml_scripts
      summary: List All cXML Scripts
      description: 'Returns a list of your cXML scripts. The scripts are returned sorted by creation date, with the most recent appearing first.


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_ or _Messaging_ or _Fax_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CxmlScriptsAccountSidPath'
      - name: Name
        in: query
        required: false
        description: A friendly name given to the cXML script.
        schema:
          type: string
        explode: false
      - name: Page
        in: query
        required: false
        description: The page number to retrieve. Default is 0.
        schema:
          type: integer
          format: int32
          default: 0
        explode: false
      - name: PageSize
        in: query
        required: false
        description: The number of items per page. Default is 50, maximum is 1000.
        schema:
          type: integer
          format: int32
          minimum: 1
          maximum: 1000
          default: 50
        explode: false
      - name: PageToken
        in: query
        required: false
        description: The token for cursor-based pagination. Must start with 'PA' or 'PB'.
        schema:
          type: string
        explode: false
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CxmlScriptListResponse'
        '400':
          description: The request was invalid or cannot be processed. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '401':
          description: Authentication failed. Please verify your credentials and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '422':
          description: The request could not be processed due to validation errors. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
      tags:
      - CXML Scripts
    post:
      operationId: create_cxml_script
      summary: Create a cXML Script
      description: 'Create a cXML script.


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_ or _Messaging_ or _Fax_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CxmlScriptsAccountSidPath'
      responses:
        '201':
          description: Response returned when a cXML script is created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CxmlScript'
        '400':
          description: The request was invalid or cannot be processed. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '401':
          description: Authentication failed. Please verify your credentials and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '422':
          description: The request could not be processed due to validation errors. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
      tags:
      - CXML Scripts
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateCxmlScriptRequest'
    servers:
    - url: https://{space_name}.signalwire.com/api/laml/2010-04-01
      description: SignalWire Compatibility API
      variables:
        space_name:
          default: YOUR_SPACE
          description: Your SignalWire Space name
  /Accounts/{AccountSid}/LamlBins/{Sid}:
    get:
      operationId: retrieve_cxml_script
      summary: Retrieve a cXML Script
      description: 'Retrieve a cXML script.


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_ or _Messaging_ or _Fax_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CxmlScriptsAccountSidPath'
      - $ref: '#/components/parameters/CxmlScriptSidPath'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CxmlScriptResponse'
        '400':
          description: The request was invalid or cannot be processed. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '401':
          description: Authentication failed. Please verify your credentials and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '404':
          description: The requested resource was not found. Please verify the resource identifier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
      tags:
      - CXML Scripts
    post:
      operationId: update_cxml_script
      summary: Update a cXML Script
      description: 'Update a cXML script.


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_ or _Messaging_ or _Fax_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CxmlScriptsAccountSidPath'
      - $ref: '#/components/parameters/CxmlScriptSidPath'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CxmlScriptResponse'
        '400':
          description: The request was invalid or cannot be processed. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '401':
          description: Authentication failed. Please verify your credentials and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '404':
          description: The requested resource was not found. Please verify the resource identifier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '422':
          description: The request could not be processed due to validation errors. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
      tags:
      - CXML Scripts
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateCxmlScriptRequest'
    delete:
      operationId: delete_cxml_script
      summary: Delete a cXML Script
      description: 'Delete a cXML script.


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_ or _Messaging_ or _Fax_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CxmlScriptsAccountSidPath'
      - $ref: '#/components/parameters/CxmlScriptSidPath'
      responses:
        '204':
          description: 204 No Content response.
        '400':
          description: The request was invalid or cannot be processed. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '401':
          description: Authentication failed. Please verify your credentials and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '404':
          description: The requested resource was not found. Please verify the resource identifier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
        '422':
          description: The request could not be processed due to validation errors. Check the error details for more information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompatibilityErrorResponse'
      tags:
      - CXML Scripts
    servers:
    - url: https://{space_name}.signalwire.com/api/laml/2010-04-01
      description: SignalWire Compatibility API
      variables:
        space_name:
          default: YOUR_SPACE
          description: Your SignalWire Space name
  /api/fabric/resources/cxml_scripts:
    get:
      operationId: list_cxml_scripts
      summary: List cXML Scripts
      description: 'A list of cXML Scripts


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or _Video_.


        Learn more about API scopes.'
      parameters: []
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CXMLScriptListResponse'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode401'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode404'
        '500':
          description: An internal server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode500'
      tags:
      - CXML Scripts
    post:
      operationId: create_cxml_script
      summary: Create cXML Script
      description: 'Creates a cXML Script


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or _Video_.


        Learn more about API scopes.'
      parameters: []
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CXMLScriptResponse'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode401'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode404'
        '422':
          description: The request contains invalid parameters. See errors for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CXMLScriptCreateStatusCode422'
        '500':
          description: An internal server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode500'
      tags:
      - CXML Scripts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CXMLScriptCreateRequest'
    servers:
    - url: https://{space_name}.signalwire.com
      description: SignalWire API
      variables:
        space_name:
          default: '{Your_Space_Name}'
          description: Your SignalWire Space name
  /api/fabric/resources/cxml_scripts/{id}:
    get:
      operationId: get_cxml_script
      summary: Get cXML Script
      description: 'Returns a cXML Script by ID


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or _Video_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CXMLScriptPathID'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CXMLScriptResponse'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode401'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode404'
        '500':
          description: An internal server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode500'
      tags:
      - CXML Scripts
    put:
      operationId: update_cxml_script
      summary: Update cXML Script
      description: 'Updates a cXML Script by ID


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or _Video_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CXMLScriptPathID'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CXMLScriptResponse'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode401'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode404'
        '422':
          description: The request contains invalid parameters. See errors for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CXMLScriptUpdateStatusCode422'
        '500':
          description: An internal server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode500'
      tags:
      - CXML Scripts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CXMLScriptUpdateRequest'
    delete:
      operationId: delete_cxml_script
      summary: Delete cXML Script
      description: 'Deletes a cXML Script by ID


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or _Video_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CXMLScriptPathID'
      responses:
        '204':
          description: 'There is no content to send for this request, but the headers may be useful. '
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode401'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode404'
        '500':
          description: An internal server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode500'
      tags:
      - CXML Scripts
    servers:
    - url: https://{space_name}.signalwire.com
      description: SignalWire API
      variables:
        space_name:
          default: '{Your_Space_Name}'
          description: Your SignalWire Space name
  /api/fabric/resources/cxml_scripts/{id}/addresses:
    get:
      operationId: list_cxml_script_addresses
      summary: List cXML Script Addresses
      description: 'This endpoint returns a list of addresses associated with a specific cXML Script.


        #### Permissions


        The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or _Video_.


        Learn more about API scopes.'
      parameters:
      - $ref: '#/components/parameters/CXMLScriptAddressPathID'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CXMLScriptAddressListResponse'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode401'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode404'
        '500':
          description: An internal server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode500'
      tags:
      - CXML Scripts
    servers:
    - url: https://{space_name}.signalwire.com
      description: SignalWire API
      variables:
        space_name:
          default: '{Your_Space_Name}'
          description: Your SignalWire Space name
components:
  schemas:
    CreateCxmlScriptRequest:
      type: object
      required:
      - Name
      properties:
        Name:
          type: string
          minLength: 1
          description: A friendly name given to the cXML script. Required.
          examples:
          - Death Star IVR
        Contents:
          type: string
          description: The cXML contents of the script. Must be valid XML with proper Mustache syntax if templates are used. Defaults to an empty Response element.
          examples:
          - <Response><Say>Hello!</Say></Response>
      unevaluatedProperties:
        not: {}
      description: Request body for creating a cXML script.
    CxmlScriptResponse:
      type: object
      required:
      - sid
      - date_created
      - date_updated
      - date_last_accessed
      - account_sid
      - name
      - contents
      - request_url
      - num_requests
      - api_version
      - uri
      properties:
        sid:
          allOf:
          - $ref: '#/components/schemas/uuid'
          description: The unique identifier of the cXML script on SignalWire.
          examples:
          - 5184b831-184f-4209-872d-ccdccc80f2f1
        date_created:
          type: string
          description: The date and time, in ISO 8601 format, the script was created.
          examples:
          - '2019-11-26T20:00:00Z'
        date_updated:
          type: string
          description: The date and time, in ISO 8601 format, the script was updated.
          examples:
          - '2019-11-26T20:00:00Z'
        date_last_accessed:
          anyOf:
          - type: string
          - type: 'null'
          description: The date and time, in ISO 8601 format, the script was last accessed, or null if never accessed.
          examples:
          - '2020-06-05T20:00:00Z'
        account_sid:
          allOf:
          - $ref: '#/components/schemas/uuid'
          description: The unique identifier for the account this script is associated with.
          examples:
          - b3877c40-da60-4998-90ad-b792e98472af
        name:
          type: string
          description: A friendly name given to the cXML script.
          examples:
          - Death Star IVR
        contents:
          type: string
          description: The contents of the cXML script.
          examples:
          - <Response><Say>Hello!</Say></Response>
        request_url:
          type: string
          format: uri
          description: The unique URL to the raw contents of the cXML script.
          examples:
          - https://example.signalwire.com/laml-bins/5184b831-184f-4209-872d-ccdccc80f2f1
        num_requests:
          type: integer
          format: int32
          description: The number of times this cXML script has been accessed.
          examples:
          - 42
        api_version:
          type: string
          description: The version of the SignalWire API.
          examples:
          - '2010-04-01'
        uri:
          type: string
          description: The URL of this resource.
          examples:
          - /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1
      unevaluatedProperties:
        not: {}
      description: Response containing a single cXML script.
    UpdateCxmlScriptRequest:
      type: object
      required:
      - Name
      properties:
        Name:
          type: string
          minLength: 1
          description: A friendly name given to the cXML script. Required.
          examples:
          - Death Star IVR
        Contents:
          type: string
          description: The cXML contents of the script. Must be valid XML with proper Mustache syntax if templates are used.
          examples:
          - <Response><Say>Hello!</Say></Response>
      unevaluatedProperties:
        not: {}
      description: Request body for updating a cXML script.
    CxmlScript:
      type: object
      required:
      - sid
      - date_created
      - date_updated
      - date_last_accessed
      - account_sid
      - name
      - contents
      - request_url
      - num_requests
      - api_version
      - uri
      properties:
        sid:
          allOf:
          - $ref: '#/components/schemas/uuid'
          description: The unique identifier of the cXML script on SignalWire.
          examples:
          - 5184b831-184f-4209-872d-ccdccc80f2f1
        date_created:
          type: string
          description: The date and time, in ISO 8601 format, the script was created.
          examples:
          - '2019-11-26T20:00:00Z'
        date_updated:
          type: string
          description: The date and time, in ISO 8601 format, the script was updated.
          examples:
          - '2019-11-26T20:00:00Z'
        date_last_accessed:
          anyOf:
          - type: string
          - type: 'null'
          description: The date and time, in ISO 8601 format, the script was last accessed, or null if never accessed.
          examples:
          - '2020-06-05T20:00:00Z'
        account_sid:
          allOf:
          - $ref: '#/components/schemas/uuid'
          description: The unique identifier for the account this script is associated with.
          examples:
          - b3877c40-da60-4998-90ad-b792e98472af
        name:
          type: string
          description: A friendly name given to the cXML script.
          examples:
          - Death Star IVR
        contents:
          type: string
          description: The contents of the cXML script.
          examples:
          - <Response><Say>Hello!</Say></Response>
        request_url:
          type: string
          format: uri
          description: The unique URL to the raw contents of the cXML script.
          examples:
          - https://example.signalwire.com/laml-bins/5184b831-184f-4209-872d-ccdccc80f2f1
        num_requests:
          type: integer
          format: int32
          description: The number of times this cXML script has been accessed.
          examples:
          - 42
        api_version:
          type: string
          description: The version of the SignalWire API.
          examples:
          - '2010-04-01'
        uri:
          type: string
          description: The URL of this resource.
          examples:
          - /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1
      unevaluatedProperties:
        not: {}
      description: cXML Script model.
    CompatibilityErrorResponse:
      type: object
      required:
      - code
      - message
      - more_info
      - status
      properties:
        code:
          type: integer
          format: int32
          description: Error code.
          examples:
          - 20003
        message:
          type: string
          description: Error message.
          examples:
          - Authentication failed
        more_info:
          type: string
          description: URL for more information about the error.
          examples:
          - https://signalwire.com/docs/compatibility-api/reference/errors
        status:
          type: integer
          format: int32
          description: HTTP status code.
          examples:
          - 401
      unevaluatedProperties:
        not: {}
      description: Error response model.
    uuid:
      type: string
      format: uuid
      description: Universal Unique Identifier.
    CxmlScriptListResponse:
      type: object
      required:
      - uri
      - first_page_uri
      - next_page_uri
      - previous_page_uri
      - page
      - page_size
      - laml_bins
      properties:
        uri:
          type: string
          description: The URI of the current page.
          examples:
          - /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=0&PageSize=50
        first_page_uri:
          type: string
          description: The URI of the first page.
          examples:
          - /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=0&PageSize=50
        next_page_uri:
          anyOf:
          - type: string
          - type: 'null'
          description: The URI of the next page, or null if there are no more pages.
          examples:
          - /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=1&PageSize=50&PageToken=PAb3877c40da604998
        previous_page_uri:
          anyOf:
          - type: string
          - type: 'null'
          description: The URI of the previous page, or null if this is the first page.
          examples:
          - null
        page:
          type: integer
          format: int32
          description: The current page number.
          examples:
          - 0
        page_size:
          type: integer
          format: int32
          description: The number of items per page.
          examples:
          - 50
        laml_bins:
          type: array
          items:
            $ref: '#/components/schemas/CxmlScript'
          description: List of cXML scripts.
      unevaluatedProperties:
        not: {}
      description: Response containing a list of cXML scripts.
    CXMLScriptResponse:
      type: object
      required:
      - id
      - project_id
      - name
      - type
      - created_at
      - updated_at
      - cxml_script
      properties:
        id:
          allOf:
          - $ref: '#/components/schemas/uuid'
          description: Unique ID of the cXML Script.
          examples:
          - 993ed018-9e79-4e50-b97b-984bd5534095
        project_id:
          allOf:
          - $ref: '#/components/schemas/uuid'
          description: Unique ID of the Project.
          examples:
          - 1313fe58-5e14-4c11-bbe7-6fdfa11fe780
        name:
          type: string
          description: Display name of the cXML Script Fabric Resource
          examples:
          - Reception Script
        type:
          type: string
          enum:
          - cxml_script
          description: Type of the Fabric Resource
          examples:
          - cxml_script
        created_at:
          type: string
          format: date-time
          description: Date and time when the resource was created.
          examples:
          - '2024-05-06T12:20:00Z'
        updated_at:
          type: string
          format: date-time
          description: Date and time when the resource was updated.
          examples:
          - '2024-05-06T12:20:00Z'
        cxml_script:
          allOf:
          - $ref: '#/components/schemas/CXMLScript'
          description: cXML Script data.
      unevaluatedProperties:
        not: {}
    CXMLScript:
      type: object
      required:
      - id
      - contents
      - request_count
      - last_accessed_at
      - request_url
      - script_type
      - display_name
      properties:
        id:
          allOf:
          - $ref: '#/components/schemas/uuid'
          description: Unique ID of a cXML Script.
          examples:
          - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        contents:
          type: string
          description: The cXML script contents
          examples:
          - <?xml version="1.0" encoding="UTF-8"?><Response><Say>Hello World</Say></Response>
        request_count:
          type: integer
          format: int32
          description: The amout of times the cXML script has been requested
          examples:
          - 5
        last_accessed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: The date and time when the cXML script was last accessed
          examples:
          - '2023-10-01T12:00:00Z'
        request_url:
          type: string
          format: uri
          description: The URL where the cXML script can be accessed
          examples:
          - https://example.signalwire.com/laml-bins/2537c89e-2606-48c2-b3c2-bb601d863d1e
        script_type:
          type: string
          enum:
          - calling
          - messaging
          description: The script type the cXML Script is used for
          examples:
          - calli

# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/signalwire/refs/heads/main/openapi/signalwire-cxml-scripts-api-openapi.yml