Skip to main content
POST
Upload user avatar

Authorizations

Authorization
string
header
default:Bearer <token>
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-key
string | null

Body

application/json

Request schema for uploading user avatar.

base64
string
required

Base64 encoded image file (with or without data URL prefix)

Response

Successful Response

Response schema for avatar upload.

avatarUrl
string
required