API and postbacks
How to send events directly from your own server using the REST API, and how outbound webhooks work.
What this is
The REST API lets any custom store or server send order, lead, offline conversion, and refund events straight to the platform. Outbound webhooks let the platform notify your systems of events using a signed payload.
Why it matters
Use this when a supported connector (WooCommerce, Wix, or CubeCart) does not fit your setup, or when you need finer control over event delivery from a custom server.
How to do it
- In Integration Center, open the API credentials tab and create a scoped credential for your program, choosing whether it is test mode.
- Send events to
POST /api/public/v1/eventswith anAuthorization: Bearer YOUR_CREDENTIAL_SECRETheader, aContent-Type: application/jsonheader, and a uniqueIdempotency-Keyheader for every request; a duplicate key returns 200 without creating another conversion or commission. - Use one of the accepted event types: order.created, order.paid, order.completed, order.refunded, order.partially_refunded, order.cancelled, chargeback.created, chargeback.reversed, lead.submitted, lead.accepted, or offline.conversion.
- Test credentials must send
test_mode: true; live credentials must sendtest_mode: false. - To receive outbound webhooks, open the Outbound webhooks tab, create an endpoint with a URL and the event types you want, and copy the signing secret shown once. Verify the
X-DA-Signatureheader as HMAC-SHA256 over the raw JSON body using that secret.
What happens next
Response code 202 means the event was accepted; 200 means it was already received. A 400 means an invalid payload or missing idempotency header, 401 means the credential is missing or revoked, 403 means a mismatch of mode, program, or scope, and 422 means an unsupported event type or data.
Common mistakes
Do not reuse an idempotency key across genuinely different events, and do not skip signature verification on inbound webhooks you receive from the platform.
See Developer Center for the same reference material inside the app.
Last updated September 9, 2026.
