Skip to main content
GET
/
v1
/
core
/
oauth
/
apps
Get all OAuth apps for an organization
curl --request GET \
  --url https://api.example.com/v1/core/oauth/apps \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "appName": "<string>",
      "clientId": "<string>",
      "organizationId": "<string>",
      "owner": "<string>",
      "deleted": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "cursor": "<string>",
  "pageSize": 123,
  "limit": 123,
  "total": 123,
  "hasNextPage": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

organizationId
string
required

The organization that owns one or more OAuth apps.

Minimum string length: 1
owner
string
required

The id of the user that created one or more OAuth apps.

Minimum string length: 1
fromDate
string<date-time>

Return OAuth apps created after this date.

toDate
string<date-time>

Return OAuth apps created before this date.

limit
integer
default:100

The number of results to return. If omitted, 100 results will be returned.

Required range: 1 <= x <= 100
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.

Minimum string length: 1
page
integer

The page number to return. If omitted, the first page of results will be returned.

Required range: x >= 1
sortField
enum<string>
default:dateCreated

The field to sort the results by. If omitted, the results will be sorted by dateCreated in descending order.

Available options:
dateCreated,
dateUpdated
sortDirection
enum<string>
default:desc

The direction to sort the results by. If omitted, the results will be sorted by dateCreated in descending order.

Available options:
asc,
desc

Response

Get all OAuth apps for an organization

data
object[]
required
cursor
pageSize
number
limit
number
total
number | null
hasNextPage
boolean