Skip to navigation

Get complete user profile

Retrieve the complete user profile with all available fields including system information, verification status, and timestamps.

Authentication Required: Yes - Valid JWT token in Authorization header

User Identification: The system supports finding users by ID, email, or phone number from the authentication token.

Response includes:

  • Complete User Data: All user fields from the database
  • System Information: id, email, phoneNumber, verification status
  • Timestamps: createdAt, updatedAt, lastLoginAt, lastLogoutAt
  • Status Information: onboardingComplete, status, authMethod
  • Terms & Marketing: termsAccepted, termsAcceptedAt, marketingAccepted, marketingAcceptedAt

Usage:

  1. Generate a test token using the /auth/generate-test-token endpoint
  2. Include the token in the Authorization header: Bearer <token>
  3. Call this endpoint to retrieve the complete user profile

Note: This endpoint returns all available user data, unlike the basic profile endpoint which returns only essential fields. The system will automatically find the user by ID, email, or phone number from the token.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Complete user profile retrieved successfully
successbooleanOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error