Skip to main content
Sheet-level webhooks fire when a product in that specific sheet is enriched. They take precedence over org-level webhooks.

Get Sheet Webhook

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

Path Parameters

sheet_id
string
required
ID of the sheet

Response

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

Set Sheet Webhook

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

Path Parameters

sheet_id
string
required
ID of the sheet

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": 100,
    "url": "https://your-server.com/webhook",
    "active": true,
    "created_at": "2025-11-29T10:30:00Z"
  }
}

Delete Sheet Webhook

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

Path Parameters

sheet_id
string
required
ID of the sheet

Response

{
  "message": "Webhook deleted successfully"
}

When a sheet webhook is deleted, the org-level webhook (if configured) will automatically take over for that sheet.