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

# Provision Twilio Trunk

> Create a Twilio Elastic SIP Trunk. Numbers are picked separately.

Credentials are checked against Twilio BEFORE the row is written, so a typo
is a 400 with Twilio's own message rather than a saved-but-broken
integration. After that the flow is the SIP one: provision (which builds the
Twilio objects, then Asterisk + LiveKit) and report the ids. The caller then
lists the account's numbers and posts the ones to manage.



## OpenAPI

````yaml /openapi.json post /api/telephony/twilio
openapi: 3.1.0
info:
  description: >-
    Build and run voice assistants: configure an assistant, give it tools,
    knowledge and playbooks, place and read calls, and manage contacts,
    campaigns and analytics.


    Authenticate every request with an API key as a bearer token. See the API
    introduction for the response envelope, pagination and error shapes.
  title: Qall API
  version: 0.1.0
servers:
  - description: Production
    url: https://qall.io
security: []
paths:
  /api/telephony/twilio:
    post:
      tags:
        - telephony
      summary: Provision Twilio Trunk
      description: >-
        Create a Twilio Elastic SIP Trunk. Numbers are picked separately.


        Credentials are checked against Twilio BEFORE the row is written, so a
        typo

        is a 400 with Twilio's own message rather than a saved-but-broken

        integration. After that the flow is the SIP one: provision (which builds
        the

        Twilio objects, then Asterisk + LiveKit) and report the ids. The caller
        then

        lists the account's numbers and posts the ones to manage.
      operationId: provision_twilio_trunk_api_telephony_twilio_post
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````

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