Checkio API
put/v1/my/profile/picture

Upload profile picture

Requires Authentication
My

Uploads or replaces the current user's profile picture.

The image will be automatically resized to a maximum of 512x512 pixels while preserving

aspect ratio, and converted to PNG format.

Request Body

required
multipart/form-data
picture
string (binary)
required
- The image file to upload (max 5MB, supported formats: PNG, JPEG)

Responses

Profile picture uploaded successfully

Code Examples

curl -X PUT 'https://api-next.checkio.co.uk/v1/my/profile/picture' \
  -H 'Authorization: Bearer {token}' \
  -H 'Content-Type: multipart/form-data' \
  -F 'picture=@/path/to/file'