cURL
curl --request POST \ --url https://api.jup.ag/trigger/v2/auth/verify-token \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "walletPubkey": "<string>" } '
{ "isValid": true }
Check if a JWT token is still valid without making an authenticated request.
Get API key via https://portal.jup.ag
JWT token from the challenge-response auth flow
Token is valid
Was this page helpful?