Search

Shared Access Token

Emply People's API2 and creating Shared Access Tokens. This is an alternative and more secure way to use API keys, which the administrators in your organization can share limited access to APIs with 3rd parties.

What is a Shared Access Token?

In the Emply People system only administrators have access to create Shared Access Tokens, which consists of:

  1. A unique name

  2. API permissions

  3. IP address restrictions

  4. Access token expiration time span (for example 3 months), enforced maximum of 1 year

  5. A key to refresh/create a new access token via API

The administrator can generate access tokens which can be shared with 3rd parties for accessing APIs. The access tokens should have an expiration time, and it will be possible for you to automate the process of refreshing the tokens.

How to create a Shared Access Token in Emply People

  1. Go to Settings+Integrations+API2

  2. Click on New Shared Access Token

    Skærmbillede 2024-06-18 kl. 15.26.33.png
  3. Add title to the token and select expiration date from the drop down. At the moment it is only possible to select 365 days for expiration date.

    Skærmbillede 2024-06-19 kl. 09.37.31.png
  4. Next choose the access for the token.

    Skærmbillede 2024-06-19 kl. 09.37.311.png
  5. Access gives you an overview of the product areas, which can be expanded to define more specific API access forms or folders in the specified product area:

    Skærmbillede 2024-06-19 kl. 09.44.52.png
  6. Mark access:

    • Read access (GET): Allows the API key GET data from the selected area.

    • Write access (PUT / POST): Allows the API key to PUT/POST, in other words create/update, the data in the selected area.

    • Delete access: Allows the API key to delete data in the selected area.

  7. Click the pencil icon to edit and more information will appear.

    Skærmbillede 2024-06-19 kl. 09.37.312.png
  8. Fill out Label(identifier), IP Address from, and IP Address to. These settings are optional and allows you to restrict the IP addresses which can use the Shared Access Token.

    Skærmbillede 2024-06-19 kl. 09.55.47.png
  9. Once title, expiration date, and API access have been chosen finish by clicking Generate.

    Skærmbillede 2024-06-19 kl. 09.37.313.png
  10. The Shared Access Token will generate and you should copy the token immediately since it will not be stored and shown again.

    Note

    Make sure to copy the token immediately, as it will not be stored and you will not be able to see it again.

The Shared Access Token will appear in the overview under API2.

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