Get self

Get the authenticated user profile.

Endpoint

GET /api/v1/users/self
Authenticated

Usage

curl --header "Authorization: Bearer $GHIT_API_TOKEN" "$GHIT_API_URL/v1/users/self"

Success

200 OK with current user.

{ "uuid": "...", "username": "alice", "email": "alice@example.com" }

Errors

Common auth errors are documented on the API overview page.