Skip to Content
HomeLink Hub
Users & Profile

Get the signed-in user's profile

GET
/api/v1/user/profile

Access: Bearer token required.

Returns the authenticated user's own profile, including preferences and their payout bank details with the full account number (this is the only place, with PUT /user/bank-details, where accountNumber and swiftIban are returned). Fields that have never been set (phone, avatar, bio, businessName, gender, agentAvailability, notificationPreferencesConfirmedAt, individual bank fields) are omitted from the JSON rather than sent as null. KYC details are not included beyond isKYCVerified: use GET /auth/kyc/status. Sessions, push tokens and the wishlist are not included either.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

Access token returned by sign-in. Send it as Authorization: Bearer <token>.

Response Body

Profile returned

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
curl -X GET 'http://localhost:4000/api/v1/user/profile'
Example Response
{  "status": 200,  "success": true,  "message": "User profile retrieved successfully.",  "data": {    "id": "665f1c2e9b1d4a0012ab34cd",    "firstName": "Adaeze",    "lastName": "Okonkwo",    "email": "adaeze.okonkwo@example.com",    "phone": "+2348031234567",    "avatar": "https://cdn.example.com/avatars/adaeze-okonkwo.jpg",    "role": "AGENT",    "bio": "Lekki and Ikoyi rentals specialist with eight years of experience.",    "businessName": "Okonkwo Realty",    "authProviders": [      "LOCAL"    ],    "isEmailVerified": true,    "isKYCVerified": true,    "isActive": true,    "twoFactorEnabled": false,    "theme": "SYSTEM",    "language": "ENGLISH",    "notificationPreferences": {      "newMessages": {        "inApp": true,        "email": true,        "sms": false      },      "propertyInquiries": {        "inApp": true,        "email": true,        "sms": true      },      "inspectionBookings": {        "inApp": true,        "email": true,        "sms": false      },      "paymentConfirmations": {        "inApp": true,        "email": true,        "sms": true      },      "systemUpdates": {        "inApp": false,        "email": true,        "sms": false      },      "newPropertyMatches": {        "inApp": true,        "email": true,        "sms": false      },      "escrowUpdates": {        "inApp": true,        "email": true,        "sms": false      },      "agentMessages": {        "inApp": true,        "email": true,        "sms": false      },      "priceDropAlerts": {        "inApp": true,        "email": true,        "sms": false      },      "promotionalEmails": {        "inApp": false,        "email": false,        "sms": false      },      "lawyerVerificationUpdates": {        "inApp": true,        "email": true,        "sms": false      }    },    "notificationPreferencesConfirmedAt": "2026-03-15T09:12:44.000Z",    "privacySettings": {      "publicProfileSearch": true,      "transactionHistoryVisibility": false    },    "bankDetails": {      "bankName": "Guaranty Trust Bank",      "bankCode": "058",      "accountHolderName": "ADAEZE OKONKWO",      "accountNumber": "0123456789"    },    "agentAvailability": {      "availableDays": [        "MON",        "TUE",        "WED",        "THU",        "FRI"      ],      "dayStartTime": "09:00",      "dayEndTime": "17:00",      "slotDurationMinutes": 60    },    "inspectionFee": 5000,    "gender": "FEMALE",    "address": {      "addresses": [        "14 Admiralty Way, Lekki Phase 1"      ],      "country": "Nigeria",      "state": "Lagos",      "postalCode": "106104"    },    "createdAt": "2026-02-03T08:15:27.000Z"  }}