Webhooks
Update a webhook
Update an existing webhook's topic, URL, or metadata.
Authorisation
Bearer token required. Include in the
Authorization header.
Path parameters
webhook_id required
The ID of the webhook.
Example: 1
Request body
topic
url
meta
Request body example
application/json
{
"topic": "product:created",
"url": "https://example.com/webhook",
"meta": []
} Update a webhook
curl https://web.signcustomiser.com/api/v2/webhooks/1 \
--request PUT \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"topic": "product:created",
"url": "https://example.com/webhook",
"meta": []
}' Response 200
{
"webhook": {
"webhook_id": 1,
"topic": "order:created",
"url": "https://example.com/webhook-updated",
"status": "active",
"secret": "abc123...",
"meta": {},
"created_at": "2024-01-01T00:00:00.000000Z",
"updated_at": "2024-01-02T00:00:00.000000Z"
}
}