Referencia de endpointsWebhooks
Obtener un webhook
GET
bearerAuthheader
AutorizaciónBearer <token>Token de API creado en Ajustes → API. Los alcances están vinculados al token; cada operación indica el alcance requerido en x-scope.
id*stringFormato
uuidorg_id?stringSolo socios (orgs:manage): actúa sobre esta organización hija. También se puede enviar como org_id en cuerpos JSON.
Formato
uuidWebhook
application/json- response
id?stringFormato
uuidorg_id?stringFormato
uuidstore_id?|null = organization-wide
Formato
uuidtype?stringValor en
"webhook""slack""teams"name?stringurl?|Formato
uriformat?stringValor en
"json""slack""teams"has_secret?booleanevents?array<>|null = all events
min_severity?stringValor en
"critical""high""medium""low""info"active?booleanlast_used_at?|Formato
date-timecreated_at?stringFormato
date-timeupdated_at?stringFormato
date-timecurl -X GET "https://example.com/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0", "type": "webhook", "name": "string", "url": "http://example.com", "format": "json", "has_secret": true, "events": [ "alert.created" ], "min_severity": "critical", "active": true, "last_used_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}