Webhooks API Reference
SQUAKE Webhooks API reference for creating, updating and deleting webhooks
Creating a Webhook
To create a new webhook, send a POST request to the webhook endpoint.
Endpoint
Request Parameters
kind
string
Yes
The type of webhook. Must be one of: order
, confirmation_document_available
, certificate_document_available
endpoint_url
string
Yes
The URL where webhook events will be sent
Headers
Authentication is required (based on the controller inheriting from BaseController)
Request
Response
Success (201 Created)
Updating a Webhook
Update an existing webhook configuration.
Endpoint
Request Parameters
kind
string
No
The type of webhook. Must be one of: order
, confirmation_document_available
, certificate_document_available
endpoint_url
string
No
The URL where webhook events will be sent
Example Request
Response
Success (200 OK)
Not Found (404)
Returned when the webhook ID doesn't exist or belongs to another client.
Deleting a Webhook
Remove an existing webhook configuration.
Endpoint
Example Request
Important Notes
The webhook signing key is only returned once during webhook creation. Make sure to store it securely.
The endpoint URL must be a valid HTTPS URL that can receive POST requests.
Each client can create multiple webhooks for different purposes.
Available webhook kinds:
order
: Notifications about order-related evenconfirmation_document_available
: Notifications when confirmation documents become availablecertificate_document_available
: Notifications when certificate documents become available
Last updated