Webhooks
This section of the API documentation provides details on the webhooks available in our system.
Subscription Management
This page lists helper endpoints that allow you to subscribe to and unsubscribe from webhooks.
Webhook Details
Each webhook is documented separately on individual subpages, providing specific information on their payload structure.
Endpoints for Subscription Management
Authorizations
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
get
GET /api/v1/webhooks/ HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
[
{
"events": [
"order.created"
],
"url": "https://example.com",
"id": 1,
"description": "text",
"enabled": true,
"created_at": "2025-07-08T15:57:43.132Z"
}
]
Authorizations
Body
urlstring · uri · min: 1 · max: 2083RequiredExample:
https://example.com
descriptionany ofOptional
stringOptional
nullOptional
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
post
POST /api/v1/webhooks/ HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"events": [
"order.created"
],
"url": "https://example.com",
"description": "text"
}
{
"events": [
"order.created"
],
"url": "https://example.com",
"id": 1,
"description": "text",
"enabled": true,
"created_at": "2025-07-08T15:57:43.132Z",
"client_secret": "text"
}
Authorizations
Path parameters
subscription_idintegerRequired
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
404
Not Found
application/json
get
GET /api/v1/webhooks/{subscription_id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
{
"events": [
"order.created"
],
"url": "https://example.com",
"id": 1,
"description": "text",
"enabled": true,
"created_at": "2025-07-08T15:57:43.132Z"
}
Authorizations
Path parameters
subscription_idintegerRequired
Responses
204
No Content
400
Bad Request
application/json
401
Unauthorized
application/json
404
Not Found
application/json
delete
DELETE /api/v1/webhooks/{subscription_id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Authorizations
Path parameters
subscription_idintegerRequired
Body
eventsany ofOptional
or
nullOptional
urlany ofOptional
string · uri · min: 1 · max: 2083OptionalExample:
https://example.com
nullOptional
descriptionany ofOptional
stringOptional
nullOptional
enabledany ofOptional
booleanOptional
nullOptional
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
404
Not Found
application/json
patch
PATCH /api/v1/webhooks/{subscription_id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"events": [
"order.created"
],
"url": "https://example.com",
"description": "text",
"enabled": true
}
{
"events": [
"order.created"
],
"url": "https://example.com",
"id": 1,
"description": "text",
"enabled": true,
"created_at": "2025-07-08T15:57:43.132Z"
}
Last updated
Was this helpful?