API Keys
API keys provide access to your organization’s data through the PERSCOM API. Each key can be configured with specific scopes to limit its permissions.Create An API Key
- In the sidebar, select Integrations > API Keys.
- Select New API key.
- Enter a Name to identify the key.
- Configure Scopes to limit what the key can access, or select All scopes for full access.
- Select Create.
Important: Treat API keys like passwords. Never share them publicly or commit them to version control.
Making Authenticated Requests
Include your API key in theAuthorization header of every request:
Example Request
Authentication Errors
If authentication fails, the API returns a401 Unauthorized response:
- Missing or malformed
Authorizationheader - Invalid or expired API key
- Revoked API key
Key Management
View Keys
View all API keys in Integrations > API Keys. Each key displays:- Name and creation date
- Scopes assigned to the key
- Last used timestamp
Revoke Keys
To revoke an API key:- Navigate to Integrations > API Keys.
- Find the key and select Delete.
401 Unauthorized error.
Best Practices
- Use descriptive names for keys to identify their purpose
- Limit scopes to only what the integration needs
- Rotate keys regularly for security-sensitive integrations
- Use environment variables to store keys in your applications
- Never expose keys in client-side code or public repositories