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

# Create outbound calls

> Queues one or more outbound calls for a standalone voice agent or an existing campaign.



## OpenAPI

````yaml /openapi.json post /api/make-calls
openapi: 3.0.3
info:
  title: AgentCallback Public API
  version: 1.3.0
  description: >-
    Public, customer-callable AgentCallback APIs for calls, voice agents,
    campaigns, phone numbers, and voices.


    **API keys:** Sign in to your AgentCallback account and open **Dashboard >
    API Keys** to create an API key. Send the key with every request using the
    `x-api-key` header.
servers:
  - url: https://agentcallback.com
    description: AgentCallback API server
security: []
tags:
  - name: Authentication
    description: Credential validation and API access.
  - name: Calls
    description: Create calls and retrieve call results.
  - name: Voice Agents
    description: Create and manage voice agent scripts.
  - name: Campaigns
    description: Create and manage batch call campaigns.
  - name: Phone Numbers
    description: List organization phone numbers.
  - name: Voices
    description: Browse voices and fetch voice previews.
paths:
  /api/make-calls:
    post:
      tags:
        - Calls
      summary: Create outbound calls
      description: >-
        Queues one or more outbound calls for a standalone voice agent or an
        existing campaign.
      parameters: []
      requestBody:
        required: true
        description: Call dispatch payload.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MakeCallsRequest'
      responses:
        '200':
          description: Calls accepted for processing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MakeCallsResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Authenticated caller does not have access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    MakeCallsRequest:
      type: object
      properties:
        contacts:
          oneOf:
            - type: array
              minItems: 1
              items:
                $ref: '#/components/schemas/ContactInput'
            - type: string
              description: JSON-encoded contact array for workflow integrations.
        useCase:
          type: integer
          description: Voice agent use case or script identifier used for standalone calls.
        campaign_id:
          type: integer
          description: Existing campaign identifier.
        fromPhoneNumber:
          type: string
          description: Outbound caller ID. Omit when dispatching an existing campaign.
      required:
        - contacts
    MakeCallsResponse:
      allOf:
        - $ref: '#/components/schemas/Success'
        - type: object
          properties:
            message:
              type: string
              example: Call requests received and being processed
            totalCalls:
              type: integer
              description: Number of accepted contacts.
            useCase:
              type: integer
              description: Resolved voice agent use case.
            fromPhoneNumber:
              type: string
              nullable: true
          required:
            - message
            - totalCalls
            - useCase
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
        details:
          nullable: true
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
            - type: array
              items: {}
        code:
          type: string
      required:
        - success
        - error
    ContactInput:
      type: object
      additionalProperties: true
      properties:
        phoneNumber:
          type: string
          example: '+14155550123'
        contactId:
          type: string
          description: Existing campaign contact identifier.
    Success:
      type: object
      properties:
        success:
          type: boolean
          example: true
      required:
        - success
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Create and manage API keys in your AgentCallback account under Dashboard
        > API Keys.

````