Skip to main content
POST
/
auth
/
verify-token
Verify JWT token validity
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
}

Authorizations

x-api-key
string
header
required

Get API key via https://portal.jup.ag

Authorization
string
header
required

JWT token from the challenge-response auth flow

Body

application/json
walletPubkey
string
required

Response

Token is valid

isValid
boolean
required