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

Get Webhook Event Types

get

Rate limit: 50 requests per minute

Authorizations
Responses
200

OK

application/json
get
GET /api/v1/webhooks/types HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Accept: */*
[
  {
    "description": "text",
    "event": "text"
  }
]

Get Webhook Subscriptions

get

Rate limit: 50 requests per minute

Authorizations
Responses
200

OK

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-08-23T12:47:59.549Z"
  }
]

Post Webhook Subscription

post

Rate limit: 50 requests per minute

Authorizations
Body
urlstring · uri · min: 1 · max: 2083RequiredExample: https://example.com
descriptionany ofOptional
stringOptional
or
nullOptional
Responses
200

OK

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-08-23T12:47:59.549Z",
  "client_secret": "text"
}

Get Webhook Subscription

get

Rate limit: 50 requests per minute

Authorizations
Path parameters
subscription_idintegerRequired
Responses
200

OK

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-08-23T12:47:59.549Z"
}

Delete Webhook Subscription

delete

Rate limit: 50 requests per minute

Authorizations
Path parameters
subscription_idintegerRequired
Responses
204

No Content

delete
DELETE /api/v1/webhooks/{subscription_id} HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Accept: */*

No content

Update Webhook Subscription Patch

patch

Rate limit: 100 requests per minute

Authorizations
Path parameters
subscription_idintegerRequired
Body
eventsany ofOptional
or
nullOptional
urlany ofOptional
string · uri · min: 1 · max: 2083OptionalExample: https://example.com
or
nullOptional
descriptionany ofOptional
stringOptional
or
nullOptional
enabledany ofOptional
booleanOptional
or
nullOptional
Responses
200

OK

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-08-23T12:47:59.549Z"
}

Last updated

Was this helpful?