POST with a JSON body.
Managing endpoints
Manage endpoints in the dashboard, or from your own code with an API key:
Both doors take the same calls:
An org can have at most 20 endpoints.
Endpoint fields
Shell
last_delivery_at, last_status, last_error and failing_since.
Events
A delivery
Each delivery is aPOST to your URL with a JSON body:
Body
Verifying the signature
v1 is the hex HMAC-SHA256, keyed with the endpoint’s signing secret, of the string <t>.<body>: the t value, a full stop, and the raw request body exactly as received.
- Split the header on
,and readtandv1. - Compute the HMAC over
t + "." + rawBody. - Compare it with
v1in constant time. - Reject the delivery if
tis more than 5 minutes old.
Node
Retries
Answer with any2xx to accept a delivery. Any other status, or no answer within 10 seconds, is retried up to 14 times with exponential backoff, spread over about a day. Redirects are not followed: a 3xx counts as a failure.
Because a retry carries the same Attensira-Delivery, a receiver that stores the ids it has handled can treat a repeat as already done.