Listing
GET
/api/v1/rolesReturns the roles defined in your workspace. A role is a bundle of permissions.
Call this first when creating or updating users: the id values here are what roleIds expects. Roles change rarely, so fetching once per run is enough.
Note this is unrelated to a user's role within a queue (agent or manager), which is set by Automation Queue → Add Member.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
Responses
200OK
OK
requestIdstringrequiredUnique ID for this request. Quote it when reporting a problem.
dataarray[object]requiredChild attributes
idstringrequiredRole ID. Use this in
roleIdswhen creating or updating a user.systemNamestringrequireddisplayNamestringrequireddescriptionstring | nullrequired
401Unauthorized
Unauthorized
messagestringrequired
429Too Many Requests
Too Many Requests
messagestringrequired