---
title: "List OAuth apps for script credential bindings"
method: GET
path: "/api/oauth-apps"
tags: ["Script Connections"]
---

# List OAuth apps for script credential bindings

`GET /api/oauth-apps`

## Response `200`

OAuth apps without client secrets

- object
  - `oauthApps` object[], required
    - `id` string, required
    - `provider` string, required
    - `clientId` string, required
    - `authorizeUrl` string, required
    - `tokenUrl` string, required
    - `redirectUri` string, required
    - `scopes` string[], required
    - `extraParams` object
    - `tokenAuthStyle` 'body' | 'basic', required
    - `tokenBodyFormat` 'form' | 'json', required
    - `source` string, required
    - `tokenStatus` 'ok' | 'expiring' | 'refresh-failed' | 'revoked' | 'missing', required
    - `expiresAt` string, nullable, required
    - `lastRefreshedAt` string, nullable, required
    - `authorizations` object[], required
      - `id` string, required
      - `label` string, required
      - `accountEmail` string, nullable, required
      - `status` 'active' | 'refresh-failed' | 'expired' | 'revoked', required
      - `expiresAt` string, nullable, required
      - `scope` string, nullable, required
      - `hasRefreshToken` boolean, required
      - `lastErrorMessage` string, nullable, required
      - `lastRefreshedAt` string, nullable, required
      - `createdAt` string, required
      - `updatedAt` string, required
    - `createdAt` string, required
    - `updatedAt` string, required

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/ef761849166b/schema)
