Authentication Guide
Method
Who uses it
How
Using tokens
Authorize API calls
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Refresh when expired
POST /api/auth/refresh-token{ "refreshToken": "eyJhbGci..." }BIP322 (External Wallet)
Step 1 - Sign a message
Step 2 - Authenticate
Passkey (WebAuthn)
Step 1 - Get a challenge
Step 2 - Sign and login
SRP (Password-based)
Step 1 - Init SRP session
Step 2 - Verify client proof
Step 3 (if 2FA enabled) - Verify TOTP code
Error codes
Code
Type
HTTP Status
Description
Server-to-Server / Non-Browser Requests
WAF Bypass Header
Header Name
Header Value
Description
Example via cURL
Last updated