cURL
curl --request GET \ --url https://api.production.hyperoru.com/api/users/profile \ --header 'Authorization: Bearer <token>'
{ "id": 123, "is_active": true, "username": "<string>", "email": "<string>" }
Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.
POST /api/users/login
Authorization: Bearer <token>
Get current user profile
Was this page helpful?