Skip to main content
PATCH
Update agent

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Path Parameters

agentID
string
required

Body

application/json
name
string

Full name

Example:

"John Text"

signature
object
jobTitle
string

Job title

Example:

null

avatar
string

Avatar URL

Example:

"https://livechat.s3.amazonaws.com/1520/avatars/c17903a3abff472f4b36ac33187cc135.jpeg"

roles
enum<string>[]

The agent's role on the license.

Available options:
owner,
normal,
viewer
teamIDs
string[]

List of teams that agent is a member of

flags
object
settings
object
transactionID
string<uuid>

The attachment transaction ID. Used when setting the signature that includes attachments.

autoassignment
boolean

Enable autoassignment for the agent

autoassignmentTeamIDs
string[]

List of teams from which an agent can be auto-assigned

Example:

Response

200 - application/json

Successful response.

ID
string<uuid>

Unique object identifier.

licenseID
integer

Unique account identifier.

createdAt
string<date-time>

The time of creation.

createdBy
string<uuid>

The creator identifier.

createdByType
enum<string>

The creator type.

Available options:
agent,
client,
system
updatedAt
string<date-time>

The time of last modification.

updatedBy
string<uuid>

The modification author identifier.

roles
enum<string>[]

Agent role

Available options:
owner,
normal,
viewer
teamIDs
string[]

A list of teams that agent is a member of.

email
string

The agent's email.

name
string

The full name.

status
enum<string>

The account status.

Available options:
active,
invited
avatar
string

The avatar URL.

jobTitle
string

The job title.

flags
object
settings
object
autoassignment
boolean

Enable autoassignment for the agent.

autoassignmentTeamIDs
string[]

A list of teams from which an agent can be auto-assigned.

signature
object