Skip to main content
GET
/
api
/
users
/
profile
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>"
}

Authorizations

Authorization
string
header
required

Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.

Response

Get current user profile

id
integer<int32>
required
is_active
boolean
required
username
string
required
email
string | null