GET
/users/me
Get current user
Users
Description
Retrieve information about the currently authenticated user.
Authentication Required: User must be authenticated.
Responses
200
User retrieved successfully
application/jsonstatusstring
Example:
successmessagestring
Example:
User retrieved successfullydataobject
Example:
{
"status": "success",
"message": "User retrieved successfully",
"data": {
"id": 1,
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"roles": [],
"feature_flags": [
"affiliate"
],
"notifications": [
"email_new_transaction",
"push_new_transaction"
],
"status": "active",
"locale": "en",
"created_at": "2024-01-15T10:30:00Z"
}
}
401
Authentication required
application/jsonExample:
{
"status": "error",
"message": "Not authenticated or insufficient permissions"
}