Get webhooks
GET /merchants/webhooks
Returns all webhooks configured for the authenticated merchant.
The API returns all webhooks in a single array. It returns an empty array if no webhooks exist.
Response
{
"webhooks": [
{
"publishable_id": "twhs_abc123xyz",
"webhook_url": "https://example.com/shippit-webhook",
"enabled_states": ["ready_for_pickup", "in_transit", "completed"],
"hide_delivery_address": false,
"hide_receiver_details": false,
"enabled": true,
"headers": [
{ "key": "X-Custom-Token", "value": "*****" }
]
}
]
}