You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Does anyone know what API endpoint and permission are needed to pull work email info from a user?

Summary:


We want to know if it is possible to update an existing work email for a worker via API with an unattended script. If it is possible, we need to know which API endpoint we need to use and how to grant the service account / OAuth app the correct permissions/scopes.

So far, we have tried the following API Endpoints and received a 403 error (forbidden, indicating permissions issue):
POST /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/emails [headers: {upsert-mode:true}]
PATCH /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/emails/{EmailAddressId}

Version (include the version you are using, if applicable):

26C


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!