Webhooks are used to get real time guaranteed messages of ecosystem events such as state finalization, transfers, marketplace sales, and more from the platform.
You can use OpenAPI Swagger file below to generate webhook handler:
A webhook event is considered successfully received when the webhook service responds with a 200 OK status.
In all other cases, the API will retry sending the same event with increasing timeouts between attempts. To maintain data integrity, all events are organized into a sequential chain. Therefore, until the webhook service successfully accepts a specific event, all subsequent events will be naturally blocked.
For this reason, responses other than 200 should not be used as a feedback mechanism (e.g., to indicate a mismatch between the expected and actual state of some entity). Such retries will not lead to a different outcome, other than the accumulation of pending events.
The maximum retention period for accumulated events is 7 days. After this period, the events will be lost.