v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📸 Social Media

Get profile by username

The API endpoint allows users to fetch another user's social media profile based on the username provided as a path variable.

By accessing this endpoint and providing the username as a parameter, you will receive a response containing the social media profile information of the specified user.

get/social-media/profile/u/{username}

Response

Get profile by username

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "_id": "649fe0cfc4a9507d1220ec24",
    "account": {
      "_id": "649fe0cec4a9507d1220eb68",
      "avatar": {
        "_id": "649fe0cec4a9507d1220eb69",
        "url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/97.jpg"
      },
      "email": "marietta_hoeger59@gmail.com",
      "isEmailVerified": true,
      "username": "joey_boyle24"
    },
    "bio": "squirrel advocate, person 🧊",
    "countryCode": "+91",
    "coverImage": {
      "_id": "649fe0cfc4a9507d1220ec23",
      "url": "https://via.placeholder.com/800x450.png"
    },
    "createdAt": "2023-07-01T08:16:15.061Z",
    "dob": "2014-01-31T01:46:29.852Z",
    "firstName": "Arjun",
    "followersCount": 17,
    "followingCount": 18,
    "lastName": "Turcotte",
    "location": "Fort Lizatown, Comoros",
    "owner": "649fe0cec4a9507d1220eb68",
    "phoneNumber": "9240836201",
    "updatedAt": "2023-07-01T08:16:15.847Z"
  },
  "message": "User profile fetched successfully",
  "statusCode": 200,
  "success": true
}