{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recall-ai/json-schema/recall-ai-zoom-oauth-credential-schema.json",
  "title": "ZoomOAuthCredential",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recall-ai-zoom-oauth-credentials-api-openapi.yml#/components/schemas/ZoomOAuthCredential",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "oauth_app": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/ZoomOAuthCredentialStatusEnum"
        }
      ],
      "readOnly": true
    },
    "user_id": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "account_id": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "access_token_callback_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "The url to retrieve access token from. Applicable for **Customer Managed OAuth** flow.",
      "maxLength": 200
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "meeting_sync_status": {
      "allOf": [
        {
          "$ref": "#/$defs/MeetingSyncStatusEnum"
        }
      ],
      "readOnly": true,
      "description": "This field tracks the status of initial meeting sync on the credential. This operation is processed asynchronously when the credential is created or when the sync meetings endpoint is called.\n\n* `not_started` - Not Started\n* `in_progress` - In Progress\n* `completed` - Completed\n* `failed` - Failed"
    }
  },
  "required": [
    "account_id",
    "created_at",
    "id",
    "meeting_sync_status",
    "oauth_app",
    "status",
    "user_id"
  ],
  "$defs": {
    "MeetingSyncStatusEnum": {
      "enum": [
        "not_started",
        "in_progress",
        "completed",
        "failed"
      ],
      "type": "string",
      "description": "* `not_started` - Not Started\n* `in_progress` - In Progress\n* `completed` - Completed\n* `failed` - Failed"
    },
    "ZoomOAuthCredentialStatusEnum": {
      "enum": [
        "healthy",
        "unhealthy"
      ],
      "type": "string",
      "description": "* `healthy` - Healthy\n* `unhealthy` - Unhealthy"
    }
  }
}