Skip to main content
Org-level webhooks serve as a default/catch-all for all sheets. If no sheet-level webhook is configured, the org-level webhook fires instead.

Get Org Webhook

curl "https://backend.anglera.com/webhook" \
  -H "X-Anglera-API-Key: your_api_key"

Response

{
  "webhook": {
    "id": 42,
    "sheet_id": null,
    "url": "https://your-server.com/webhook",
    "active": true,
    "created_at": "2025-11-29T10:30:00Z"
  }
}
Returns {"webhook": null} if no webhook is configured.

Set Org Webhook

curl -X POST "https://backend.anglera.com/webhook" \
  -H "X-Anglera-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-server.com/webhook",
    "secret": "optional_secret_key"
  }'

Body Parameters

url
string
required
The endpoint URL to receive webhook POSTs
secret
string
Optional secret for HMAC signature verification

Response

{
  "webhook": {
    "id": 42,
    "sheet_id": null,
    "url": "https://your-server.com/webhook",
    "active": true,
    "created_at": "2025-11-29T10:30:00Z"
  }
}

Delete Org Webhook

curl -X DELETE "https://backend.anglera.com/webhook" \
  -H "X-Anglera-API-Key: your_api_key"

Response

{
  "message": "Webhook deleted successfully"
}