APIs / Platform

Webhook API

Manage webhook endpoints and delivery.

GET/v1/webhooks

List webhook endpoints.

Response

{ "data": [] }
POST/v1/webhooks

Create an endpoint.

Request body

{ "url":"https://you.co/hook","events":["sale.completed"] }

Response

{ "id":"wh_...","secret":"whsec_..." }