# List Published O Auth Apps

Launch stage: GA

`GET /api/2.0/accounts/{account_id}/oauth2/published-apps`

Get all the available published OAuth apps in <Databricks>.

API scopes: authentication

## Path parameters

- `account_id` (string, optional)
  The account ID.

## Query parameters

- `page_token` (string, optional)
  A token that can be used to get the next page of results.
- `page_size` (int32, optional)
  The max number of OAuth published apps to return in one page.
  Default: `100`
  Constraints: `[ 1 .. 100 ]`

## Returns

- `apps` (array of object, optional)
  List of Published OAuth Apps.
  - `app_id` (string, optional)
    Unique ID of the published OAuth app.
    Example: `01234567-1234-5678-90ab-76543210`
  - `client_id` (string, optional)
    Client ID of the published OAuth app. It is the client_id in the OAuth flow
    Example: `databricks-cli`
  - `name` (string, optional)
    The display name of the published OAuth app.
    Example: `Databricks CLI`
  - `description` (string, optional)
    Description of the published OAuth app.
  - `is_confidential_client` (boolean, optional)
    Whether the published OAuth app is a confidential client. It is always false for published OAuth apps.
    Default: `false`
  - `redirect_urls` (array of string, optional)
    Redirect URLs of the published OAuth app.
  - `scopes` (array of string, optional)
    Required scopes for the published OAuth app.
- `next_page_token` (string, optional)
  A token that can be used to get the next page of results. If not present, there are no more results to show.

## Response

```json
{
  "apps": [
    {
      "app_id": "01234567-1234-5678-90ab-76543210",
      "client_id": "databricks-cli",
      "name": "Databricks CLI",
      "description": "string",
      "is_confidential_client": true,
      "redirect_urls": [
        "http://localhost:8020"
      ],
      "scopes": [
        "sql",
        "offline_access"
      ]
    }
  ],
  "next_page_token": "string"
}
```

