Skip to navigation

webhook.test

View as Markdown

Sent to one subscription when you send a test event, whatever event types the subscription lists. It names no resource and carries no applicant data, and the event feed doesn’t hold it. See Webhooks to check the signature and handle retries.

Headers

webhook-idstringRequired
The ID of the delivered message. It stays the same on every retry of that message.
webhook-timestampstringRequiredformat: "^[0-9]+$"
When the message was signed, in Unix seconds.
webhook-signaturestringRequired
One or more signatures, separated by spaces. Accept the message if any one of them matches.

Payload

The payload of this webhook request is an object.
idstringRequiredformat: "^evt_[a-z0-9]{8,64}$"

The test event ID, which starts with evt_test.

typestringRequired
The test event type. No subscription names it, and the event feed never holds it.
occurred_atdatetimeRequired
When Truvo accepted the test request. A retry of the same request key gives the same time.
environmentstringRequired

The environment of the call: sandbox or live.

subscription_idstringRequiredformat: "^sub_[a-z0-9]{8,64}$"
The subscription that the test goes to.

Response

200

Answer with a 2xx status within 15 seconds to confirm the delivery.