Generate API Keys

Create an API Key

API keys are created in the administration screen of your atfinity application. This means you need at least admin rights for atfinity to create and manage API Keys.

The admin area is accessible by clicking on the shield icon in the lower left corner of the app. Once there, click on API Keys in the menu’s Integrations section.

Next, click 'Create API Key'. This screen will pop up:

Enter a name for your API Key, then click 'Create API-Key'.

Next, you will see a screen with the API Key that was created in bold. Be sure to copy it, so you can store and use it to authenticate yourself when making requests to the atfinity API.

You can create an unlimited number of API Keys. In the API Keys overview, click ‘Revoke’ to delete keys you no longer need.

Use an API Key

To use an API Key in your communication with the atfinity API, add it to the HTTP header of your request, with:

  • key: Api-Key

  • value: the bold value you copied when creating the key

As the key, use <Api-Key>.

As value, use the bold value you copied when creating the key.

Here’s an example of an authorization header:

’Authorization: Api-Key n58lzybi.1M2baTIHuRgPGbzdZC3Zch0b8VC2etL0’

Last updated