---
title: "List project permissions"
method: GET
path: "/project-permissions"
tags: ["Permissions"]
---

# List project permissions

`GET /project-permissions`

Query and filter the permission with `user_id` and `permission_id`. `(user_id, permission_id)` together uniquely identify a permission.

## Query parameters

- `user_id` string — Filter with the user ID. If set, only the permissions this user has will be returned. Client request must set `user_id=me`
- `permission_id` string — Filter with the permission ID. If set, only the permissions with this specific ID will be returned
- `recursive` 'true' | 'false' — Whether to list permissions recursively. If set to `false`, only the permission the users directly have will be listed. If set to `true` all the direct and indirect permissions will be listed.

## Response `200`

Successful response

- object
  - `items` object[], required
    - `id` string, required — The permission ID used to uniquely identify a permission. Can either be a custom permission with lowercase letters, numbers, `:`, and `_` characters, or one of the system permissions: `$update_team`, `$delete_team`, `$read_members`, `$remove_members`, `$invite_members`, `$manage_api_keys`
    - `user_id` string, required — The unique identifier of the user
  - `pagination` object
    - `next_cursor` 'null', nullable — The cursor to fetch the next page of results. null if there is no next page.

---

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