Skip to main content
POST
Upload profile picture

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
profile_photo
string

Base64 encoded image with data URI prefix

Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."

Response

Profile picture uploaded