WebhooksWebhooks Schema

Webhooks

The webhook schema defines the structure of payloads sent by Apara to notify your system about key events. These notifications are sent in real-time as JSON objects and are triggered at both the user and order levels.

Webhooks ensure your system stays updated with the latest status changes, providing all necessary details for seamless event processing.

Each webhook payload contains the following key fields, offering crucial information about the event:

FieldTypeDescription
entityTypeStringSpecifies the type of entity triggering the event (user-level or order-level)
entityIdStringUnique identifier of the entity (user or order)
statusStringCurrent status of the entity
userObjectContains user information relevant to the event
orderObjectContains order information relevant to the event