Service Accounts and API Keys
As system administrator, open Settings → Workspace → Service Accounts → New, enter a descriptive name, and save. In Permissions, Roles, and Companies, grant the access the integration needs. Use employee sign-in accounts separately.
Create an API key
Open API Keys → New on the account. Enter a name, required scopes, company restriction, and optional expiry. Requests require an active account, the relevant role or direct permission, matching key scope and company access, and an unexpired key.
Copy the secret when shown into the integration's secure settings. Verify prefix, scope, company, expiry, and last use in the list. For PACT, select the company-bound Exchange PCFs with the PACT Network scope.
Rotate or revoke a key
Use Rotate to replace the secret and update the integration. Revoke invalidates the key. Deactivate Service Account revokes every key. Reactivation requires new keys.
Troubleshoot
Keys work for supported API endpoints. For authentication errors, check the secret. For scope and company errors, check account and key assignments. For scheduled task issues, check whether the account is active. Autopilot service accounts and external API keys have separate setup. See Sustainability integrations and PACT.