---
title: "Upload a profile image"
method: POST
path: "/api/upload/profile-image"
tags: ["Upload"]
---

# Upload a profile image

`POST /api/upload/profile-image`

## Request

- Base URL: `https://movementors.com`
- URL: `https://movementors.com/api/upload/profile-image`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `authjs.session-token`

Multipart form data. Server processes via Sharp (AVIF preferred, WebP fallback) and stores in Supabase Storage. Returns the public URL.

## Response `200`

Uploaded

- object
  - `url` string, uri, required
  - `format` string, required

## Other responses

- `400`: Validation error

---

[API](https://skmtc.dev/movementors/apis/movementors-api.md) · [All operations](https://skmtc.dev/movementors/apis/movementors-api/llms.txt) · [OpenAPI document](https://skmtc.dev/movementors/apis/movementors-api/revisions/042fb6b44679?raw)
