Docs

Developers

Webhooks

Webhooks allow Ospree to send real-time HTTPS notifications to your webhook endpoint whenever specific events occur within the platform. Instead of continuously polling for updates, your system receives automated event-based callbacks, ensuring timely and efficient data synchronization. This is particularly useful for tracking compliance-related activities, transaction monitoring, and risk alerts triggered outside your system.

How a webhook reaches you, so your system does not have to poll for updates.

How a webhook reaches you, so your system does not have to poll for updates.

For example, you can receive notifications when a new incoming transfer request is received or when the status of a transfer changes. Key sections include Webhook Events, Webhook Delivery and Retries and Webhook Security.

Webhook endpoints

A webhook endpoint is a URL on your server, a signing secret, and the events it subscribes to within one event family (for example TRAVEL_RULE).

  • Your endpoint must be a public https URL. Ospree never delivers to http URLs or to private network addresses.

  • You can have up to 5 endpoints per event family.

  • The Configure Webhook call updates the family’s endpoint, or creates one when the family has none. It never adds a second endpoint, and returns 409 when the family already has more than one. Use Delete Webhook to remove a specific endpoint by its id.

The Webhook API in the API Reference (Live · Demo) covers:

  • configuring, listing and deleting webhook endpoints, and listing the available event families;

  • rotating and activating an endpoint’s signing secret;

  • listing delivery attempts and retrying a delivery.