cURL
curl --request POST \ --url https://ws.kuru.io/api/generate-token \ --header 'Content-Type: application/json' \ --data ' { "user_address": "0x1234567890abcdef1234567890abcdef12345678" } '
200
Example
{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "expires_at": 1700000000, "rate_limit": { "rps": 1, "burst": 1 }}
Generates a JWT token with 1 RPS rate limiting for a given user address
Ethereum address of the user
"0x1234567890abcdef1234567890abcdef12345678"
Successfully generated JWT token
JWT token string
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Token expiration timestamp (Unix timestamp)
1700000000
Show child attributes