---
title: "Get all available roles for Agency team members."
method: GET
path: "/v2/agency-CK/{agencyId}/team-members/roles"
tags: ["Agency team members Api Service"]
---

# Get all available roles for Agency team members.

`GET /v2/agency-CK/{agencyId}/team-members/roles`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/agency-CK/{agencyId}/team-members/roles`
- Auth: none declared

## Path parameters

- `agencyId` integer, required

## Response `200`

OK

- JsonOkListResponseTeamMemberRoleDto
  - `metadata` object
  - `page` JsonPaging
    - `next` string
  - `data` TeamMemberRoleDto[]
    - `id` integer: Unique identifier of the team member role
    - `name` string: Name of the team member role
    - `description` string: Description of the team member role
    - `actions` TeamMemberRoleActionDto[]: List of actions associated with the team member role
      - `index` integer: Index of the action in the list
      - `action` string: Name of the action
      - `allowed` boolean: Indicates if the action is allowed

---

[API](https://skmtc.dev/metricool/apis/metricool-api.md) · [All operations](https://skmtc.dev/metricool/apis/metricool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/metricool/apis/metricool-api/revisions/cd0ca612fa01?raw)
