Skip to main content
DELETE
/
api
/
agents
/
crm
/
lead-webhooks
/
{id}
Delete a webhook
curl --request DELETE \
  --url https://app.gomega.ai/api/agents/crm/lead-webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-customer-id: <x-customer-id>'
{
  "deleted": true
}

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.

Path Parameters

id
string<uuid>
required

Response

Deleted.

deleted
boolean
required