Management

Endpoints

Method
Path
Description

POST

/webhooks

Create webhook

GET

/webhooks

List webhooks

GET

/webhooks/:id

Get webhook

PATCH

/webhooks/:id

Update webhook

DELETE

/webhooks/:id

Delete webhook

POST

/webhooks/:id/test

Send test event

POST

/webhooks/:id/rotate-secret

Rotate signing secret

GET

/webhooks/:id/deliveries

List delivery history


Create Webhook

POST /webhooks

Request Body:

{
  "url": "https://your-server.com/webhooks",
  "events": ["trade.filled", "trade.closed"],
  "description": "Production webhook"
}

Response:

⚠️ The secret is only returned on creation. Store it securely for signature verification.


List Webhooks


Update Webhook


Delete Webhook


Test Webhook

Sends a test event to your webhook URL.


Rotate Secret

Generates a new signing secret. The old secret is immediately invalidated.


Delivery History

Returns recent delivery attempts with status codes and response times.

Last updated

Was this helpful?