Get all roles Run in API Explorer
Ask AI
Returns all roles for the authenticated firm.
Query parameters
-
Comma separated list of relationships to include in the response. Valid relationships are [assignees].
-
Filter by a comma separated list of UUIDs.
-
Filter by name (partial match).
-
Field to sort by. Valid fields are [name, created_at, updated_at]. Negative sign for DESC.
-
Number of results per page (Default 15. Max 500).
GET
/api/v2/roles
curl \
--request GET 'https://api.plannrcrm.com/api/v2/roles' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (401)
{
"message": "Unauthenticated."
}