Webhooks for developers
Overview
Section titled “Overview”Outgoing webhooks push a signed JSON event to a URL you own whenever something happens in a workspace: a contact is created, a deal is won, an order is paid, a form is submitted, an email bounces. Use them instead of polling the REST API.
This page is the developer contract: the event catalogue, payloads, headers, signature verification, retries and the delivery log API. For the screens (adding an endpoint, the delivery log table, replays) see Webhooks.
Where it is in the app: Settings › Webhooks (/t/<workspace>/settings/webhooks). Everything on that page is also available through the API under /api/v2/t/<workspace>/webhooks. Both need the webhooks:manage permission.
How it works
Section titled “How it works”Endpoints
Section titled “Endpoints”An endpoint is a receiver URL plus the list of event types it subscribes to.
| Field | Type | Rules |
|---|---|---|
url |
string | Required. A valid URL, up to 2,000 characters, https (or http) on port 443 (or 80). Refused with 422 invalid_url: other schemes and ports, a user name or password in the URL, private, loopback and internal addresses or hostnames, and single-label hosts (no dot). |
description |
string | Optional, up to 200 characters. |
event_types |
array of strings | Required, 1 to 100 items. Event names from the catalogue below, or * for every event. Unknown names are refused (422 validation_failed). Duplicates are removed. |
status |
active or disabled |
New endpoints are active. |
What the API returns for an endpoint:
| Field | Meaning |
|---|---|
id |
Endpoint id. |
url, description, event_types, status |
As configured. |
disabled_reason |
null when active; manual when someone disabled it; failures when it was disabled automatically. |
consecutive_failures |
Failed attempts in a row, across deliveries. Reset to 0 by any success, and when you enable a disabled endpoint. |
secret_hint |
Last 4 characters of the signing secret (the UI shows whsec_…abcd). |
created_at, updated_at, last_success_at, last_failure_at |
ISO 8601 UTC timestamps (null when it never happened). |
A workspace can have at most 20 endpoints (409 limit_reached).
Signing secret
Section titled “Signing secret”Each endpoint has its own signing secret, whsec_ followed by 43 random characters. It is returned once: in the answer that creates the endpoint and in the answer of a rotation. It is stored encrypted; afterwards only its last 4 characters are visible. Rotating it makes the old secret stop working immediately, so update your receiver right after rotating.
From the dashboard, creating an endpoint and rotating its secret ask you to confirm your second factor. API keys can do both without a second factor.
Lifecycle of an event
Section titled “Lifecycle of an event”-
A change happens (a request, an automation, an inbound email webhook, a public form submission, a booking, a payment recorded by an app). The domain event is written in the same transaction as the change, with a stable id.
-
The automation engine drains the events right after the request (and on its own periodic poll). For each batch it queues a fan-out message, in chunks of 20 events. If the workspace has no active endpoint, nothing is queued.
-
The fan-out creates one delivery per active endpoint subscribed to each event. A delivery is unique per endpoint and event id, so an event processed twice never creates two deliveries for the same endpoint.
-
Each delivery is attempted: a signed
POSTwith a 10-second timeout, no redirects followed, and the response body read up to 64 KB (the first 1 KB is kept in the log). -
A
2xxanswer marks the deliverysucceeded. Anything else is a failure and schedules a retry, until the retries run out.
Delivery statuses:
| Status | UI label | Meaning |
|---|---|---|
pending |
Pending | Created, not attempted yet. |
retrying |
Retrying | At least one attempt failed; next_attempt_at says when the next one runs. |
succeeded |
Delivered | Your endpoint answered 2xx. Final. |
failed |
Failed | Retries exhausted, a permanent failure, or the endpoint was disabled. Final (you can replay it). |
Retries and backoff
Section titled “Retries and backoff”A delivery gets up to 9 attempts: the first one immediately, then retries after these delays (counted from the previous failed attempt):
| Retry | Delay | Cumulative (approx.) |
|---|---|---|
| 1 | 30 seconds | 30 s |
| 2 | 2 minutes | 2.5 min |
| 3 | 10 minutes | 12.5 min |
| 4 | 30 minutes | 43 min |
| 5 | 1 hour | 1 h 43 min |
| 6 | 3 hours | 4 h 43 min |
| 7 | 6 hours | 10 h 43 min |
| 8 | 12 hours | about 22 h 43 min |
What counts as a failure:
- any status outside
200-299(including3xx: redirects are not followed); - a timeout after 10 seconds, a DNS or connection error;
- a response body larger than 64 KB.
Permanent failures stop the retries at once and disable the endpoint:
- your endpoint answers
410 Gone; - the URL resolves to a blocked address (private network, loopback).
Automatic disabling: after 20 failed attempts in a row on an endpoint (counted across all its deliveries), the endpoint is set to disabled with disabled_reason: failures. Pending retries of a disabled endpoint are marked failed with the error endpoint disabled instead of being sent. The dashboard shows Disabled automatically after N failed attempts in a row. Fix the receiver, then enable it again. Enabling it (PATCH with status: active, or Enable) resets the failure counter. Deliveries that failed while it was disabled are not resent automatically: replay the ones you need.
Request format
Section titled “Request format”Every delivery is an HTTP POST with these headers:
| Header | Example | Meaning |
|---|---|---|
Content-Type |
application/json |
|
User-Agent |
amabledata-webhooks/1 |
|
Amable-Signature |
t=1760774400,v1=5f2b…c9 |
Timestamp and HMAC signature. See Verify the signature. |
Amable-Event |
contact.created |
Event type. |
Amable-Event-Id |
01JAB7X3M2… |
Event id. The same for every delivery and retry of this event. Deduplicate on it. |
Amable-Delivery |
01JAB7X3N9… |
Delivery id. A replay has a new delivery id. |
Amable-Attempt |
1 |
Attempt number of this delivery, starting at 1. |
The body is a JSON envelope:
{ "id": "01JAB7X3M2Q4W5E6R7T8Y9U0IP", "type": "opportunity.stage_changed", "created_at": "2026-10-18T09:41:27.000Z", "tenant": "acme", "data": { "opportunityId": "01JAB7OPP0000000000000000A", "pipelineId": "01JAB7PIPE000000000000000A", "stageId": "01JAB7STG2000000000000000A", "contactId": "01JAB3K9Q8W7E6R5T4Y3U2I1O0", "fromStageId": "01JAB7STG1000000000000000A", "toStageId": "01JAB7STG2000000000000000A" }}| Field | Meaning |
|---|---|
id |
Event id (same as Amable-Event-Id). |
type |
Event type (same as Amable-Event). |
created_at |
When the event happened, ISO 8601 UTC. |
tenant |
Workspace slug. |
data |
Event payload. Keys are camelCase. Payloads carry ids and the minimal facts of the change: fetch the record through the API when you need more. |
Payloads never include the full record, and they never include passwords, secrets or sensitive custom field values. Form submission payloads omit sensitive fields and truncate values.
Ordering
Section titled “Ordering”Deliveries are not guaranteed to arrive in order. Events are fanned out in batches, deliveries run in parallel, and a failed delivery is retried later while newer events go through. Use created_at to order events, and when the order matters (for example contact.updated then contact.deleted), re-read the current state from the API instead of applying deltas blindly.
Idempotency and duplicates
Section titled “Idempotency and duplicates”Delivery is at least once. The same event can reach you more than once: a retry after a timeout where your server actually processed the request, a manual replay, a queue redelivery. Store the Amable-Event-Id (or id in the body) of the events you processed and ignore repeats. Answer 2xx to duplicates too, otherwise they are retried.
Delivery log
Section titled “Delivery log”Every delivery is kept for 30 days with its body, its last answer and its timing, then deleted. Deleting an endpoint deletes its log.
| Field | Meaning |
|---|---|
id, endpoint_id, event_id, event_type |
Identifiers. |
status |
pending, retrying, succeeded, failed. |
attempts |
Attempts made so far. |
next_attempt_at |
When the next retry runs, or null. |
last_status |
HTTP status of the last attempt, or null if no answer arrived. |
last_error |
HTTP 500, response too large, blocked URL: …, endpoint disabled, or the network error message. null after a success. |
duration_ms |
Duration of the last attempt. |
replay_of |
Id of the original delivery when this one is a replay. |
created_at, completed_at |
Creation and final-status timestamps. |
payload |
Only in the single-delivery endpoint: the exact JSON body that was sent. |
last_response |
Only in the single-delivery endpoint: the first 1 KB of your endpoint’s answer. |
Test deliveries
Section titled “Test deliveries”Send test (or POST /webhooks/{id}/test) sends a webhook.test event to that endpoint right away, even when the endpoint is disabled, and returns the result of the attempt. Its event id starts with test_, and its data is:
{ "message": "Test delivery from amabledata", "endpointId": "01JAB7END0000000000000000A" }A failed test delivery is retried like any other delivery.
Replays
Section titled “Replays”Replay (or POST /webhooks/deliveries/{deliveryId}/replay) sends the same body again as a new delivery: same event id, new delivery id, replay_of pointing to the original delivery (always the first one, even when you replay a replay). It is attempted immediately and retried on failure. The endpoint must be active (409 endpoint_disabled otherwise). Because the body is identical, the replay is signed with a fresh timestamp, and your duplicate check on the event id will recognize it: remove the id from your store first if you want it processed again.
Step by step
Section titled “Step by step”Receive and verify events
Section titled “Receive and verify events”-
Create an HTTPS endpoint on your server that accepts
POSTrequests and reads the raw body (before any JSON parsing). -
Add the endpoint in Settings › Webhooks with Add endpoint, or with
POST /webhooks. Copy thewhsec_…secret: it is shown once. -
On each request, verify
Amable-Signatureagainst the raw body and the secret, and reject requests older than 5 minutes (code below). -
Check
Amable-Event-Idagainst the events you already processed; skip duplicates. -
Answer
2xxquickly (within 10 seconds). Do slow work in a background job after answering. -
Click Send test and check that your endpoint answers
2xxand that the delivery shows Delivered.
Verify the signature
Section titled “Verify the signature”Amable-Signature has the form t=<unix seconds>,v1=<hex>. The signature is the hex HMAC-SHA256, keyed with your whsec_… secret, of the string <t>.<raw body>: the timestamp, a dot, and the exact bytes of the body.
import express from 'express';import { createHmac, timingSafeEqual } from 'node:crypto';
const SECRET = process.env.AMABLE_WEBHOOK_SECRET; // whsec_...const TOLERANCE_SECONDS = 300;
function verifyAmableSignature(secret, header, rawBody) { if (!header) return false; let timestamp = null; const signatures = []; for (const part of header.split(',')) { const [key, value] = part.trim().split('=', 2); if (key === 't' && /^\d+$/.test(value ?? '')) timestamp = Number(value); if (key === 'v1' && /^[0-9a-f]{64}$/.test(value ?? '')) signatures.push(value); } if (timestamp === null || signatures.length === 0) return false; if (Math.abs(Date.now() / 1000 - timestamp) > TOLERANCE_SECONDS) return false; const expected = createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest('hex'); return signatures.some((candidate) => timingSafeEqual(Buffer.from(expected, 'hex'), Buffer.from(candidate, 'hex')), );}
const seen = new Set(); // use a database or a cache with a TTL in production
const app = express();app.post('/webhooks/amable', express.raw({ type: 'application/json' }), (req, res) => { const rawBody = req.body.toString('utf8'); if (!verifyAmableSignature(SECRET, req.get('Amable-Signature'), rawBody)) { return res.status(401).send('bad signature'); } const eventId = req.get('Amable-Event-Id'); if (seen.has(eventId)) return res.status(200).send('duplicate'); seen.add(eventId);
const event = JSON.parse(rawBody); // enqueue event.type / event.data for background processing res.status(200).send('ok');});
app.listen(3000);const encoder = new TextEncoder();
async function hmacHex(secret, message) { const key = await crypto.subtle.importKey( 'raw', encoder.encode(secret), { name: 'HMAC', hash: 'SHA-256' }, false, ['sign'], ); const mac = await crypto.subtle.sign('HMAC', key, encoder.encode(message)); return [...new Uint8Array(mac)].map((b) => b.toString(16).padStart(2, '0')).join('');}
function safeEqual(a, b) { if (a.length !== b.length) return false; let diff = 0; for (let i = 0; i < a.length; i++) diff |= a.charCodeAt(i) ^ b.charCodeAt(i); return diff === 0;}
async function verifyAmableSignature(secret, header, rawBody, toleranceSeconds = 300) { if (!header) return false; let timestamp = null; const signatures = []; for (const part of header.split(',')) { const [key, value] = part.trim().split('=', 2); if (key === 't' && /^\d+$/.test(value ?? '')) timestamp = Number(value); if (key === 'v1' && /^[0-9a-f]{64}$/.test(value ?? '')) signatures.push(value); } if (timestamp === null || signatures.length === 0) return false; if (Math.abs(Date.now() / 1000 - timestamp) > toleranceSeconds) return false; const expected = await hmacHex(secret, `${timestamp}.${rawBody}`); return signatures.some((candidate) => safeEqual(expected, candidate));}
export default { async fetch(request, env) { const rawBody = await request.text(); const ok = await verifyAmableSignature( env.AMABLE_WEBHOOK_SECRET, request.headers.get('Amable-Signature'), rawBody, ); if (!ok) return new Response('bad signature', { status: 401 }); const event = JSON.parse(rawBody); // deduplicate on event.id, then process return new Response('ok'); },};Rules that matter:
- Compute the HMAC over the raw body bytes as received. Parsing and re-serializing the JSON changes spacing and key order and breaks the signature.
- Compare in constant time.
- Accept any
v1value in the header: deliveries to marketplace apps carry twov1values during a secret rotation (current and previous secret). Workspace endpoints always carry one. - Reject timestamps more than 5 minutes away from your clock, and keep your server clock synchronized.
Manage endpoints through the API
Section titled “Manage endpoints through the API”-
Create an endpoint subscribed to deal and order events:
Terminal window curl -X POST "https://crm.example.com/api/v2/t/acme/webhooks" \-H "Authorization: Bearer $AMABLE_KEY" \-H "Content-Type: application/json" \-d '{"url": "https://hooks.example.com/amable","description": "ERP sync","event_types": ["opportunity.won", "order.paid", "refund.recorded"]}'The answer is
201 { "endpoint": { … }, "secret": "whsec_…" }. -
List the available event types:
GET /webhooks/event-typesanswers{ "data": [ … ] }. -
Read the delivery log of the endpoint, only failures:
Terminal window curl "https://crm.example.com/api/v2/t/acme/webhooks/01JAB7END0000000000000000A/deliveries?status=failed&limit=100" \-H "Authorization: Bearer $AMABLE_KEY"Page back with
before=<created_at of the last row>. -
Replay a failed delivery:
POST /webhooks/deliveries/{deliveryId}/replay. -
Re-enable an endpoint disabled after failures:
Terminal window curl -X PATCH "https://crm.example.com/api/v2/t/acme/webhooks/01JAB7END0000000000000000A" \-H "Authorization: Bearer $AMABLE_KEY" \-H "Content-Type: application/json" \-d '{ "status": "active" }'
Reference
Section titled “Reference”API endpoints
Section titled “API endpoints”All paths are relative to /api/v2/t/<workspace> and require webhooks:manage.
| Method and path | Body or query | Answer |
|---|---|---|
GET /webhooks/event-types |
{ data: string[] }, sorted |
|
GET /webhooks |
{ data: Endpoint[] }, newest first |
|
POST /webhooks |
url, event_types, description? |
201 { endpoint, secret } |
GET /webhooks/{id} |
Endpoint |
|
PATCH /webhooks/{id} |
url?, description?, event_types?, status? |
Endpoint |
DELETE /webhooks/{id} |
{ ok: true }; the delivery log is deleted too |
|
POST /webhooks/{id}/rotate-secret |
{ secret }; the old secret stops working immediately |
|
POST /webhooks/{id}/test |
The webhook.test delivery after its first attempt |
|
GET /webhooks/{id}/deliveries |
limit (1-100, default 50), before (date-time), status |
{ data: Delivery[] }, newest first |
GET /webhooks/deliveries/{deliveryId} |
Delivery plus payload and last_response |
|
POST /webhooks/deliveries/{deliveryId}/replay |
The new delivery after its first attempt |
Every creation, update, deletion, secret rotation and replay is written to the workspace audit log.
Event catalogue
Section titled “Event catalogue”Subscribe with the exact names below, or * for everything (including event types added in future versions). All ids in data are strings; fields marked “or null” can be null.
Contacts and companies
Section titled “Contacts and companies”| Event | When | data |
|---|---|---|
contact.created |
A contact is created (dashboard, API, import, form, booking, app) | contactId |
contact.updated |
Contact fields change | contactId, changedFields (array of field names) |
contact.deleted |
A contact is soft-deleted | contactId |
contact.restored |
A soft-deleted contact is restored | contactId |
contact.merged |
Contacts are merged into this one | contactId (the survivor), mergedContactIds |
contact.tag_applied |
A tag is applied | contactId, tagId |
contact.tag_removed |
A tag is removed | contactId, tagId |
contact.score_changed |
The score changes | contactId, from, to (numbers) |
contact.owner_assigned |
The owner changes | contactId, ownerId (or null) |
company.created |
A company is created | companyId |
company.updated |
Company fields change | companyId, changedFields |
company.deleted |
A company is soft-deleted | companyId |
import.completed |
A contact import finishes | importId, created, updated, failed (counts) |
Notes, tasks and appointments
Section titled “Notes, tasks and appointments”| Event | When | data |
|---|---|---|
note.added, note.updated, note.deleted |
A note changes | noteId, contactId, companyId, opportunityId (each or null) |
task.created, task.updated, task.completed, task.reopened, task.deleted |
A task changes | taskId, contactId (or null), assignedTo (or null) |
appointment.created, appointment.updated, appointment.cancelled, appointment.deleted |
An appointment changes. A booking also emits appointment.created (with source booking) for the CRM appointment it creates, and cancelling a booking emits appointment.cancelled. |
appointmentId, contactId (or null), ownerId (or null); appointment.created also has source (manual, api or booking) |
| Event | When | data |
|---|---|---|
opportunity.created |
A deal is created | opportunityId, pipelineId, stageId, contactId (or null) |
opportunity.updated |
Deal fields change | same, plus changedFields |
opportunity.stage_changed |
The deal moves to another stage | same, plus fromStageId (or null), toStageId |
opportunity.won, opportunity.lost, opportunity.deleted |
The deal is won, lost or deleted | opportunityId, pipelineId, stageId, contactId (or null) |
Orders, payments and subscriptions
Section titled “Orders, payments and subscriptions”Every commerce payload includes contactId, amountMinor (integer, minor units), currency (ISO 4217) and visitorId (analytics visitor id captured on the order or subscription, or null).
| Event | When | Extra data |
|---|---|---|
order.created |
An order is finalized: a draft is finalized, an order is created directly with any status other than draft (subscription renewals included), or a checkout purchase is paid. Drafts emit nothing. |
orderId, orderNumber, productIds, subscriptionId (or null), source (manual, api, subscription, checkout), status. amountMinor is the order total. |
order.paid |
The order becomes fully paid (once) | same order fields, plus renewal (true when generated by a subscription renewal) |
order.cancelled |
An order is cancelled | same order fields |
payment.recorded |
A successful payment is recorded | paymentId, orderId, method, transactionId (or null), subscriptionId (or null), renewal |
payment.failed |
A failed charge is recorded | paymentId, orderId, method, transactionId (or null), subscriptionId (or null) |
refund.recorded |
A refund is recorded | refundId, orderId, paymentId (or null), transactionId (or null), full (true when the net paid amount reached zero) |
subscription.started |
A subscription starts | subscription fields (below), trial, orderId (or null) |
subscription.trial_started |
A trial starts | subscription fields, trialEndsAt |
subscription.trial_converted |
A trial converts to paid | subscription fields, orderId |
subscription.renewed |
A period is renewed | subscription fields, orderId, periodStart, periodEnd |
subscription.upgraded, subscription.downgraded |
The plan changes | subscription fields, fromPlanId, fromAmountMinor |
subscription.cancel_scheduled |
Cancellation at period end is scheduled | subscription fields, endsAt |
subscription.reactivated |
A paused subscription resumes, or a scheduled cancellation is withdrawn | subscription fields, from (paused or cancel_scheduled) |
subscription.paused |
Billing is paused | subscription fields |
subscription.past_due |
A renewal is not paid | subscription fields, orderId |
subscription.ended |
The subscription ends | subscription fields, reason (cancelled or period_end) |
Subscription fields: subscriptionId, productId, planId, interval (day, week, month, year), intervalCount; amountMinor is the price of one billing period (unit price times quantity).
Forms, bookings and landing pages
Section titled “Forms, bookings and landing pages”Booking and form payloads include a source object with utmSource, utmMedium, utmCampaign, utmTerm, utmContent, referrer, pageUrl and pageId (each a string or null).
| Event | When | data |
|---|---|---|
form.submitted |
A form submission is processed | formId, submissionId, contactId (null when the form maps no email or phone), contactCreated, fields (field key to display value, truncated, sensitive fields omitted), source, visitorId (or null) |
appointment.booked |
A visitor books on a booking page | appointmentId, bookingId, eventTypeId, calendarId, contactId, ownerId (or null), startsAt, endsAt (ISO UTC), timeZone (invitee IANA zone), source, visitorId (or null) |
appointment.rescheduled |
A booking moves to another time | the booking fields above (without source and visitorId), plus previousStartsAt, previousEndsAt |
page.published |
A landing page is published | pageId, versionId, version (number), path, host (or null) |
page.unpublished |
A landing page is taken offline | pageId, path, host (or null) |
Email events are emitted for real sends to contacts (automations, broadcasts, single emails, transactional emails). Test sends are never emitted, and email.opened is emitted for the first open only. Each payload has messageId and emailId (the same value: the email message id), contactId, and source, an object describing what sent the email:
source.type |
Other fields |
|---|---|
automation |
automationId, versionId, nodeId, stepId, enrollmentId |
broadcast |
broadcastId |
single |
userId (the member who sent it) |
transactional |
purpose (booking or esign), referenceId (the booking id, or the signature request id), userId (or null) |
| Event | When | Extra data |
|---|---|---|
email.sent |
The provider accepted the email | providerMessageId (or null) |
email.delivered |
The provider reports delivery | |
email.opened |
First open | unique (always true here) |
email.link_clicked |
A tracked link is clicked (every click) | url, linkIndex (position of the link in the email), unique (true for the first click on any link of that email) |
email.bounced |
Hard or soft bounce | bounceType (hard or soft), reason (or null) |
email.complained |
The recipient marked it as spam | |
email.unsubscribed |
The recipient unsubscribed | email, via (link, one_click, api, provider) |
Conversations
Section titled “Conversations”channel is <app id>:<channel key> of the channel app (for example a WhatsApp app).
| Event | When | data |
|---|---|---|
conversation.created |
A conversation starts | conversationId, contactId (or null), channel |
conversation.assigned |
It is assigned or unassigned | same, plus assignedTo (or null) |
conversation.closed, conversation.reopened |
It is closed or reopened | conversationId, contactId, channel |
message.received |
A contact writes | conversationId, contactId, channel, messageId, preview (first characters of the text) |
message.sent |
A team reply is confirmed as sent by the channel app, or the app records a message it sent outside the inbox | same as message.received |
message.status_changed |
The channel reports a delivery update | conversationId, contactId, channel, messageId, status (sent, delivered, read, failed), error (or null) |
Electronic signatures
Section titled “Electronic signatures”Every signature event names one signer: requestId (the signature request), templateId (the template it was sent from), signerId, contactId (the signer’s contact; null only when that contact was deleted after sending) and partyId (the party the signer signs as). See Signatures.
| Event | When | data |
|---|---|---|
esign.signer_notified |
The signing invitation of a signer is sent (reminders do not emit it) | the signer fields |
esign.signer_signed |
A signer signs | the signer fields |
esign.request_completed |
Every party has signed. Emitted once per signer, each with that signer’s fields | the signer fields |
esign.request_declined |
A signer declines; the request ends for every party | the signer fields, plus reason (or null) |
Analytics, apps and system
Section titled “Analytics, apps and system”| Event | When | data |
|---|---|---|
analytics.goal |
A web analytics goal is completed by a visitor linked to a CRM contact | contactId, siteId, goalName |
app.event |
An installed app fires one of its automation triggers | contactId, appId, key, name (app.<appId>.<key>), data (the app’s values) |
webhook.test |
Send test | message, endpointId |
booking.created is a retired name of appointment.booked. It is no longer offered in the list of event types, but it is still accepted when you create or update an endpoint (it is saved as appointment.booked), and endpoints that subscribed to it earlier are shown as subscribed to appointment.booked and receive bookings with type appointment.booked.
Limits and permissions
Section titled “Limits and permissions”| Item | Value |
|---|---|
| Permission | webhooks:manage (owner and admin roles by default) for the page and every API call |
| Endpoints per workspace | 20 |
| Event types per endpoint | 1 to 100 (or *) |
| URL length | 2,000 characters |
| Description | 200 characters |
| Timeout per attempt | 10 seconds |
| Attempts per delivery | 9 (first attempt plus 8 retries over about 23 hours) |
| Automatic disable | 20 failed attempts in a row, or a 410 answer, or a blocked URL |
| Response read | up to 64 KB; first 1 KB stored |
| Delivery log retention | 30 days |
| Signature tolerance (recommended) | 5 minutes |
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
422 invalid_url when adding an endpoint |
The URL points to a private, loopback or internal address, uses a non-standard port, or is not http(s) |
Use a public hostname on port 443 (or 80). For local development, expose your server through a tunnel with a public HTTPS URL. |
422 validation_failed “unknown event types: …” |
A name is misspelled or does not exist | Copy names from GET /webhooks/event-types or the event picker. |
409 limit_reached |
20 endpoints already exist | Delete unused endpoints, or subscribe one endpoint to more events. |
| Every delivery fails with a signature error on your side | The HMAC is computed over parsed and re-serialized JSON, or with the wrong secret | Use the raw body and the current whsec_… secret. After a rotation, update the secret on your server. |
| Signature valid but rejected as too old | Your server clock is off, or you queued the request before verifying | Synchronize the clock (NTP); verify on arrival. |
Deliveries show HTTP 301 or HTTP 302 |
Redirects are not followed | Register the final URL (for example with the trailing slash or https). |
Deliveries show response too large |
Your endpoint answered more than 64 KB | Answer with an empty or short body. |
| Endpoint shows Disabled with an alert | 20 failures in a row, a 410, or a blocked URL |
Fix the receiver, click Enable, then replay the failed deliveries you need. |
409 endpoint_disabled on replay |
Replays need an active endpoint | Enable the endpoint first. |
| The same event processed twice | At-least-once delivery | Deduplicate on Amable-Event-Id. |
| No deliveries at all | The endpoint is disabled, or not subscribed to that type | Check status and event_types; use Send test. |

