---
title: "Update user profile"
method: PATCH
path: "/social-media/profile"
tags: ["📸 Social Media"]
---

# Update user profile

`PATCH /social-media/profile`

The API endpoint allows users to update their social media profiles.

By accessing this endpoint, users can make changes to their profile information such as name, bio, contact details, dob, basic details or any other relevant fields.

_**NOTE:**_ _To update avatar or cover image we have separate endpoints._

_**Update avatar:**_ _Apps > Authentication > Update avatar_

_**Update cover image:**_ _Apps > Social Media > Update cover image_

## Request body

- object
  - `bio` string
  - `countryCode` string
  - `dob` string
  - `firstName` string
  - `lastName` string
  - `location` string
  - `phoneNumber` string

## Response `200`

Update user profile

- object
  - `data` object[]
    - `__v` number
    - `_id` string
    - `account` object
      - `_id` string
      - `avatar` object
        - `_id` string
        - `localPath` string
        - `url` string
      - `email` string
      - `isEmailVerified` boolean
      - `loginType` string
      - `role` string
      - `username` string
    - `bio` string
    - `countryCode` string
    - `coverImage` object
      - `_id` string
      - `localPath` string
      - `url` string
    - `createdAt` string
    - `dob` string
    - `firstName` string
    - `lastName` string
    - `location` string
    - `owner` string
    - `phoneNumber` string
    - `updatedAt` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
