Skip to main content
GET
/
v1
/
webhooks
List Webhooks
curl --request GET \
  --url https://api.example.com/v1/webhooks
{
  "data": {
    "webhooks": [
      {
        "id": "<string>",
        "url": "<string>",
        "events": [
          {}
        ],
        "description": "<string>",
        "active": true,
        "last_delivery_status": "<string>",
        "last_delivery_at": "<string>",
        "created_at": "<string>"
      }
    ]
  }
}

Request

Headers

Authorization: Bearer wbk_your_api_key_here
Requires an API key with the webhooks:read permission.

Response

data
object
The signing secret is never returned after creation. If you lose it, delete the webhook and create a new one.
curl https://data.leadlex.com/functions/v1/api-gateway/v1/webhooks \
  -H "Authorization: Bearer wbk_your_api_key_here"

Example Response

{
  "data": {
    "webhooks": [
      {
        "id": "7f3c4d2a-1b8e-4a9c-9d6f-2e5b8c7a1f3d",
        "url": "https://example.com/leadlex/webhook",
        "events": ["contact.created", "deal.updated"],
        "description": "Production CRM sync",
        "active": true,
        "last_delivery_status": "success",
        "last_delivery_at": "2026-04-17T14:23:05Z",
        "created_at": "2026-03-01T09:12:00Z"
      }
    ]
  }
}

Errors

StatusCodeDescription
401invalid_keyInvalid or expired API key
403insufficient_permissionsMissing webhooks:read permission
429rate_limitedRate limit exceeded