Get authenticated user
GET /api/auth/user
Returns the profile for the authenticated Sanctum bearer. The route has a 60-request-per-minute throttle and does not accept a user identifier.
Authenticate with a portal session token.
Responses
200 Current authenticated user profile.
application/json UserResource
created_atstring (date-time)emailstring (email)idintegernamestringbalance_microsintegerExact wallet balance in USD micro-dollars.
Generated sample
{
"created_at": "2026-01-01T00:00:00Z",
"email": "user@example.com",
"id": 0,
"name": "string",
"balance_micros": 0
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
429 The 60-requests-per-minute route throttle was exceeded.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string