Upload Employee Photo

Uploads a new photo for an employee. The request must be a multipart/form-data POST with a file field. Confirmed supported formats: JPEG, PNG, BMP. Other formats (e.g. HEIC, SVG, AVIF, TIFF) are not reliably supported and may return 415, 500, or 502. The image must be square (width and height must match within one pixel) and at least 150×150 pixels. Maximum file size is 20MB. The photo replaces the employee's current photo for all size variants. Employees may upload their own photo if the company has self-photo uploads enabled.

Path Params
integer
required

The ID of the employee whose photo is being uploaded.

Body Params
file
required

The image file to upload as the employee's photo.

Responses
201

The photo was uploaded and processed successfully.

400

The request is invalid: no file provided, zero-byte file, or the maximum number of photo uploads (32767) has been exceeded.

403

The API user does not have permission to upload photos for this employee.

404

The employee does not exist.

413

The uploaded file exceeds the 20MB size limit.

415

The image does not meet requirements: not square (width and height differ by more than one pixel), smaller than 150×150 pixels, or the file could not be read as a supported image format.

Language
Credentials
:
URL
Response
Click Try It! to start a request and see the response here!