---
title: "List Repository User Collaborators"
method: GET
path: "/v1/repositories/{repositoryId}/users"
tags: ["Repositories"]
---

# List Repository User Collaborators

`GET /v1/repositories/{repositoryId}/users`

## Request

- Base URL: `https://api.lucid.co`
- URL: `https://api.lucid.co/v1/repositories/{repositoryId}/users`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://lucid.app/oauth2/authorize`
    - Token URL: `https://api.lucid.co/oauth2/token` scopes: `repository:readonly`
- TypeScript: <https://skmtc.dev/lucid/apis/lucid-rest-api/docs/v1/repositories/:repositoryId/users/get.ts> (a function with typed inputs; its response is checked against the schema)

List users with roles on a repository.

## Path parameters

- `repositoryId` string, required: Unique identifier for a repository folder, prefixed with `repo_`

## Response `200`

OK. Returns a list of users and their roles on the repository.

- RepositoryUser[]
  - `repositoryId` string: Unique identifier of the repository
  - `userId` integer: Unique identifier of the user
  - `role` 'REPOSITORY_OWNER' | 'REPOSITORY_MEMBER': Role of a user on a repository
  - `created` string, date-time: Date and time when the user was added to the repository

## Other responses

- `403`: Forbidden. Occurs when the user does not have access to view repository owners or members.

---

[API](https://skmtc.dev/lucid/apis/lucid-rest-api.md) - [All operations](https://skmtc.dev/lucid/apis/lucid-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-rest-api/revisions/9c2c917ec59c?raw)
