Get current user
GET
/auth/meReturns the profile of the user associated with the current bearer token, including id, email, and display name. Use it to hydrate the signed-in state after login.
Auth:
BearerResponse
idUnique identifier for this resource.
uuid
emailEmail address.
email
nameHuman-readable display name.
string
created_atRFC 3339 timestamp of when the resource was created.
datetime
Request
bash
curl -sS "https://phosra-api-sandbox-production.up.railway.app/api/v1/auth/me" \
-H "Authorization: Bearer $PHOSRA_API_KEY"Response
json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "[email protected]",
"name": "string",
"created_at": "2025-01-15T09:30:00Z"
}