Skip to main content
Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas. Successful SIWE verification response. The route also sets auth cookies for browser/session flows.

Required Fields

FieldTypeDescription
is_new_userbooleanWhether the wallet user was created by this verification.
successbooleanDefined by the generated JSON Schema block.
userobjectDefined by the generated JSON Schema block.

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Web3AuthResponse",
  "description": "Successful SIWE verification response. The route also sets auth cookies for browser/session flows.",
  "type": "object",
  "required": [
    "is_new_user",
    "success",
    "user"
  ],
  "properties": {
    "is_new_user": {
      "description": "Whether the wallet user was created by this verification.",
      "type": "boolean",
      "example": false
    },
    "success": {
      "type": "boolean",
      "example": true
    },
    "user": {
      "type": "object",
      "required": [
        "email",
        "id",
        "tier",
        "wallet_address"
      ],
      "properties": {
        "email": {
          "description": "Account email associated with the wallet user.",
          "type": "string"
        },
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "tier": {
          "description": "Current subscription tier.",
          "type": "string",
          "example": "free"
        },
        "wallet_address": {
          "description": "Authenticated wallet address.",
          "type": "string",
          "example": "0x742d35cc6634c0532925a3b844bc9e7595f2bd18"
        }
      }
    }
  }
}

Referenced By

Last modified on June 19, 2026