1. Registra tu URL pública HTTPS1. Register your public HTTPS URL
Un único endpoint recibe las llamadas de todas tus herramientas; cada petición indica en el cuerpo qué herramienta se invoca.A single endpoint receives calls for all your tools; each request specifies the tool name in the body.
PUT /v1/integration
Authorization: Bearer zvk_...
{ "endpoint_url": "https://api.tu-negocio.com/zaveli/tools" }
2. Genera y rota tu secreto de firma HMAC2. Generate and rotate your HMAC signing secret
Cada llamada saliente y cada webhook va firmado con tu secreto (`zsk_...`), con ventana de 24 horas al rotar para no interrumpir tráfico.Every outbound tool call and webhook is signed with your secret (`zsk_...`), with a 24-hour overlap window during rotation.
POST /v1/integration/signing-secret
Authorization: Bearer zvk_...
3. Declara tus herramientas como datos3. Declare your tools as data
Define el esquema JSON de entrada, si es lectura o escritura, el tiempo máximo de respuesta y si compromete dinero. Antes de activarse, Zaveli ejecuta una comprobación de conformidad.Define the input JSON schema, read/write effect, timeout, and whether it commits money. Before activation, Zaveli runs a conformance check.
PUT /v1/integration/tools/crear_pedido
{
"description": "Crea un pedido con los productos confirmados por el cliente.",
"effect": "write",
"commits_money": true,
"timeout_ms": 3000,
"input_schema": { "type": "object", "required": ["productos"] }
}
4. Recibe eventos por webhook y opera vía API o MCP4. Receive webhook events and operate via API or MCP
Suscríbete a cambios de etapa, reservas, alertas o mensajes con permisos granulares (`read`, `write`, `publish`, `contact_address`, `message_text`), o administra tu configuración con nuestro servidor MCP.Subscribe to stage changes, bookings, alerts, or messages with granular scopes (`read`, `write`, `publish`, `contact_address`, `message_text`), or manage your setup with our MCP server.