Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
image_file
file
required

JPEG, PNG, or WebP image file. The maximum file size is 10 MiB.

name
string
required

Customer-facing name of the custom avatar.

Required string length: 1 - 255
Example:

"Customer portrait"

Response

The custom avatar was validated, stored, and created.

data
object
required