v1

latestOpenAPI 3.1.02026-08-0452419.0 KB
webhooks

Subscribe to purchase events

post/webhooks/subscriptions

Headers

Authorizationstring required

Production machine-to-machine flow. Tokens issued by Descope.

Request body

urlstring uri required

HTTPS endpoint where Andel will POST events.

event_typesSubscriptionCreateEventTypesItems[] required
descriptionstring

Human-readable label for this subscription.

Response

Subscription created. The response includes the signing secret used to verify webhook payloads.

subscription_idstring uuid required
urlstring uri required
event_typesstring[] required
descriptionstring
created_atstring date-time required
signing_secretstring required

Secret used to verify the X-Andel-Signature header on webhook deliveries. Returned once at creation.