---
title: "Returns all roles and privileges"
method: GET
path: "/roles"
tags: ["roles"]
---

# Returns all roles and privileges

`GET /roles`

This operation will return all possible roles at both the team and company levels, along with their associated privileges.

## Response `200`

- RolesResponse
  - `customRoles` Roles
    - `company` object
    - `team` object
  - `roles` Roles
    - `company` object
    - `team` object
  - `privileges` Privileges
    - `company` object
    - `team` object

## Other responses

- `403` — Response was sent via HTTP, please retry using HTTPS

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/versions/70fe938a0b35/schema)
