List roles
List the roles available for an organization. The result combines predefined and user-defined roles.
accounts.roles--all:roAuthorizations
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.
Response
OK: Returns the list of roles.
Unique role definition ID.
The default product for the account.
LiveChat, Accounts, ChatBot, HelpDesk, OpenWidget The role name; can be one of the predefined roles or a custom role name.
owner, viceowner, administrator, normal, member The role type: primary is an obligatory accounts role, secondary is a basic product role, custom is a custom-defined role.
If true: the role is common across all organizations. If false: the role is specific to an organization.