Upload

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Upload a profile picture for the authenticated customer. The image must be square and at least 150×150 pixels (PNG or JPG). Returns the updated customer and a fresh JWT.

Example: A customer picks a new avatar in account settings; upload it and display the returned profile_photo URL.

📘

Multipart upload

Send the file as multipart/form-data in the profile_photo field, with a bearer token. Replacing an existing photo removes the old one. See Authentication.


Conditional Requirements

ConditionRequired Fields
Alwaysprofile_photo — a square image (PNG/JPG), at least 150×150 pixels
Query Params
int32
required
Body Params
file
required
Headers
string
required
Defaults to Bearer eyJ***
string
Defaults to application/json
Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json