Create an API key
An API key lets another system, such as your CRM, contact center or Power BI, connect to your nps.today account through the nps.today API. You create and manage API keys in the Account settings in app.nps.today.
At a glance
- Where: Account > Authentication tab > Api keys
- You need: the API Keys permission with Create. See User permissions.
- Result: a new API key that you can copy into the system you are connecting
OAuth 2.0 is recommended for your own integrations
If you build your own server integration against the nps.today API, OAuth 2.0 is the recommended way to authenticate. Use an API key when the system you connect only lets you enter a fixed key or header. See Authentication and errors.
Use one API key per integration
Create a separate key for each system you connect, and give it a name that says what it is used for. Then you can turn off one integration by deleting its key, without affecting the others. It is the same idea as not reusing one password everywhere.
Before you start
- Know which system the key is for, so you can name it, for example "Salesforce" or "Power BI".
- Keep the key secret. Anyone with the key can call the nps.today API for your account.
Steps
- In the left menu, under Management, click Account.
- Select the Authentication tab. The Api keys section shows how many keys you have, for example You have 13 api keys.
- Click Add Api Key. A dialog opens.
- In Name, enter a name that says what the key is used for.
- Click Create. The new key is added to the list with its name. The key value is hidden; click the eye button (toggle api key visibility) to show it.
- Click the copy button next to the key (tooltip: Copy api key). A message confirms that the key was copied to the clipboard.
- Paste the key into the system you are connecting. For API calls, send it in the
Authorizationheader asapikey <your API key>. See Authentication and errors.

Rename, deactivate or delete an API key
- In the Api keys list, click the key. A dialog with the key's Details opens.
- Change the Name, or turn off Active to stop the key from working without deleting it. Click Save Changes.
- To remove the key, click Delete.
The Active column in the list shows which keys are active.
Deleting a key stops the integration
Any system that uses a deleted key can no longer call the nps.today API. Create and set up the new key before you delete the old one.
Verify it worked
- Check that the key is in the API keys list with the name you gave it.
- Make one test call or run the test in the connected system. For example, add a test respondent to a campaign that has Block campaign send outs turned on, and check that the respondent appears on the campaign's Scheduled tab. See Block all send-outs (testing).