Profile Pictures
Users can have a profile picture in Flowcase that may or may not be included in exported CVs (résumés), depending on the template used.
Upload profile picture
To change the user profile picture, make a POST request to:
POST https://<subdomain>.flowcase.com/api/v1/users/<user_id>/image
The body of the POST request should be a multi-part form, including a part with name image[file] with a content type of image/jpeg, image/gif or image/png.
Please note, the colour profile of the image should be sRGB, otherwise the colours may appear different once uploaded to Flowcase.
Example using curl
curl -X POST \
'https://<subdomain>.flowcase.com/api/v1/users/<user_id>/image' \
-H 'Authorization: Bearer <your-api-key>' \
-F 'image[file]=@PATH/TO/PICTURE.JPEG'