---
title: "Upload profile photo"
method: POST
path: "/users/{id}/profile-photo"
tags: ["Users"]
---

# Upload profile photo

`POST /users/{id}/profile-photo`

Uploads a profile photo for the specified user. The file is stored in the
tenant-scoped files table. If the user already has a profile photo, the old
one is deleted and replaced. Uses multer for multipart file handling.

## Path parameters

- `id` integer, required

## Response `200`

Profile photo uploaded

- object
  - `message` string
  - `data` object
    - `profile_photo_id` integer — ID of the new file record

## Other responses

- `400` — No file provided
- `403` — Access denied (wrong organization)
- `500` — Internal server error

---

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