Skip to main content
POST
/
profile
/
{uuid}
/
picture
Create a user profile picture
curl --request POST \
  --url {schemes}://api.upsun.com/profile/{uuid}/picture \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

uuid
string<uuid>
required

The uuid of the user

Body

multipart/form-data
file
file

The image file to upload.

Response

200 - application/json

The new picture url.

url
string

The relative url of the picture.

Last modified on March 11, 2026