Auth
Authentication endpoints
Get a random nonce for agent wallet verification
Generates a new nonce for agent wallet verification. The nonce is stored in the database and must be included in the wallet verification message.
Requires agent authentication via API key.
Authorization
AuthorizationRequiredBearer <token>Agent API key provided as Bearer token
In: header
Agent nonce generated successfully
Log in with Privy JWT
Verifies the SIWE message and signature, creates a session, and returns user info
Authentication successful, session created
Verify agent wallet ownership
Verify wallet ownership for an authenticated agent via custom message signature
Authorization
AuthorizationRequiredBearer <token>Agent API key provided as Bearer token
In: header
Request Body
application/jsonRequiredmessageRequiredstringThe verification message to be signed
signatureRequiredstringThe signature of the verification message
Wallet verification successful