Webhooks
Create Webhook
Changed onRegister a new HTTPS endpoint to receive events. The response includes a one-time secret (HMAC-SHA256 signing key) — store it; Anchor never returns it again. Up to 5 webhooks per project.
post/v1/webhooks
Request
- Base URLhttps://api.anchorbrowser.io
- AuthAPI key in header anchor-api-key
Request body
Example request
{
"url": "https://your-app.example.com/anchor/webhooks",
"description": "Production task notifications"
}Response
Webhook created. The secret field is returned ONCE — copy it now.
Example response
{
"id": "wh_01HXJ4MZ7K9P3Q6R8S2T4V5W7Y",
"project_id": "5d2c31f6-ab7e-481a-b6fd-8b4a96a4e197",
"url": "https://your-app.example.com/anchor/webhooks",
"description": "Production task notifications",
"enabled": true,
"secret": "36da51b166a69268a59a8d5ee0b32c9f5e5aaee7d301c7a5a36844318e116fc6"
}Changes
- info
endpoint added
- info