Skip to content
Schemas/Objects

Challenge

A single-use message for the registered signing key.

Typeobject

Properties

challengeIdstringRequired
format uuid
identityIdstringRequired
format uuid
messagestringRequired

The sign-in message (SIWE). Sign it unchanged.

length at most 2000
expiresAtstringRequired
format date-time

Example values

JSON example
{
  "identityId": "a08cccbc-f085-4289-bd48-9b2fb55acd14",
  "challengeId": "509ae372-5c3e-45f2-a848-b311680b4da3",
  "message": "<exact sign-in message returned by Cadmos>",
  "expiresAt": "2026-11-17T09:02:00.000Z"
}

JSON schema

Challenge
{
  "type": "object",
  "required": [
    "challengeId",
    "identityId",
    "message",
    "expiresAt"
  ],
  "properties": {
    "challengeId": {
      "type": "string",
      "format": "uuid"
    },
    "identityId": {
      "type": "string",
      "format": "uuid"
    },
    "message": {
      "type": "string",
      "maxLength": 2000,
      "description": "The sign-in message (SIWE). Sign it unchanged."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}
Next in schemasTokenRequest

We use necessary cookies to run this site. With your permission, we also use analytics and advertising technologies to measure visits and downloads.