Skip to main content
Return the webhook endpoints registered for the current project. Signing secrets are never echoed here — they appear only on create. GET /v1/webhooks

Query parameters

cursor
string
Opaque pagination cursor from a previous response’s nextCursor.
limit
integer
Page size, 1100 (default 25).
Project scope. With an account-wide key, set X-Drin-Product to name the project whose endpoints you want. Project-scoped keys may omit it.

Request

curl https://api.drin.run/v1/webhooks \
  -H "Authorization: Bearer $DRIN_API_KEY"

Response

Returns 200 OK with a page of endpoints under data. signingSecret is an empty string on every endpoint — it is only ever returned on create.
200 OK
{
  "data": [
    {
      "id": "wh_3kQ9p2",
      "url": "https://example.com/hooks/drin",
      "enabled": true,
      "eventTypes": ["delivery", "bounce", "complaint"],
      "signingSecret": ""
    }
  ],
  "nextCursor": null
}