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.

認証

AuthorizationBearer

Pass your EmpirioLabs API key as a bearer token. The Anthropic-style x-api-key header is also accepted on every endpoint.

パスパラメータ

instance_idstring必須

リクエスト

This endpoint expects an object.
modeenum必須
許可された値:
kindenumオプション
Optional connected channel kind to update when sent in the JSON body.
allowobjectオプション

Per-channel allowlist of messaging IDs, e.g. { “telegram”: [“123456”] }.

レスポンス

Access policy updated.