Webhooks
Subscribe to an event
Creates a new subscription.
post/webhooks
Request
- Base URLhttps://api.dojo.tech
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
versionstring date required
The API version with format yyyy-mm-dd. The current version is 2026-02-27.
Request body
Example request
{
"events": [
"payment_intent.created",
"payment.successful",
"order.created"
],
"url": "https://example.com/incoming-events"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.