# Webhooks

A way to get notified about order state changes.

# List all webhooks

GET /webhooks
200 OK
401 undefined
429 undefined

# Create a webhook

POST /webhooks
Request Body Schema
200 OK
400 undefined
401 undefined
429 undefined

# Get a webhook

GET /webhooks/{id}
Path parameters
200 OK
401 undefined
404 undefined
429 undefined

# Update a webhook

PUT /webhooks/{id}
Path parameters
Request Body Schema
200 OK
400 undefined
401 undefined
404 undefined
429 undefined

# Delete a webhook

DELETE /webhooks/{id}
Path parameters
200 OK
401 undefined
404 undefined
429 undefined

# Rotate a webhook secret

The existing secret will be invalidated immediately and subsequent webhook payloads will be accompanied by HMACs using the new secret.

PUT /webhooks/{id}/rotate-secret
Path parameters
200 OK
401 undefined
404 undefined
429 undefined