Referencia (endpoints)Alertas

Configurar el horario de silencio

Úsalo para definir una franja horaria sin alertas, por ejemplo de noche, o para desactivarla.

PUT
/alerts/quiet-hours

Escritura · requiere Números de WhatsApp → Editar.

Reemplaza el horario de la cuenta (hay uno solo). start_time y end_time van en HH:MM; end_time puede ser anterior a start_time para un horario que cruza la medianoche.

Autorización

http
headerAuthorizationBearer <clave>

Cuerpo del pedido

application/json
  1. body
enabled*boolean
start_time?string|null
end_time?string|null

Cuerpo de la respuesta

El horario guardado.

application/json
  1. response
enabled*boolean
start_time*string|null
end_time*string|null
curl -X PUT "https://example.com/alerts/quiet-hours" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "enabled": true,  "start_time": "string",  "end_time": "string"}

Esto es lo que se copia para tu IA

Cargando…