Account & troubleshooting
Webhooks: developer guide
Connect an HTTPS endpoint, verify signed events, and handle retries.
Reviewed
Connect your endpoint
Choose Add webhook, enter a public HTTPS endpoint on port 443, and select events. Private network addresses, redirects, URL credentials and fragments are not supported. Copy the signing secret displayed after connecting and store it securely on your server. You can replace a lost secret using Rotate secret; new attempts use the replacement immediately.
Event payloads and test deliveries
Anoma sends a JSON POST containing id, type, api_version, created_at, workspace_id, test, and data. Event names are onboarding.completed, report.published, billing.issue, and chat.credits_exhausted. Test deliveries use report.published with test: true and an empty data object; don’t trigger real business actions for tests.
Example test payload (IDs are illustrative):
{
"id": "evt_example",
"type": "report.published",
"api_version": "2026-11-20",
"created_at": "2026-11-23T12:00:00.000Z",
"workspace_id": "workspace_example",
"test": true,
"data": {}
}
Verify signatures
Verify the raw request body with Standard Webhooks (opens in a new tab): headers are webhook-id, webhook-timestamp, and webhook-signature. The signature is v1, followed by base64 HMAC-SHA256 over id.timestamp.rawBody. Remove the whsec_ prefix from the secret and base64-decode the remainder to get the signing key. Use constant-time comparison and reject timestamps more than five minutes old (or in the future beyond your clock tolerance). Deduplicate by event ID, accept unknown additional JSON fields, and do not rely on event order.
Respond and handle retries
Return a 2xx response quickly, within ten seconds, and process your own workflow asynchronously. A test checks endpoint acceptance; it does not prove your downstream workflow completed.
Recent deliveries shows the latest 50 attempts/events and automatically refreshes. Delivery can take a few minutes. Temporary failures (HTTP 408, 429, or 5xx) retry with increasing delays, respecting bounded Retry-After, up to ten attempts over 72 hours. Webhook retries keep the same event ID and body, with a fresh signature timestamp. Duplicates are possible, so receivers must deduplicate. Other HTTP failures stop automatic retries.
Manual replay is limited to three replays within the original 72-hour window. Use a new test for older deliveries.
A downgrade preserves destinations but suspends delivery. Reactivation sends future events and still-eligible queued work, without a historical backfill. Billing issues can still be delivered while product access is locked, provided the workspace remains on an eligible plan.

