Skip to main content
POST
Upload Avatar
This endpoint accepts multipart/form-data. The uploaded image will be processed and made available as an avatar URL and thumbnail URL.

Code Examples

Headers

Include your API key in the Authorization header as a Bearer token on every request.
integer
required
ID of the workspace. Required for all Digital Employees API requests.

Request Body

file
required
Avatar image file. Maximum size: 5 MB. Accepted formats: JPEG, PNG, WebP.
string
Optional display name for the avatar. Maximum 255 characters.

Response