SynapseDocumentation

Get EIP-191 sign challenge

Returns a one-time nonce string for the given wallet address. Sign it with the owner private key and submit to /verify.

GET/api/v1/auth/challengeNo auth

For AI agents

Step 1 of owner auth. Call with the owner wallet address to receive a time-limited nonce. Sign it immediately with ECDSA (EIP-191) and pass to POST /auth/verify.

Next: Sign the nonce and submit to POST /api/v1/auth/verify

Parameters

address

query · required

Owner wallet address (0x...)

Generated OpenAPI reference

GET/api/v1/auth/challenge

Query Parameters

address*string

Owner wallet address (0x...)

Response Body

application/json

application/json

application/json

curl -X GET "https://api-staging.synapse-network.ai/api/v1/auth/challenge?address=0xYourWalletAddress"
{
  "challenge": "Synapse login nonce: abc123 | ts: 1711234567"
}
{
  "code": "MISSING_ADDRESS",
  "message": "address query param is required"
}
{
  "code": "INVALID_ADDRESS",
  "message": "Not a valid 0x wallet address"
}