Skip to main content
GET
/
api
/
agents
/
crm
/
lead-webhooks
List webhooks
curl --request GET \
  --url https://app.gomega.ai/api/agents/crm/lead-webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'x-customer-id: <x-customer-id>'
{
  "webhooks": [
    {
      "id": "<string>",
      "url": "<string>",
      "event_types": [
        "<string>"
      ],
      "is_active": true,
      "timeout_seconds": 123,
      "retry_attempts": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Admin-issued Personal Access Token, e.g. Authorization: Bearer mega_<64 hex>. The key carries scopes (public_api:leads:read, public_api:leads:write, public_api:webhooks:manage) and is locked to one customer.

Headers

x-customer-id
string<uuid>
required

The customer this request acts on. Must match the customer your key is locked to.

Response

The caller's webhooks.

webhooks
object[]
required