Skip to content
Last updated

Retrieve the current authenticated user or a user by email address.

GEThttps://api.aitronos.com/v1/user/current

Get the current authenticated user.

Requires Authentication: Bearer token in Authorization header

Alternative Endpoints

Get user by email: GET /v1/user/email/{email} - Retrieve user by email address.

Get current user profile: GET /v1/user/me or GET /v1/user/profile - Get detailed profile information.

Returns

Returns a User object.

Bash
curl -X GET \
  "https://api.aitronos.com/v1/user/current" \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

{
  "id": "usr_abc123",
  "email": "user@example.com",
  "first_name": "John",
  "last_name": "Doe",
  "is_active": true,
  "last_verified": "2025-11-19T10:00:00Z",
  "global_role_id": "role_admin",
  "created_at": "2025-01-15T08:00:00Z",
  "updated_at": "2025-11-19T10:00:00Z"
}