Skip to main content
POST
/
v2
/
auth
/
verify
Verify a SIWE message and return a JWT for API authentication
curl --request POST \
  --url https://b2b-api.dev-riseworks.io/v2/auth/verify \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "<string>",
  "sig": "<string>",
  "nonce": "<string>"
}'
{
  "success": true,
  "data": {
    "jwt": "<string>"
  }
}

Body

application/json
message
string
required

The original SIWE message that was signed by the user.

sig
string
required

The signature generated by the user when signing the SIWE message.

nonce
string
required

A unique nonce to prevent replay attacks.

Response

Default Response

success
boolean
required
data
object
required
I