---
title: "Get All Permissions"
method: GET
path: "/permissions"
tags: ["Permission"]
---

# Get All Permissions

`GET /permissions`

Returns all permissions from the database

## Query parameters

- `page` integer
- `size` integer

## Headers

- `tenant-id` string

## Response `200`

Permissions retrieved successfully

- PermissionListResponseDto — Paginated list of permissions
  - `data` PermissionResponseDto[] — List of permissions
    - `id` string — Permission ID
    - `resource` string — Resource name
    - `action` string — Action name
    - `description` string — Permission description
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `totalCount` integer — Total number of permissions
  - `page` integer — Current page number
  - `size` integer — Number of items per page
  - `hasNext` boolean — Whether there is a next page
  - `hasPrevious` boolean — Whether there is a previous page

## Other responses

- `401` — Authentication required
- `500` — Internal server error

---

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