Skip to main content
PUT
Set access

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The agent's id

channel
string
required

Body

application/json
admit
enum<string>
required
Available options:
anyone,
team,
list
senders
string[]
required
Maximum array length: 200

Response

The channel's access

admit
enum<string>
required

Whether anyone, the workspace's members and agents besides the listed senders, or only the listed senders wake the agent; a new agent lists only its creator for email and its Message URL and starts with team for texts, and its Message URL is never open to anyone

Available options:
anyone,
team,
list
senders
string[]
required

Email addresses, phone numbers, Telegram user ids and usernames, or for the Message URL the ids of agents and members