Search

API v1 - Get documents from Onboarding Profile

In this article, you can read step by step how to get documents from an onboarding profile, using Emply's API.

 

Preparation

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

  • Generate API key from the Emply platform (Menu > Settings > Integrations > API > New API key)
  • Log on to api.emply.com

 

Using Emply's API

1. First, you will have to find the form ID. You will find this in the Forms endpoint

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

The API call will return all the forms registered on your platform, with their unique ID's. Find the ID you need and copy it.

 

2. Next you will have to find the ID of the onboarding profile. This can be found in the Employee endpoint

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

 

3. When you have both the form ID and the ID of the onboarding profile, you can get the form content on the FormData endpoint

Skærmbillede 2023-08-10 kl. 14.00.45.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