Get Current User
Authentication
Get Current User
Retrieve the authenticated user profile
GET
Get Current User
Endpoint
Authentication
Required. Include a valid JWT token in the Authorization header.Request
No request parameters required. The user is identified from the JWT token.Response
boolean
Indicates whether the request was successful.
object
Complete user profile information (password hash is excluded).
string
User’s unique identifier.
string
User’s email address.
string
User’s role (“seller” or “admin”).
string
User’s full name.
string
User’s phone number in international format.
boolean
Whether the user’s email has been verified.
boolean
Whether the user’s phone number has been verified.
string
URL to the user’s profile picture.
object
Seller-specific profile information. Null for admin users.
string
URL or identifier for the seller’s identity document.
string
URL to the seller’s selfie image.
string
Verification status: “pending”, “verified”, or “rejected”.
string
Method used for verification: “manual” or “automatic”.
string
ISO 8601 timestamp of when verification was completed.
string
User ID of the admin who verified this seller (for manual verification).
string
Reason for rejection if verification_status is “rejected”.
boolean
Whether the seller has a verified badge displayed.
boolean
Whether the user account is active.
string
ISO 8601 timestamp of the user’s last login.
string
ISO 8601 timestamp of when the account was created.
string
ISO 8601 timestamp of when the account was last updated.
Example Request
Example Response
200 Success
Error Responses
error
Unauthorized - Missing or invalid authentication token.
error
Not Found - User not found (may have been deleted).
error
Server Error - Internal server error.
Notes
- This endpoint requires a valid JWT token obtained from login or registration
- The password hash is never included in the response for security
- Use this endpoint to check if the current token is still valid
- The response includes complete profile information including verification status
- This is useful for maintaining user state in client applications

