Credentials
Optional. Uses an HTTP Auth Headers credential to attach headers to every delivery.Credential headers overwrite destination headers with the same exact name and casing.
Request
Arklow sends this 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
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:
Retries carry the next attempt number and continue until the action times out.
Add a webhook to Arklow
1
Open the destinations page
Go to Destinations and click Create destination.
2
Pick the type
Set Destination Type to Webhook.
3
Configure the endpoint
Enter the URL. Add headers if your endpoint expects them.
4
Save
Click Create destination.