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.
Authentication
AuthorizationBearer
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Path parameters
instance_id
Request
This endpoint expects an object.
mode
Allowed values:
kind
Optional connected channel kind to update when sent in the JSON body.
allow
Per-channel allowlist of messaging IDs, e.g. { “telegram”: [“123456”] }.
Response
Access policy updated.
