Skip to main content
POST
Upload profile image

Authorizations

Authorization
string
header
required

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

Body

application/json
file_name
string
required

File name

file
string<byte>
required

Base64 encoded file content

content_type
string
required

Content type

is_chunk
boolean

Whether the file is being uploaded in chunks

chunk_index
integer

Current chunk index

total_chunks
integer

Total number of chunks

Response

Profile image uploaded successfully

message
string