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

# Create Web Call In Thread

> Create a new web voice call for a thread. Queues the call for setup; once ready, the access token will be delivered to the client via WebSocket.



## OpenAPI

````yaml /api-reference/openapi.json post /voice/{thread_id}/web-call
openapi: 3.1.0
info:
  title: Puppeteer Core API
  description: >-
    Core API for the Puppeteer AI platform. Manages domain models,
    conversations, voice calls, simulations, and integrations.


    [Documentation](https://docs.puppeteerai.com)
  version: 1.0.0
servers:
  - url: https://api.puppeteerai.com
    description: Production
security: []
tags:
  - name: Auth
    description: JWT token generation and organization creation.
  - name: Messages
    description: >-
      Send and receive messages, retrieve conversation history, search, and
      create messages in threads.
  - name: Threads
    description: Create and manage threads, aliases, scheduled events, and bulk operations.
  - name: Voice
    description: Voice call handling, scheduling, batch calls, and WebSocket LLM.
paths:
  /voice/{thread_id}/web-call:
    post:
      tags:
        - Voice
      summary: Create Web Call In Thread
      description: >-
        Create a new web voice call for a thread. Queues the call for setup;
        once ready, the access token will be delivered to the client via
        WebSocket.
      operationId: create_web_call_in_thread_voice__thread_id__web_call_post
      parameters:
        - name: thread_id
          in: path
          required: true
          schema:
            type: string
            title: Thread Id
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VoiceTokenInput'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateWebCallResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VoiceTokenInput:
      properties:
        project_id:
          type: string
          title: Project Id
          description: The UUID of the Puppeteer project.
        retell_account_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Retell Account Id
          description: >-
            The UUID of the Retell account to use. Required when the project has
            multiple phone numbers.
      type: object
      required:
        - project_id
      title: VoiceTokenInput
    CreateWebCallResponse:
      properties:
        status:
          type: string
          title: Status
          description: Status of the web call creation request (e.g., "queued").
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: Additional information about the web call status.
      type: object
      required:
        - status
      title: CreateWebCallResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````