pk_live_…) for safe client-side or read-only use, and a secret key (sk_live_…) for server-side or write operations.
Creating an API key
1
Open API Keys settings
In the Novala dashboard, navigate to Settings → API Keys.
2
Create a key pair
Click Create Key Pair, enter a descriptive name (for example,
Acumatica Integration), and click Create.3
Copy your keys immediately
The secret key is shown only once. Copy both the publishable key and the secret key before closing the dialog.
Passing your key
Include the key in theAuthorization header of every request:
Key types
Scopes
API keys carry one or more permission scopes. A request to an endpoint that requires a scope your key does not have returns403 Forbidden.
Common scopes:
Scopes are assigned at key creation time. If you need additional scopes, create a new key pair with the required permissions.
Error responses
A missing or invalid key returns401 Unauthorized:
403 Forbidden:
Key rotation
Rotate a key pair without downtime by following this sequence:1
Create a replacement key
Go to Settings → API Keys and create a new key pair with the same scopes.
2
Deploy the new key
Update your integration’s environment variables or secrets store to use the new key.
3
Revoke the old key
Once the new key is confirmed working, click the rotate icon next to the old key or delete it outright. Revoking is immediate — any request still using the old key will receive
401 Unauthorized.