# Cast AI O Auth Apps API

**Canonical:** https://apis.io/apis/kimchi/kimchi-oauthappsapi-api/  
**Provider:** Cast AI — https://apis.io/providers/kimchi/  
**Base URL:** https://api.cast.ai/

Cast AI O Auth Apps API is one of 137 APIs that [Cast AI](https://apis.io/providers/kimchi/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include OAuthAppsAPI. The published artifact set on APIs.io includes an OpenAPI specification.

OAuthAppsAPI manages organization-scoped OAuth 2.0 application registrations and the per-user authorization code login flow against them. An admin registers an OAuth app (client credentials, provider endpoints, scopes and the host patterns the issued tokens apply to). Any member of the organization can then log in: StartOAuthLogin builds the provider authorize URL, the frontend drives the browser through the provider's consent flow, and CompleteOAuthLogin exchanges the returned code for tokens. Issued per-user tokens are stored via the secrets domain and resolve through it (phantom-token pattern), refreshing on read when near expiry. Credential material (client secrets, user tokens) is write-only over this API and is never returned in responses.

## Operations (9)

| Method | Path | Summary |
|---|---|---|
| POST | `/ai-optimizer/v1beta/oauth-apps/login:complete` | Complete the calling user's OAuth login |
| POST | `/ai-optimizer/v1beta/organizations/{organizationId}/oauth-apps` | Create an OAuth app registration |
| GET | `/ai-optimizer/v1beta/organizations/{organizationId}/oauth-apps` | List OAuth apps |
| DELETE | `/ai-optimizer/v1beta/organizations/{organizationId}/oauth-apps/{id}` | Delete an OAuth app |
| GET | `/ai-optimizer/v1beta/organizations/{organizationId}/oauth-apps/{id}` | Get an OAuth app by ID |
| PUT | `/ai-optimizer/v1beta/organizations/{organizationId}/oauth-apps/{id}` | Update an OAuth app |
| DELETE | `/ai-optimizer/v1beta/organizations/{organizationId}/oauth-apps/{id}/connection` | Disconnect the calling user from an OAuth app |
| POST | `/ai-optimizer/v1beta/organizations/{organizationId}/oauth-apps/{id}/login:start` | Start the calling user's OAuth login |
| POST | `/ai-optimizer/v1beta/organizations/{organizationId}/oauth-apps:discover` | Register an OAuth app via MCP discovery (dynamically registered client) |

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/kimchi/refs/heads/main/openapi/kimchi-oauthappsapi-api-openapi.yml

## Other Cast AI APIs (12)

- [Cast AI Addons API](https://apis.io/apis/kimchi/kimchi-addonsapi-api/)
- [Cast AI Advisor API](https://apis.io/apis/kimchi/kimchi-advisorapi-api/)
- [Cast AI AI Enabler API](https://apis.io/apis/kimchi/kimchi-aienablerapi-api/)
- [Cast AI AI Enabler Playground API](https://apis.io/apis/kimchi/kimchi-aienablerplaygroundapi-api/)
- [Cast AI AI Enabler Providers API](https://apis.io/apis/kimchi/kimchi-aienablerprovidersapi-api/)
- [Cast AI AI Enabler Settings API](https://apis.io/apis/kimchi/kimchi-aienablersettingsapi-api/)
- [Cast AI Allocation Group API](https://apis.io/apis/kimchi/kimchi-allocationgroupapi-api/)
- [Cast AI Analytics API](https://apis.io/apis/kimchi/kimchi-analyticsapi-api/)
- [Cast AI API Keys API](https://apis.io/apis/kimchi/kimchi-apikeysapi-api/)
- [Cast AI Audit API](https://apis.io/apis/kimchi/kimchi-auditapi-api/)
- [Cast AI Audit V2API API](https://apis.io/apis/kimchi/kimchi-auditv2api-api/)
- [Cast AI Auth API](https://apis.io/apis/kimchi/kimchi-authapi-api/)

## Tags

OAuthAppsAPI

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/kimchi/kimchi-oauthappsapi-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/kimchi/.
