Get started quickly with JWT Authentication Pro
curl -X POST \ https://your-site.com/wp-json/jwt-auth/v1/token \ -H "Content-Type: application/json" \ -d '{"username": "your-username", "password": "your-password"}'
/me
curl -X GET \ https://your-site.com/wp-json/wp/v2/users/me \ -H "Authorization: Bearer YOUR-JWT-TOKEN"
curl -X POST \ https://your-site.com/wp-json/jwt-auth/v1/token/refresh \ -H "Content-Type: application/json" \ -d '{"refresh_token": "YOUR-REFRESH-TOKEN"}'
curl -X POST \ https://your-site.com/wp-json/jwt-auth/v1/token/revoke \ -H "Authorization: Bearer YOUR-JWT-TOKEN"
Was this page helpful?