Webhooks
Activar o desactivar webhook
Activa o desactiva un webhook sin eliminarlo. Un webhook desactivado no recibe entregas pero mantiene su configuración y logs.
patch/v1/webhooks/{webhookId}
Request
- Base URLhttps://connect.cliengo.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
webhookIdstring required
ID del webhook
Request body
Response
Estado actualizado
Example response
{
"id": "60a1b2c3d4e5f6a7b8c9d0e1",
"websiteId": "*",
"url": "https://tu-servidor.com/webhook",
"eventTypes": [
"conversation/created",
"contact/created"
],
"isActive": true,
"secret": "whsec_aBcDeFgHiJkLmNoPqRsTuVwXyZ123456",
"retryCount": 5,
"customHeaders": {
"X-Custom-Key": "valor"
}
}Changes
No recorded changes to this operation across all 3 revisions of this API.