{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/1password/json-schema/1password-token-response-schema.json",
  "title": "TokenResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/1password-authentication-api-openapi.yml#/components/schemas/TokenResponse",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The access token to send as a bearer token on API requests."
    },
    "token_type": {
      "type": "string",
      "description": "The token type; always `Bearer`."
    },
    "expires_in": {
      "type": "integer",
      "description": "The token lifetime in seconds (access tokens expire after ~60 minutes).",
      "format": "int32"
    },
    "scope": {
      "type": "string",
      "description": "The space-separated scopes granted."
    },
    "refresh_token": {
      "type": "string",
      "description": "A refresh token (Authorization Code flow only, when `offline_access` was requested)."
    }
  }
}