1
Connect a destination
ping to your URL. It must answer 2xx within
ten seconds. Make the endpoint acknowledge a POST it does not recognise before you run
this.One destination per provider
One destination per provider
A workspace has one destination per provider. Posting a second one updates the first.A URL that does not answer is a 422
endpoint_unreachable, and no destination is
created.2
Add a routing rule
name is the stable key of the rule inside the destination. Sending the same name again
updates that rule and leaves its cursor alone.3
Verify the signature
The payload
One POST per delivery, never a batch.id is the delivery id and does not change across retries. Use it as your idempotency key.
What timestamp and data mean
What timestamp and data mean
timestamp is when we sent this attempt, not when the fact happened. That moment is inside
data.data is frozen as it was composed when the fact occurred. That is why the ledger can still
tell you what you were told months ago.Test it later
{ ok, status, body, error }. Nothing is written to
the ledger.
Why a refusal is a 200
Why a refusal is a 200
A receiver that refuses is
ok: false inside a 200. The test ran, and its answer was no.There is no Idempotency-Key here, since pressing test twice has to send two events.