Skip to main content
POST
/
api
/
auth
/
verify
Verify wallet signature and create session
curl --request POST \
  --url https://mag3nt.com/api/auth/verify \
  --header 'Content-Type: application/json' \
  --data '
{
  "wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
  "nonce": "n_abc123def456",
  "signature": "0xabc123..."
}
'
{
  "token": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "wallet_address": "<string>",
  "chain": "eip155"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
wallet_address
string
required
Example:

"0x1234567890abcdef1234567890abcdef12345678"

nonce
string
required

Nonce from the challenge response

Example:

"n_abc123def456"

signature
string
required

Wallet signature of the challenge message

Example:

"0xabc123..."

Response

Authenticated

token
string
expires_at
string<date-time>
wallet_address
string
chain
string
Example:

"eip155"