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

# Trigger Outbound Call

> Initiate an outbound phone call to a number using your Recepta agent. **Permission:** `calls:create`



## OpenAPI

````yaml POST /api/calls/outbound
openapi: 3.0.0
info:
  title: Recepta Public API
  version: 1.0.0
  description: >-
    The Recepta API lets you programmatically manage calls, contacts, and SMS
    messages.


    Use this API to integrate Recepta with your own applications, CRMs, AI
    agents, or automation workflows.


    ## Authentication


    All endpoints require an API key passed in the `x-api-key` header.


    ```

    x-api-key: rcp_your_api_key_here

    ```


    Create and manage API keys in **Settings > API Keys** in the Recepta
    dashboard.


    ## Rate Limits


    Rate limits depend on your subscription plan:


    | Plan | Requests / Minute |

    |------|-------------------|

    | Free | 30 |

    | Starter | 60 |

    | Growth | 300 |

    | Enterprise | 1,000 |


    Every response includes rate limit headers:

    - `X-RateLimit-Limit` — maximum requests per window

    - `X-RateLimit-Remaining` — requests remaining

    - `X-RateLimit-Reset` — seconds until window resets


    When exceeded, you receive a `429 Too Many Requests` response with a
    `Retry-After` header.


    ## Pagination


    List endpoints support pagination via `page` and `limit` query parameters.
    Responses include a `pagination` object:


    ```json

    {
      "pagination": {
        "total": 142,
        "page": 1,
        "limit": 20,
        "totalPages": 8
      }
    }

    ```


    ## Errors


    All errors follow the same format:


    ```json

    {
      "success": false,
      "message": "Human-readable error description"
    }

    ```


    | Code | Meaning |

    |------|--------|

    | 400 | Bad Request — invalid or missing parameters |

    | 401 | Unauthorized — invalid or missing API key |

    | 403 | Forbidden — API key lacks required permission |

    | 404 | Not Found — resource does not exist |

    | 409 | Conflict — duplicate resource |

    | 429 | Rate Limited — too many requests |

    | 500 | Server Error — try again later |
  contact:
    name: Recepta Support
    email: support@recepta.ai
    url: https://recepta.ai
servers:
  - url: https://api.recepta.ai/api/v1
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Calls
    description: Make calls, retrieve transcripts, and manage call records
  - name: Contacts
    description: Create, read, update, and delete contacts
  - name: SMS
    description: Send messages and manage SMS conversations
paths:
  /api/calls/outbound:
    post:
      tags:
        - Calls
      summary: Trigger outbound call
      description: >-
        Initiate an outbound phone call to a number using your Recepta agent.
        **Permission:** `calls:create`
      operationId: triggerOutboundCall
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OutboundCallRequest'
      responses:
        '201':
          description: Call initiated
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Call initiated successfully
                  data:
                    type: object
                    properties:
                      call:
                        $ref: '#/components/schemas/Call'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    OutboundCallRequest:
      type: object
      required:
        - toNumber
        - fromNumber
      properties:
        toNumber:
          type: string
          description: Destination phone number (E.164)
          example: '+15551234567'
        fromNumber:
          type: string
          description: Your Recepta phone number (E.164)
          example: '+15559876543'
        agentId:
          type: string
          description: Agent to use (optional, defaults to company agent)
          example: agent_abc123
        metadata:
          type: object
          description: Custom metadata to attach to the call
    Call:
      type: object
      properties:
        id:
          type: string
          example: 69af1467f97caa0d0e1e13e2
        retellId:
          type: string
          example: call_abc123
        callType:
          type: string
          enum:
            - PHONE_CALL
            - WEB_CALL
          example: PHONE_CALL
        direction:
          type: string
          enum:
            - INBOUND
            - OUTBOUND
          example: INBOUND
        fromNumber:
          type: string
          example: '+19032466065'
        toNumber:
          type: string
          example: '+19034851458'
        status:
          type: string
          enum:
            - REGISTERED
            - ONGOING
            - ENDED
            - ERROR
          example: ENDED
        startTimestamp:
          type: string
          format: date-time
          example: '2026-03-09T18:41:43.188Z'
        endTimestamp:
          type: string
          format: date-time
          example: '2026-03-09T18:41:49.664Z'
        durationMs:
          type: integer
          example: 6476
        companyId:
          type: string
          example: 69053acd6e4cdf19cb778090
        createdAt:
          type: string
          format: date-time
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          example: Error description
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Recepta API key (starts with `rcp_`)

````