v1

latestOpenAPI 3.0.32026-07-267278168.1 KB
Auth

Complete SIWE Login

Complete Sign-In with Ethereum by submitting the signed challenge. Returns JWT.

post/v1/auth/erc-4361/login/complete_challenge

Request body

idstring required

The ID of the login challenge

signaturestring required

The signed challenge proving wallet ownership

sourcestring

Optional source identifier

Example request

{
  "id": "ub6EabCuCiw9HvYyhsZhWzv8mntMgZ-vDGzZKvvCi_o=",
  "signature": "8650fc18ca35d1e3c358b566ff786783978dc16519c055ba2085a2345bed89f46719876e3e01cf3bbf94c50f6b5524c3df3d9881386f11910ddb3a15bfade5f21c",
  "source": "web"
}

Response

Auth token

successboolean required

Whether the request was successful

errorstring

Error message, present only on failure

error_codestring

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecatedstring

Deprecation notice, if applicable

Example response

{
  "success": true
}