---
title: "Get User's Company Roles"
method: GET
path: "/user-company-roles/{id}"
tags: ["User", "Role", "Company"]
---

# Get User's Company Roles

`GET /user-company-roles/{id}`

Used to get all of a user's company roles

## Path parameters

- `id` string, required

## Response `200`

The complete list of company roles for this user

- UserCompanyRoles
  - `roles` UserCompanyRole[], required
    - `role` 'owner' | 'editor' | 'viewer', required — The possible values for user role
    - `company_id` string, required — The company to which this role applies

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — User not found
- `default` — Unknown error

---

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