Get current user

GET/auth/me

Returns 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:Bearer

Response

id

Unique identifier for this resource.

uuid
email

Email address.

email
name

Human-readable display name.

string
created_at

RFC 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"
}