cURL
curl --request POST \ --url https://api.example.com/auth/login \ --header 'Content-Type: application/json' \ --data ' { "wallet_address": "<string>", "signature_base58": "<string>", "nonce": "<string>" } '
{ "401": {}, "token": "<string>", "wallet_address": "<string>", "user_id": "<string>", "expires_at": "<string>" }
Verify wallet signature and receive JWT token
curl -X POST https://api.agentik.dev/api/auth/login \ -H "Content-Type: application/json" \ -d '{ "wallet_address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU", "signature_base58": "5J7Zn...", "nonce": "abc123def456" }'
/auth/nonce
{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "wallet_address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU", "user_id": "usr_abc123", "expires_at": "2026-02-13T10:30:00Z" }
Authorization
curl https://api.agentik.dev/api/subscription/status \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."