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

# Get Agent Inbound Webhook URL

> Get the inbound webhook URL for an agent. Configure this URL in your telephony provider (Twilio, Vonage, etc.) to route inbound calls to this agent.

This URL is stable — it does not change when you update the agent.



## OpenAPI

````yaml /api-reference/openapi.json get /telephony/agents/{agent_id}/webhook-url
openapi: 3.1.0
info:
  title: Truedy API
  description: >-
    Truedy Public API - Build voice AI agents and make automated phone calls.


    ## Authentication

    All requests require **Authorization: Bearer <your_api_key>**.

    Get your API key from the [Truedy Dashboard](https://app.truedy.ai).


    ## Response Format

    All successful responses follow this format:

    ```json

    {
      "data": { /* resource or list of resources */ },
      "meta": {
        "request_id": "req_xxx",
        "ts": "2026-03-03T20:30:21.310278Z"
      },
      "pagination": { /* optional, for list endpoints */ }
    }

    ```


    ## Error Handling

    Errors return appropriate HTTP status codes with structured error messages.
    Always check the `error` field in the response body for details.
  version: 1.0.0
servers:
  - url: https://api.truedy.ai/api/public/v1
    description: Truedy Public API
security:
  - BearerAuth: []
paths:
  /telephony/agents/{agent_id}/webhook-url:
    get:
      tags:
        - Telephony
      summary: Get Agent Inbound Webhook URL
      description: >-
        Get the inbound webhook URL for an agent. Configure this URL in your
        telephony provider (Twilio, Vonage, etc.) to route inbound calls to this
        agent.


        This URL is stable — it does not change when you update the agent.
      operationId: get_agent_webhook_url
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
          description: Agent ID
          example: agt_f9447372
      responses:
        '200':
          description: Inbound webhook URL for this agent
          content:
            application/json:
              example:
                data:
                  webhook_url: https://api.truedy.ai/webhooks/inbound/agt_f9447372
                  agent_id: agt_f9447372
                  protocol: POST
                  instructions: >-
                    Set this URL as your telephony provider inbound webhook to
                    route calls to this agent.
                meta:
                  request_id: req_32e7531c
                  ts: '2026-04-05T10:22:00Z'
        '400':
          description: Bad Request
          content:
            application/json:
              example:
                error:
                  code: bad_request
                  message: Invalid request parameters
        '401':
          description: Unauthorized
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  message: Invalid or missing API key
                  details:
                    reason: 'Include Authorization: Bearer <your_api_key>'
        '404':
          description: Not Found
          content:
            application/json:
              example:
                error:
                  code: not_found
                  message: Agent not found
        '422':
          description: Validation Error
          content:
            application/json:
              example:
                detail:
                  - loc:
                      - body
                      - name
                    msg: field required
                    type: value_error.missing
        '429':
          description: Rate Limit Exceeded
          content:
            application/json:
              example:
                error:
                  code: rate_limit_exceeded
                  message: Too many requests
                  details:
                    reset_at: '2026-04-01T21:00:00Z'
        '500':
          description: Internal Server Error
          content:
            application/json:
              example:
                error:
                  code: internal_error
                  message: An unexpected error occurred
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication. Include your API key in the Authorization
        header: Bearer <your_api_key>

````