Set who can message a hosted agent
mode is open (anyone) or restricted (only allowed messaging IDs). With restricted and no IDs, the first person to message becomes the owner.
Autenticación
AuthorizationBearer
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Parámetros de ruta
instance_id
Solicitud
This endpoint expects an object.
mode
Valores permitidos:
kind
Optional connected channel kind to update when sent in the JSON body.
allow
Per-channel allowlist of messaging IDs, e.g. { “telegram”: [“123456”] }.
Respuesta
Access policy updated.
