Civitai OAuth API

OAuth 2.0 authorization-code with PKCE for third-party apps that act on behalf of a Civitai user. Supports scoped tokens, refresh flow, and per-app Buzz spend caps so a delegated app cannot drain a user's credit balance. Used by `civitai-app-starters` and `civitai-client-javascript` SDKs for building partner integrations against the Site and Orchestration APIs.

API entry from apis.yml

apis.yml Raw ↑
aid: civitai:civitai-oauth-api
name: Civitai OAuth API
tags:
- AI
- Artificial Intelligence
- Authentication
- OAuth
- PKCE
- Identity
humanURL: https://developer.civitai.com/site/oauth/
properties:
- url: https://developer.civitai.com/site/oauth/
  type: Documentation
- url: https://developer.civitai.com/site/oauth/register-app
  type: Documentation
- url: https://developer.civitai.com/site/oauth/scopes
  type: Documentation
- url: https://developer.civitai.com/site/oauth/buzz-limits
  type: Documentation
description: OAuth 2.0 authorization-code with PKCE for third-party apps that act on behalf of a Civitai
  user. Supports scoped tokens, refresh flow, and per-app Buzz spend caps so a delegated app cannot drain
  a user's credit balance. Used by `civitai-app-starters` and `civitai-client-javascript` SDKs for building
  partner integrations against the Site and Orchestration APIs.