Logo
Profit.co's Public API Documentation

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

 

Body PARAM

Key Datatype Required Description 
a
string
appId
null
isPrivilegeListNeed
string
apiKey
string Required: API key of your Profit.co Account
accessKey
string Required: Access key of your Profit.co Account



HEADERS

Key Datatype Required Description 




RESPONSES

status



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

ENDPOINTS