curl --request POST \
--url https://api.skulabs.com/webhook/add_handler \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"name": "<string>",
"handler": {
"url": "<string>",
"method": "<string>",
"headers": {}
}
}
'{
"success": true
}Creates a new webhook handler
curl --request POST \
--url https://api.skulabs.com/webhook/add_handler \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"name": "<string>",
"handler": {
"url": "<string>",
"method": "<string>",
"headers": {}
}
}
'{
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Webhook event type. Common patterns: order.status., order.shipped, order.tracking, order.tags, item.inventory, item.updated, shipment.created, shipment.voided, purchase_order., transfer_order.*
User-friendly name for the webhook handler
Webhook handler configuration
Show child attributes
Webhook handler created
Whether the operation succeeded