Get All Roles

GET https://api.profit.co/app/dao/appsservlet?a=getRolesByAppId&appId=&isPrivilegeListNeed=Y&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>

To get all the roles

Response

In the API response use only the below Profit roles

PROFIT_MANAGER

PROFITREADONLY

PROFIT_USER

SUPER_USER

TASK_USER

Request Params

KeyDatatypeRequiredDescription
astring
appIdnull
isPrivilegeListNeedstring
apiKeystringRequired: API key of your Profit.co Account
accessKeystringRequired: Access key of your Profit.co Account