API Keys and Authorized Apps
API keys and authorized apps control how outside systems access a workspace. This guide explains when to use each one, how to create credentials safely, and when to revoke access.
8 min read
Create an API Key
API keys are created from Settings on the API Keys tab. Create a separate key for every integration. For example, use one key for your website sign-up form, another key for a CRM sync, and another key for a data import script. If you are building the integration yourself, start with the Developer Quickstart after the key is created.
- Click Settings in the left sidebar.
- Click the API Keys tab.
- In Integration Credentials, click Generate API Key.
- In the Generate API Key drawer, choose the Workspace you want the integration to access.
- Enter a Name that explains what system will use the key.
- Choose Access Level. Use Read Only for reporting or syncs that only read data. Use Read and Write only when the integration must create or change data.
- Choose Expiration. Use an expiration date when the key is temporary, and use Never expires only for long-running systems that your team actively owns.
- Click Generate.
- In the Save Your API Key dialog, copy the full key immediately. Mailrith shows the full key only once.
After you close the key dialog, Mailrith keeps enough information to identify the key, but it does not show the full secret again. If you lose the full value, rotate the key or create a new one and update the integration.
Rotate or Revoke API Access
Rotating means replacing the secret value for an API key while keeping the integration concept in place. Revoking means disabling access so the key can no longer be used.
- Rotate a key when the system still needs access but the secret may have been seen by the wrong person, stored in the wrong place, or used for too long.
- Revoke a key when the integration is no longer used, a vendor relationship ended, or you want access to stop immediately.
- Do not rotate revoked keys. Once a key is revoked, create a new key if access needs to be restored.
Before rotating a key, make sure the person responsible for the integration is ready to update the stored secret. If the integration keeps using the old key after rotation, it will stop working. If that person no longer belongs in the workspace, remove or change their access through Team Members.
- Click Settings in the left sidebar and open the API Keys tab.
- Use Search API keys to find the key by name, owner, workspace, or purpose.
- Click Rotate when you want the integration to keep working with a new secret value.
- Copy the replacement key from the dialog and update the connected system before treating the rotation as finished.
- Click Revoke when you want the integration to stop working immediately.
Credential Safety Checklist
- Name every key after the system that owns it, not after the person creating it.
- Store full API key values in a password manager, secret manager, or server environment variable. Do not paste them into shared documents or chat channels.
- Give integrations the smallest access level that still lets them do their job.
- Review keys and authorized apps whenever a contractor leaves, an agency handoff occurs, or a connected tool is retired.
- Revoke anything you do not recognize, then create a new credential only if a real integration stops working and you can identify who owns it.
Need Help?
Reach the Mailrith team if you need help planning a workflow or troubleshooting a setup.
Related Guides
Update your profile, change your password, manage your subscription plan, and generate API keys for programmatic access.
Add, import, search, filter, and bulk-update contacts while tracking a complete activity history for every subscriber.
Invite collaborators, assign them to specific workspaces, and configure per-feature permissions that match exactly what each person needs to do their job.