---
title: "Worker Profile Image"
method: POST
path: "/workers/{workerId}/profileimage"
tags: ["Worker"]
---

# Worker Profile Image

`POST /workers/{workerId}/profileimage`

## Request

- Base URL: `https://api.paychex.com`
- URL: `https://api.paychex.com/workers/{workerId}/profileimage`
- Auth: none declared
- TypeScript: <https://skmtc.dev/paychex/apis/external-api/docs/workers/:workerId/profileimage/post.ts> (a function with typed inputs; its response is checked against the schema)

Add a profile image to an "Active" or "In-Progress" worker. Profile images may be JPG, PNG, or GIF files no larger than 5MB.

## Path parameters

- `workerId` string, required

## Request body `multipart/form-data`

- object
  - `image` string, binary, required

## Response `200`

successful operation

- object
  - `content` AddProfileImageResource
    - `profileImageURL` string
  - `links` Link1[]
    - `href` string
    - `hreflang` string
    - `title` string
    - `type` string
    - `deprecation` string
    - `profile` string
    - `name` string
    - `templated` boolean

## Other responses

- `400`: Uploaded profile image is not an acceptable file type. (API-62), Uploaded profile image exceeds maximum allowed size. (API-4)
- `401`: Unauthorized
- `403`: User doesn't have access to this endpoint (API-2), Client has been end dated (API-68)
- `404`: Invalid resource ID (API-7)
- `405`: Unsupported method type (API-59)
- `406`: Unsupported Accept header
- `423`: Client locked (API-10)
- `500`: Internal Server Error.

---

[API](https://skmtc.dev/paychex/apis/external-api.md) - [All operations](https://skmtc.dev/paychex/apis/external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paychex/apis/external-api/revisions/07161d3e073f?raw)
