Skip to main content
WEBHOOK

Headers

X-Webhook-Token
string
required

The token of the webhook settings that subscribe the URL to the event. Process the request only when it equals the token that your system stored.

Body

application/json

The event, with its identifier, its name and its payload.

id
string<uuid>
required

The unique identifier of the event. Each URL that subscribes to the event, and each retry of a delivery, receives the same id.

event
enum<string>
required

The name of the event.

Available options:
plan.deleted
payload
object
required

The record as its public route answered it before its deletion.

Response

2XX

Answer with a 2XX status to confirm the delivery. Aira retries a delivery that gets another status, a redirect or no answer.