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

# Place a draft test call

> Call a phone number using an agent draft and selected telephony connection.

Requires a Labs `super_user` OAuth bearer token plus Editor, Admin, or Owner. Send numeric `workflow_id` and a destination `phone_number`, or use the saved test number. Optionally select a workspace telephony configuration and caller number.

This places a real call and can incur charges. Missing telephony configuration returns `400`, unknown agent `404`, missing execution owner `409`, and insufficient quota `402`. The response contains a confirmation `message` with the run name; it does not return a numeric run ID. Use run listings to inspect the call. Acceptance is not proof the recipient answered.


## OpenAPI

````yaml POST /api/v1/telephony/initiate-call
openapi: 3.1.0
info:
  title: Bandwidth Agent Builder API
  version: v1
  description: >-
    Manage agents, place calls, and retrieve conversation results in your
    workspace.
servers:
  - url: https://agents.labs.bandwidth.com
    description: Workspace API
security: []
paths:
  /api/v1/telephony/initiate-call:
    post:
      tags:
        - calls
      summary: Place a draft test call
      description: >-
        **Authorization:** Requires a Labs OAuth bearer token with the
        `super_user` role and an Editor, Admin, or Owner role in the selected
        workspace. API keys are not accepted.


        Call a phone number using an agent draft and selected telephony
        connection.
      operationId: initiate_call_api_v1_telephony_initiate_call_post
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InitiateCallRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                required:
                  - message
                type: object
          description: Successful Response
        '401':
          description: Missing, invalid, or expired credential.
        '402':
          description: Insufficient usage quota.
        '403':
          description: >-
            The account lacks access to the workspace, resource, or required
            role.
        '404':
          description: Not found
        '409':
          description: Agent has no execution owner.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - LabsAuth: []
components:
  schemas:
    InitiateCallRequest:
      properties:
        from_phone_number_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: From Phone Number Id
        phone_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone Number
        telephony_configuration_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Telephony Configuration Id
        workflow_id:
          title: Workflow Id
          type: integer
        workflow_run_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Workflow Run Id
      required:
        - workflow_id
      title: InitiateCallRequest
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    LabsAuth:
      description: >-
        Bandwidth Labs OAuth access token. Uses the user's selected workspace;
        the workspace header is not required. Do not also send an API key.
        Bearer-only operations may additionally require the Labs `super_user`
        role.
      scheme: bearer
      type: http

````

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