Skip to content

Get a webhook

View as Markdown

GET/v1/webhooks/{id}Scope webhooks

One webhook by its ID. The signing secret is never returned.

Name Type Description
id required string ID of the webhook.

200 OK · data

Field Type Description
createdAt date-time When it was created.
enabled boolean Whether deliveries are active.
events string[] Events the webhook receives.
id integer Unique ID.
name string Name in the language of Accept-Language.
updatedAt date-time When it last changed.
url string HTTPS URL that receives the deliveries.
version string Payload version the webhook receives.
Example
{
"data": {
"id": 7,
"name": "ERP sync",
"url": "https://erp.example.com/hooks/duty",
"events": [
"ticket.created",
"ticket.status_changed"
],
"enabled": true,
"version": "v1",
"createdAt": "2026-12-01T09:00:00Z",
"updatedAt": "2026-12-01T09:00:00Z"
}
}

Errors share one shape; see Errors for every key.

Terminal window
curl 'https://api.client.service-desk.goldmaster.io/v1/webhooks/7' \
-H "Authorization: Bearer $DUTY_API_KEY"