Skip to main content
POST
Session Auth
This endpoint is free and does not require x402 payment.
Session auth lets you sign once with your wallet and use a JWT token for subsequent requests. This avoids signing every request individually and is used by the MemoClaw dashboard.

Request Body

string
required
Your EVM wallet address.
number
required
Current Unix timestamp (seconds). Must be within 5 minutes of server time.
string
required
Signature of the message memoclaw-auth:{timestamp} signed with your wallet’s private key.

Response (200)

string
JWT session token. Valid for 7 days. Include as Authorization: Bearer {token} in subsequent requests.
string
Your wallet address.
string
ISO 8601 expiry timestamp for the token.

Example

Response

Errors

Session tokens are ideal for frontend applications like the dashboard where you don’t want to sign every request. For server-to-server usage, the free tier x-wallet-auth header or x402 payment is more straightforward.