Search

API - Get documents from Employees

Get documents on an employee from the employee folder using Emply People API.

Skærmbillede 2023-08-10 kl. 10.42.27.png

Preparation

In order to use Emply People public API, you need to do the following:

  • Generate API key from the Emply People platform Settings+Integrations+API+New API key.

  • Log on to api.emply.com

Using Emply People API

  1. You will have to find the employee UID. You will find this in the Employee endpoint.

    Sk_rmbillede_2022-07-26_kl._09.56.59.png
  2. The API call will return all the employees registered on your platform with their unique ID's. Find the ID you need and copy it. You can use the other parameters to only find the one employee you're looking for.

  3. Next you will have to find the document ID still from the employee endpoint.

    Sk_rmbillede_2022-07-26_kl._10.00.40.png
  4. When you have both the documentId and the employeeId you can get the document content

    Sk_rmbillede_2022-07-26_kl._10.28.00.png

Now you have the data you need to recreate the file by converting the base64 string content to a file.

Was this article helpful?

Was this article helpful?

Want to get in touch?

We got you. Fill out a request and we'll get back to you as soon as possible.

Submit a request