Manage API Keys
Use this guide when a script, backend job, partner system, or internal tool needs to call the Nitoriq API with a workspace API key.
API keys are workspace credentials. The API Access page shows each key’s status, scopes, expiration, last-used time, and actions.
Open API Access
Open Settings > Developer > API Keys.
The page includes:
Generate API Key- API key table
- status labels
- scope list
- expiration and last-used columns
- disable, enable, rotate, and revoke actions
Create An API Key
Choose Generate API Key to open the key modal.
The modal asks for:
- name
- optional description
- scopes
- expiration mode
- expiration date and time when expiration is enabled
The default scope is reports.read. Add other scopes based on the API work the
external system needs to perform.
Copy The Token
After an API key is created, Nitoriq shows the token one time. Copy the token from that screen and add it to the external system that will use the API.
Nitoriq does not show the full token again after the modal is closed. If a new token is needed later, rotate the key.
Read API Key Scopes
API key scopes control what the key can read or change.
Available scope families include:
- report reads
- campaign, offer, lander, traffic source, affiliate network, and flow template reads or writes
- domain reads or writes
- table view reads or writes
- integration reads or writes
- settings reads or writes
- conversion ingestion
- cost writes
The selected scopes are shown in the API key table after the key is created.
Maintain API Keys
Use row actions to manage existing keys:
Disablestops a key without deleting the recordEnablemakes a disabled key usable againRotatecreates a new token and revokes the old token immediatelyRevokepermanently stops the key
Rotation opens a new one-time token modal. Update the external system with the new token after rotating.
API key fields
Status
Whether the key is active, disabled, revoked, or expired.
Status tells operators whether the credential can currently be used.Scopes
The permissions granted to the key.
Scopes define which API endpoints and actions the external system can use.Expires
The optional expiration date for the key.
Expired keys stop working without a row action.Last used
The most recent time the key was used.
It helps admins identify active, inactive, or unexpected API usage.Rotate
Creates a replacement token for the key.
The old token is revoked and the new token is shown once.Was this page helpful?