Webhooks API Reference
SQUAKE Webhooks API reference for creating, updating and deleting webhooks
Creating a Webhook
Endpoint
POST /api/v2/webhooksRequest Parameters
Parameter
Type
Required
Description
Headers
Request
curl -X POST \\
<https://api.squake.earth/v2/webhooks> \\
-H 'Authorization: Bearer YOUR_API_TOKEN' \\
-H 'Content-Type: application/json' \\
-d '{
"kind": "order",
"endpoint_url": "<https://your-domain.com/webhook-receiver>"
}'
Response
Success (201 Created)
Updating a Webhook
Endpoint
Request Parameters
Parameter
Type
Required
Description
Example Request
Response
Success (200 OK)
Not Found (404)
Deleting a Webhook
Endpoint
Example Request
Important Notes
Last updated