On this page6 sections
POST/api/users/get-role-listUsersPermission: users.view
Get Role Options for Users
Menu-owned endpoint returning tenant role options for user assignment dropdowns.
Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).
Request
Provide the following fields in the request payload.
querystringoptional
query parameter.
limitnumberoptionaldefault: 100
limit parameter.
pagenumberoptionaldefault: 1
page parameter.
Responses
Select a status code to inspect schema.
OK — Role options retrieved.application/json
successenum('true')
Success (true).
messagestring
Message.
dataobject | null
Response payload or null.
POST/api/users/get-role-list
curl -X POST "https://api.invoger.com/api/users/get-role-list" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "limit": 100, "page": 1 }'Interactive playground
Response
application/json
{
"success": true,
"message": "Success",
"data": {
"roles": [],
"total": 0
}
}