API Access is currently only available on our Enterprise plans. Please contact [email protected] if you'd like to learn more.
API tokens are tied to a user account and may be created in the Nami Control Center.
- Open the menu and select Settings.
- Click on the API Access tab. Note this tab is only available on Enterprise accounts.
- Click the + Add Access Token token button.
- Enter a name for the token.
- Select an expiration date for the token. The maximum expiration date for a token is one year from the time you create it.
- Click the Create Access Token button.
- You'll now see a modal that lists your access token value. Click the Copy button to copy it to the clipboard and then the Close button to dismiss the modal.
This is the only time the access token will be available for security reasons.
Be sure to securely save it before closing the modal!
You can delete any Access Token by clicking on the Trash button.
Your API Access Tokens have the same scope of permissions as the Role assigned to your user. We recommend that you create a separate account for API access and choose a role with the lowest set of permissions you require for your API access.
Nami Best Practice
We recommend creating a separate account for your API Access Tokens.
If you need API access for multiple apps, we further recommend creating a separate account for each app.
For the new account, an email address such as
[email protected]will work.
Do Not Change Apps or Organizations on Your API User
The API access token will be set to access the App and Organization that the account last accessed on the Control Center.
If you change to a different App in the Control Center, you will see unexpected results from your API calls as they will be affecting a different app than you anticipated.
To access the API, take the Token ID you created in the first section and add it to the header of all your API requests. Be sure to set the content type to JSON as well. See the full header example below
'Content-Type: application/json' 'Authorization: Bearer <token>'
<token> with your Token ID from the Control Center.
Enterprise customers may request copies of our API documentation from their Account Manager or by emailing [email protected].
Some APIs required the App ID to be included in the request. You can find your App ID in the App Settings screen.
Updated about 1 month ago