---
title: "POST /users"
method: POST
path: "/users"
tags: ["users"]
---

# POST /users

`POST /users`

Update a user's profile information

## Request body

- object
  - `email` string, email, required — The email of the user that will be updated. If no user with the provided email exists, will return a 404 response.
  - `name` string — The user's full name
  - `profilePicture` string — A Data URI scheme in the JPG, GIF, or PNG format. Ensure you use the proper content type (image/jpeg, image/png, image/gif) that matches the image data being provided
  - `bio` string — The user's bio
  - `status` string — The user's status
  - `linkedin` string — A link to the user's LinkedIn profile
  - `twitter` string — A link to the user's Twitter profile
  - `instagram` string — A link to the user's Instagram profile
  - `completedLessons` object[] — Lessons included here will be added to the user's list of completed lessons. This field will never cause a lesson to be removed from the user's list of completed lessons.
    - `lessonID` string, uuid
    - `timestamp` string, date-time

## Response `200`

Successful response

## Other responses

- `400` — Invalid request body
- `401` — API Key is missing or invalid
- `404` — Could not find a user with the provided email address

---

[API](https://skmtc.net/heartbeat/apis/heartbeat-api.md) · [All operations](https://skmtc.net/heartbeat/apis/heartbeat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/heartbeat/heartbeat-api/versions/6c3cf537d508/schema)
