Ir al contenido

Obtener un webhook

Ver como Markdown

GET/v1/webhooks/{id}Scope webhooks

Un webhook por su ID. El secreto de firma nunca se devuelve.

Nombre Tipo Descripción
id obligatorio string ID del webhook.

200 OK · data

Campo Tipo Descripción
createdAt date-time Cuándo se creó.
enabled boolean Si las entregas están activas.
events string[] Eventos que recibe el webhook.
id integer ID único.
name string Nombre en el idioma de Accept-Language.
updatedAt date-time Cuándo cambió por última vez.
url string URL HTTPS que recibe las entregas.
version string Versión del payload que recibe el webhook.
Ejemplo
{
"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"
}
}

Todos los errores tienen la misma forma; en Errores están todas las claves.

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