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

# List Agent Webhooks

> Retrieve all webhooks configured for a specific agent

## Overview

Lists all webhooks configured for a specific agent, including their current status, configured events, and metadata.

## Endpoint

<ParamField path="agent_id" type="string" required>
  Agent UUID
</ParamField>

## Request

<RequestExample>
  ```bash theme={null}
  curl -X GET \
    'https://app.talkover.ai/api/v1/agents/9fbef0b7-8d4e-4a08-9207-66c22155721d/webhooks' \
    -H 'Authorization: Bearer YOUR_TOKEN'
  ```

  ```javascript theme={null}
  const response = await fetch('https://app.talkover.ai/api/v1/agents/9fbef0b7-8d4e-4a08-9207-66c22155721d/webhooks', {
    method: 'GET',
    headers: {
      'Authorization': 'Bearer YOUR_TOKEN'
    }
  });
  const data = await response.json();
  ```

  ```php theme={null}
  <?php

  $client = new \GuzzleHttp\Client();
  $response = $client->get('https://app.talkover.ai/api/v1/agents/9fbef0b7-8d4e-4a08-9207-66c22155721d/webhooks', [
      'headers' => [
          'Authorization' => 'Bearer YOUR_TOKEN',
      ],
  ]);
  $data = json_decode($response->getBody());
  ```
</RequestExample>

## Response

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="data" type="object">
  Response data containing webhooks and available events
</ResponseField>

<ResponseField name="data.webhooks" type="array">
  Array of webhook configurations for the agent
</ResponseField>

<ResponseField name="data.webhooks[].id" type="string">
  Unique webhook identifier
</ResponseField>

<ResponseField name="data.webhooks[].agent_id" type="string">
  Agent UUID this webhook belongs to
</ResponseField>

<ResponseField name="data.webhooks[].name" type="string">
  Human-readable webhook name
</ResponseField>

<ResponseField name="data.webhooks[].webhook_url" type="string">
  URL where webhook events will be sent
</ResponseField>

<ResponseField name="data.webhooks[].events" type="array">
  Array of event types this webhook is configured to receive
</ResponseField>

<ResponseField name="data.webhooks[].timeout" type="integer">
  Request timeout in seconds (5-120)
</ResponseField>

<ResponseField name="data.webhooks[].max_retries" type="integer">
  Maximum number of retry attempts (0-10)
</ResponseField>

<ResponseField name="data.webhooks[].enabled" type="boolean">
  Whether the webhook is currently active
</ResponseField>

<ResponseField name="data.webhooks[].created_at" type="string">
  ISO 8601 timestamp when webhook was created
</ResponseField>

<ResponseField name="data.webhooks[].updated_at" type="string">
  ISO 8601 timestamp when webhook was last updated
</ResponseField>

<ResponseField name="data.webhooks[].events_count" type="integer">
  Number of events configured for this webhook
</ResponseField>

<ResponseField name="data.webhooks[].status" type="string">
  Current webhook status (active, disabled, error)
</ResponseField>

<ResponseField name="data.available_events" type="object">
  Object containing all available webhook events and their descriptions
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "data": {
      "webhooks": [
        {
          "id": "9fcafbf2-7593-44d6-8cd7-1b221beba62a",
          "agent_id": "9fbef0b7-8d4e-4a08-9207-66c22155721d",
          "name": "My Webhook",
          "webhook_url": "https://example.com/webhook",
          "events": ["event_phone_call_started", "event_phone_call_ended"],
          "timeout": 30,
          "max_retries": 3,
          "enabled": true,
          "created_at": "2025-09-03T23:19:51.000000Z",
          "updated_at": "2025-09-03T23:37:01.000000Z",
          "events_count": 2,
          "status": "active"
        }
      ],
      "available_events": {
        "event_phone_call_started": "Phone call has started",
        "event_phone_call_ended": "Phone call has ended",
        "event_phone_call_did_not_connect": "Phone call failed to connect",
        "event_phone_call_connected": "Phone call connection established",
        "event_phone_call_disconnected": "Phone call connection closed",
        "event_phone_call_error": "Phone call connection error occurred",
        "event_participant_joined": "Participant joined the call",
        "event_participant_left": "Participant left the call",
        "event_voicemail_detected": "Voicemail system detected",
        "event_voicemail_message_left": "Message left on voicemail",
        "event_conversation_started": "Human conversation started",
        "event_conversation_ended": "Human conversation ended",
        "event_action": "Agent executed an action",
        "event_action_failed": "Agent action failed",
        "event_recording": "Call recording event",
        "event_connection_established": "Call connection established",
        "event_connection_closed": "Call connection closed",
        "event_connection_error": "Call connection error occurred",
        "event_user_connected": "User connected to the call",
        "event_user_disconnected": "User disconnected from the call",
        "event_client_connected": "Client connected to the call",
        "event_client_disconnected": "Client disconnected from the call"
      }
    }
  }
  ```
</ResponseExample>

## Error responses

<ResponseExample title="401 Unauthorized">
  ```json theme={null}
  {
    "message": "Missing Bearer Token"
  }
  ```
</ResponseExample>

<ResponseExample title="404 Not Found">
  ```json theme={null}
  {
    "success": false,
    "message": "Agent not found in this environment."
  }
  ```
</ResponseExample>

## Related endpoints

* [Create Webhook](/api-reference/endpoints/create-webhook) - Set up a new webhook
* [Get Webhook Details](/api-reference/endpoints/get-webhook-details) - Retrieve specific webhook information
* [Update Webhook](/api-reference/endpoints/update-webhook) - Modify webhook configuration
* [Delete Webhook](/api-reference/endpoints/delete-webhook) - Remove webhook configuration
* [Toggle Webhook Status](/api-reference/endpoints/toggle-webhook-status) - Enable/disable webhook
* [Test Webhook](/api-reference/endpoints/test-webhook) - Send test payload to verify connectivity
