List
List all account roles
List
GET
https://{{account_id}}.acquire.io/api/v1/account/role
Retrieve a list of the account's roles
Query Parameters
Name
Type
Description
select
array
Specify which fields you'd like in the response
relations
string
Specify relations with other entities
where
object
Specify a condition to limit the response
order
object
Specify the order descending or ascending order
Headers
Name
Type
Description
Authorization
string
Bearer {{API_KEY}}
{
"data": {
"count": 2,
"data": [
{
"id": 1,
"roleName": "Administrator",
"permissionType": null,
"meta": null
},
{
"id": 2,
"roleName": "Operator",
"permissionType": {
"bot": [],
"chat": [],
"voIP": [],
"email": [],
"media": [],
"settings": [
"profile"
],
"triggers": [],
"analytics": [],
"app-store": [],
"dashboard": [
"case",
"company",
"contact",
"field",
"filter",
"follow-up",
"messenger",
"note",
"objects",
"timeline",
"ui-component",
"view"
],
"access-level": [],
"knowledge-base": []
},
"meta": {
"accessLevel": "account"
}
}
]
}
}
Last updated