Credentials
Optional. Uses an HTTP Auth Headers credential to attach headers to every delivery.N.B: Credential headers overwrite destination headers of the same name.
Request
Arklow makes the following request to your endpoint:- Method:
POST - URL: the URL configured on the destination.
- Headers:
- All headers configured on the destination, plus the credential’s headers.
Content-Type:application/jsonx-arklow-actionid: the id of the action being delivered.x-arklow-attempt: the attempt number, starting at0.
- Body: the action’s payload, as JSON.
Response
A delivery settles by ack or nack. Your response can carry it in two ways:- Headers
- Body
x-arklow-signaling takes ack, nack, or mod_ack. x-arklow-signaling-val carries the value in seconds, where one applies.Signals
| Signal | Effect |
|---|---|
ack | The action succeeds. |
nack | The attempt fails and is redelivered. A value in seconds schedules the redelivery. |
mod_ack | Holds the action in ack_wait for the value in seconds, or 60 without one. |
Unsignaled responses
A2xx response with no signal follows the destination’s signaling config:
- With
{"enabled": true, "default": "ack"}, the action succeeds immediately. - Otherwise, the action waits in
ack_waitfor 60 seconds. An attempt that passes its deadline unsettled is redelivered under the next attempt number.
Settling later
A delivery can settle after the response, through the ingress endpoints/v1/ack, /v1/nack, and /v1/modack. Use the x-arklow-actionid and x-arklow-attempt from the delivery.
- A settle applies only to the attempt it names.
- Within nack
terms:retry_attakes unix seconds and schedules the retry.retry: falsemakes the failure permanent. With neither set, Arklow schedules the retry itself. mod_ackextends the settlement deadline by the given seconds.
Failures
Any other response classifies as follows:| Your response | What Arklow does |
|---|---|
429 | Rate limited. retry-after is honored. |
500 502 503 504 | Unavailable. Retried, and Arklow backs off. |
408 409 425 | Retried. |
other 4xx | Rejected. Retried after retry-after, or 60 seconds without one. |
Add a webhook to Arklow
Open the destinations page
Go to Destinations and click Create destination.