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.

Scopes

agent

Act as the agent chosen at sign-in

Path Parameters

id
string
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 starts with team, except on Telegram, which lists the account that creates its bot from Artil, and its Message URL is never open to anyone

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

Email addresses, phone numbers, Telegram user ids, group ids and usernames, Slack member ids and #channels, or for the Message URL the ids of agents and members