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

# Create an external application inbox

> Creates a new external inbox with a Twilio application and stores the Application SID as the external ID.



## OpenAPI

````yaml /swagger.yml post /public/twilio-connector/inbox/application
openapi: 3.0.0
info:
  title: Public API Docs
  description: Clerk Public API
  version: '1.0'
  contact: {}
servers:
  - url: https://web-api.clerk.chat
    description: Production server
  - url: http://localhost:3000
    description: Production server
security: []
tags: []
paths:
  /public/twilio-connector/inbox/application:
    post:
      tags:
        - Twilio
      summary: Create an external application inbox
      description: >-
        Creates a new external inbox with a Twilio application and stores the
        Application SID as the external ID.
      operationId: PublicTwilioConnectorController_createApplicationInbox
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateExternalApplicationInboxRequest'
      responses:
        '201':
          description: The created external inbox
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalInboxResponse'
        '400':
          description: Invalid request body
        '401':
          description: Unauthorized request
        '403':
          description: You do not have permission to access this resource
        '404':
          description: Resource not found
        '422':
          description: Invalid request parameters
        '429':
          description: Too many requests for this resource
        '500':
          description: Internal server error
      security:
        - api_key: []
components:
  schemas:
    CreateExternalApplicationInboxRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          description: Friendly name for the inbox and Twilio application
          example: My Voice Application
        accountSID:
          type: string
          description: >-
            Twilio Account SID. Must be provided together with authToken. If
            neither is provided, the global Twilio account will be used.
          example: ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        authToken:
          type: string
          description: >-
            Twilio Auth Token. Must be provided together with accountSID. If
            neither is provided, the global Twilio auth token will be used.
          example: your_auth_token
    ExternalInboxResponse:
      type: object
      required:
        - data
      properties:
        data:
          $ref: '#/components/schemas/ExternalInboxObject'
    ExternalInboxObject:
      type: object
      description: Represents an external inbox resource
      required:
        - id
        - externalId
      properties:
        id:
          type: string
          format: uuid
          description: The unique ID of the inbox
          example: 00000000-0000-0000-0000-000000000000
        externalId:
          type: string
          description: >-
            The external ID of the inbox (Twilio Application SID or generated
            ID)
          example: APxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        name:
          type: string
          description: The name of the inbox
          example: My Voice Application
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: apiKey

````