To obtain an API key, you first need to create a user account in Indigo. Please note that the Indigo user account is different than your developer portal account. The Indigo user account is what will allow you to obtain API keys.
Then, to ensure that the new user can create and delete API keys, you need to create a permission set that gives the user the right to use API keys.
We recommend creating a specific Indigo account that is used by one or more API calls rather than using an existing Indigo user account.
Multiple accounts, each with their own security rights, and an API Key can also be set up to provide different access to different APIs, thus further increasing the security.
To create an Indigo user account:
Go to Administration > Main > Users.
Click the Insert + button in the functions bar.
Create the API user account and provide your company name with it to set it apart from other API user accounts. Consider giving the API user a generic name, such as “API_User@[yourcompanyname]”, to make it distinguishable from normal users.
Set Access Rights that you want the API to utilise.
Click the Save button to save the user.
This account needs one important permission set assigned to them to ensure they can use an open API key.
To create a permission set for using API keys:
Go to Administration > Main > Permission Sets.
Click on + Insert in the functions bar.
Enter a code and description of the new permission set (see the screenshot below for an example).
Click Save (check mark icon).
Next, to add the use of API permission to the new permission set:
Click on the new permission set.
Click on the Unassigned Permissions tab.
Select the box next to Foundation_CreateApiKeyCommand.
Click on Insert (plus icon) in the functions bar.
In the pop-up window, be sure that Execute is selected.
It may be necessary to refresh the web page so that the new permission set is visible in the Users page.
The last step is to assign this permission to the new user:
In the left sidebar of Indigo, click on Administration.
Click on Users in the Main section.
Double-click on the user who will use API keys.
Click on Edit (pen icon) in the functions bar.
Under User Permission Sets, select the new permission set containing the use of APIs permission.
Click Save (check mark icon).
How to obtain and Open API key
To create an open API key to be used by a system other than Indigo:
Log in as the newly created API user in Indigo.
Click on the User Profile menu and select View Profile.
In the User Profile screen, click on the Create API Key option in the API Keys section of the API user’s profile.
In the Description field of the resulting pop-up, enter a short name to help you identify the API key, for example, Third party integration with HR system.
If the following pop-up appears, contact Shireburn Software for authorisation.
The API Key will be generated. Copy this API Key to your clipboard and utilise it whenever you make an API call as a parameter to the call, as described in our API documentation.