---
title: "Get all OAuth clients in an org"
method: GET
path: "/orgs/{orgId}/oauth-clients"
tags: ["OAuth Client"]
---

# Get all OAuth clients in an org

`GET /orgs/{orgId}/oauth-clients`

Retrieves all OAuth clients for the specified organization.

#### Scopes
**[OAuth 2.0 scopes](/cloud/admin/scopes/) required:** `read:service-accounts-tokens:admin`

## Path parameters

- `orgId` string, required

## Query parameters

- `pageSize` integer
- `cursor` string

## Response `200`

Returned if the request is successful.

- OAuthClientListResponse
  - `data` OAuthClient[] — List of OAuth clients.
    - `clientId` string, required — The unique identifier of the OAuth client.
    - `name` string, required — The display name of the OAuth client.
    - `createdAt` integer — The timestamp (in milliseconds since epoch) when the OAuth client was created.
    - `updatedAt` integer — The timestamp (in milliseconds since epoch) when the OAuth client was last updated.
    - `status` 'ACTIVE' | 'REVOKED' | 'EXPIRED', required — The status of the OAuth client.
  - `links` Links
    - `self` string — A cursor representing the current page of records. Only encodes the sort value and record ID — pass all other parameters (filters, sort, pageSize) alongside this cursor.
    - `next` string — A cursor representing the next page of records. Only encodes the sort value and record ID — pass all other parameters (filters, sort, pageSize) alongside this cursor.
    - `prev` string — A cursor representing the previous page of records. Only encodes the sort value and record ID — pass all other parameters (filters, sort, pageSize) alongside this cursor.

## Other responses

- `403` — Returned if the user does not have permission to view OAuth clients.
- `500` — Internal Error

---

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