{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/keepp-link/json-schema/keepp-link-post-oauth-token-request-schema.json",
  "title": "PostOauthTokenRequest",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/keepp-link-openapi-generated.yml#/components/schemas/PostOauthTokenRequest",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string",
      "description": "authorization_code or refresh_token"
    },
    "code": {
      "type": "string",
      "description": "Authorization code (when grant_type=authorization_code)"
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token (when grant_type=refresh_token)"
    },
    "code_verifier": {
      "type": "string",
      "description": "PKCE code verifier"
    },
    "client_id": {
      "type": "string",
      "description": "keepp-zapier"
    },
    "redirect_uri": {
      "type": "string",
      "description": "Redirect URI"
    }
  },
  "required": [
    "grant_type",
    "client_id",
    "redirect_uri"
  ]
}