Saltar al contenido principal

Webhooks

Webhooks

Aivyro avisa a tu HTTPS cuando cambia el CRM o el inbox. Sin polling.

POST/api/v1/webhooks

Suscribe un endpoint HTTPS. La URL debe ser HTTPS y no puede apuntar a una red privada.

HTTPPathScope
GET/api/v1/webhooksrest.crm.webhooks.read
POST/api/v1/webhooksrest.crm.webhooks.write
GET/api/v1/webhooks/{id}rest.crm.webhooks.read
PATCH/api/v1/webhooks/{id}rest.crm.webhooks.write
DELETE/api/v1/webhooks/{id}rest.crm.webhooks.write
GET/api/v1/webhooks/{id}/deliveriesrest.crm.webhooks.read
POST/api/v1/webhooks/{id}/rotate_secretrest.crm.webhooks.write

GET /api/v1/webhooks devuelve un array JSON, no una página de cursor. Workspace vacío: []. signing_secret aparece solo en create y rotate.

Campos

CampoTipoNotas
idUUIDInmutable.
urlstringHTTPS. Sin red privada.
eventsstring[]Al menos uno en create.
activebooleanPATCH para pausar.
signing_secretstringSolo en create y rotate.