---
title: "Get all OAuth apps for an organization"
method: GET
path: "/v1/core/oauth/apps"
---

# Get all OAuth apps for an organization

`GET /v1/core/oauth/apps`

This endpoint returns all registered OAuth apps for a given owner meeting the specified filters.Results can be returned using either a cursor-based pagination or a page-based pagination.If both a cursor and a page are provided, the cursor will be used.By default, results are sorted by dateCreated in descending order.

## Query parameters

- `organizationId` string, required — The organization that owns one or more OAuth apps.
- `owner` string, required — The id of the user that created one or more OAuth apps.
- `fromDate` string, date-time — Return OAuth apps created after this date.
- `toDate` string, date-time — Return OAuth apps created before this date.
- `limit` integer — The number of results to return. If omitted, 100 results will be returned.
- `cursor` string — The cursor to paginate the results. Cursor-based pagination will always be used unless if left blank and a page number is provided.
- `page` integer — The page number to return. If omitted, the first page of results will be returned.
- `sortField` 'dateCreated' | 'dateUpdated' — The field to sort the results by. If omitted, the results will be sorted by dateCreated in descending order.
- `sortDirection` 'asc' | 'desc' — The direction to sort the results by. If omitted, the results will be sorted by dateCreated in descending order.

## Response `200`

Get all OAuth apps for an organization

- object
  - `data` object[], required
    - `appName` string, required
    - `clientId` string, required
    - `organizationId` string, required — The organization that owns this OAuth app.
    - `owner` string, required — The user that created this OAuth app.
    - `deleted` boolean, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `deletedAt` string, date-time, nullable, required
  - `cursor` union
    - string
    - number
    - unknown
  - `pageSize` number
  - `limit` number
  - `total` number, nullable
  - `hasNextPage` boolean

## Other responses

- `400` — Bad Request - Invalid parameters
- `401` — Unauthorized - User not authenticated
- `403` — Forbidden - User does not have access
- `404` — Not Found - Resource not found
- `422` — Unprocessable Content - The request failed validation checks
- `500` — Internal Server Error

---

[API](https://skmtc.net/siro/apis/swagger-api.md) · [All operations](https://skmtc.net/siro/apis/swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siro/swagger-api/versions/9995339a94c6/schema)
