Skip to content
KiweelyKiweelyKiweely

How do you read worker photos through Workday APIs (REST, SOAP and WQL)?

Workday exposes worker photos through the Person REST service (GET /people/{ID}/photos), the Human_Resources SOAP operations Get_Worker_Photos and Get_Person_Photos, and photo fields on the allWorkers WQL data source. The Personal Photo domains secure all of them.

  • Checked against Workday on
  • Applies to Workday Extend
  • 5 min read
  • Published
  • By Kiweely
On this page

You can read a worker’s photo from Workday in three ways: the Person REST service (GET /people/{ID}/photos), the Human_Resources SOAP operations Get_Worker_Photos and Get_Person_Photos, and the photo, securedPhoto and workerHasPhoto fields on the allWorkers WQL data source. All of them sit behind the Self-Service: Personal Photo and Person Data: Personal Photo security domains, and Workday stores photos up to 10 MB. For an external employee screen, the REST route with the signed-in employee’s own token is the simplest, because Workday then decides whose photo that employee may see.

Which Workday API returns a worker photo?

Route Call What the reference says it returns Security
RouteREST, Person v4 CallGET /people/{ID}/photos What the reference says it returnsA collection of personal photos for the person. SecurityPerson Data: Personal Photo, Self-Service: Personal Photo (scope: Personal Data)
RouteREST, Person v4 CallGET /people/{ID}/photos/{subresourceID} What the reference says it returnsOne photo. The subresource ID is a Workday ID or a reference ID of type Image_ID or File_ID. SecuritySame domains
RouteSOAP, Human_Resources v45.1 CallGet_Worker_Photos What the reference says it returns“Gets a Photo Image of the Worker”: per worker, an ID, a Filename (up to 255 characters) and the File as base64. SecurityNot stated in the operation list we reviewed; confirm in your tenant
RouteSOAP, Human_Resources v45.1 CallGet_Person_Photos What the reference says it returnsThe photo by person reference or Universal ID. It filters out person instances that are not enabled for photos. SecuritySame
RouteWQL CallallWorkers fields workerHasPhoto, photo, securedPhoto What the reference says it returnsA Boolean, and references to an Image object. SecurityData source security (see below)

The ID in the REST path accepts a 32-character Workday ID or the named entry me, which resolves to the signed-in user. The photo object in the REST specification carries fileName, contentType, fileLength, width, height, href and id. The specification describes width and height as the dimensions of the cropped image.

The specification marks both photo endpoints “Contains attachment(s)” but does not spell out how the image bytes are delivered. We did not run a live call for this guide. Confirm the delivery in your own tenant with the REST API Explorer before you design around it.

Who is allowed to see a photo?

Workday secures photo viewing through two domains in the Personal Data functional area: Self-Service: Personal Photo and Person Data: Personal Photo. Workday’s security reference says these domains control access to photos on profiles, preview cards, directory swirls and elsewhere in Workday.

One detail matters for directories. On Person Data: Personal Photo, users can see photos in directory swirls if they have either Report/Task Permissions or Integration Permissions. Visibility of all other worker photos is secured to Report/Task Permissions only.

REST calls always use Report/Task permissions. Workday’s REST security guide says REST APIs require Report/Task Permissions on the securing domain whether the caller is an integration system user or an individual, and that Integration Permissions apply only to SOAP web services. So the “directory swirl” exception for Integration Permissions does not help a REST client.

For an employee-facing screen, call the API as the employee (OAuth authorization code grant), not as a shared integration user. A shared user sees photos according to its own permissions on Person Data: Personal Photo, and your screen then has to re-implement who may see whom. If a call fails with 403, see why a REST call returns 403 even when the client scope looks right.

What image rules should a screen plan for?

Workday’s photo recommendations set the limits that shape what comes back:

  • Size: the maximum image size, in terms of storage, is 10 MB.
  • Format: JPG, PNG and GIF. PNG and JPG give the best results; GIF can look poor when resized.
  • Color space: CMYK is not supported.
  • Shape: Workday shows photos as circles, recommends square images, and says about 200 x 200 pixels works for most uses. Its example: the profile photo displays at 150 x 150 pixels and the same image elsewhere at 50 x 50.

Workday scales and crops images at run time but never changes the original aspect ratio. A screen that shows a photo in a different shape, or at a different size, should crop on its own side and not assume the stored image is square.

How do you show photos for a whole team or directory?

Do not request one photo per row on every page load. The collection endpoint is paginated: Workday’s pagination reference gives limit a default of 20 and a maximum of 100 on the endpoints we checked, and says some REST APIs raise the maximum to 1000.

A workable pattern for an org chart or directory:

  1. Read the people and structure first, using the worker list or the supervisory organization queries.
  2. Use workerHasPhoto from WQL (a Boolean on allWorkers) to decide which people need a photo request at all, and show initials for the rest.
  3. Fetch photos only for the people on screen, and load them as the person scrolls.
  4. Read the rate limit guidance before you fan out many parallel calls.

The allWorkers data source description says it returns workers “regardless of contextual security”. It is a convenient field source, but do not treat it as the access check. Let the photo endpoint, called under the employee’s own token, make the decision.

How are photos loaded into Workday?

Writing is separate from reading. Individual changes go through the Photo Change business process: its initiating actions are Change My Photo, Edit Photo, Delete Photo and Delete My Photo. For bulk loads, Workday documents an integration built from the Image Upload Template, where the integration system user needs Put access to the Integration Event and Person Data: Personal Photo domains and the Document Image Retrieval Service is enabled with the FTP client off. The Human_Resources SOAP service also lists Change_Person_Photo, Put_Worker_Photo and Import_Person_Photos.

Frequently asked questions

Which Workday REST endpoint returns an employee's photo?

The Person service has GET /people/{ID}/photos for a collection and GET /people/{ID}/photos/{subresourceID} for one photo. The ID can be the person's Workday ID or the named entry me. Both are secured by the Person Data: Personal Photo and Self-Service: Personal Photo domains.

How big can a Workday worker photo be?

Workday's photo guidance says the maximum image size, in terms of storage, is 10 MB. It supports JPG, PNG and GIF, does not support the CMYK color space, and suggests square images of about 200 x 200 pixels.

Why does a worker photo call return nothing or a 403 error?

Photo access is secured by the Self-Service: Personal Photo and Person Data: Personal Photo domains, and the user or the API client's functional area must reach them. The SOAP operation Get_Person_Photos also filters out people who are not enabled for photos, and a worker may simply have none.

Can I upload or change worker photos through the API?

Yes, but it is a write path with its own approval. The Photo Change business process controls Edit Photo and Change My Photo, and Workday documents an Image Upload Template integration for bulk loads. This guide covers reading.

Sources checked

Related guides

All guides

Let Workday check the work.

Kiweely writes WQL and builds orchestrations in your own tenant, and Workday, not Kiweely, says whether they passed.

Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.

We’ll email you once to confirm. Unsubscribe in one click from any issue.