📸 Social Media
Get my profile
The API endpoint allows a logged-in user to fetch their social media profile.
When the user is authenticated and authorized, accessing this endpoint will return the user's social media profile information, such as their username, bio, avatar, cover image, and other relevant details.
get/social-media/profile
Response
Get my profile
Example response
{
"data": {
"_id": "64a3c6f3f867b3375720a5f4",
"account": {
"_id": "64a3c6f3f867b3375720a548",
"avatar": {
"_id": "64a3c6f3f867b3375720a549",
"url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/1230.jpg"
},
"email": "cindy.konopelski@yahoo.com",
"isEmailVerified": true,
"username": "cooper55"
},
"bio": "steam enthusiast, foodie 🇵🇫",
"countryCode": "+91",
"coverImage": {
"_id": "64a3c6f3f867b3375720a5f3",
"url": "https://via.placeholder.com/800x450.png"
},
"createdAt": "2023-07-04T07:14:59.923Z",
"dob": "2020-09-27T10:32:43.090Z",
"firstName": "Brice",
"followersCount": 15,
"followingCount": 21,
"lastName": "Kassulke",
"location": "Reingerton, Jamaica",
"owner": "64a3c6f3f867b3375720a548",
"phoneNumber": "9225118426",
"updatedAt": "2023-07-04T07:15:00.777Z"
},
"message": "User profile fetched successfully",
"statusCode": 200,
"success": true
}