Create and manage an API key
Generate an Arfiti API key for an integration, choose its permissions and legal entities, and replace or revoke it.
Use an Arfiti API key when connecting a script or integration that asks for one. If your assistant offers Sign in to Arfiti, follow the sign-in flow.
Generate a key
- In the dashboard, switch to the organization the integration should use. Open Configuration → API keys and select Generate API key. If access is refused, ask the person who manages access for that organization.
- Enter a Key name you will recognize later, such as “Monthly reporting export”.
- Choose the permissions. Read is required and Write starts selected. For the reporting export, clear Write and leave Delete unchecked.
- Under Entity access, choose Limit to selected entities and select the legal entity the export needs. The form initially selects Access to all entities.
- Set Expiration (days) for the expected lifetime of the integration. The form defaults to 180 days and accepts 1–730 days.
- Select Generate key, then Copy key. Save it in your integration’s secret store before selecting Done. The full key appears once. The key prefix in the dashboard lets you identify it later.
Before generation, this example in a sample company is configured for read-only access to one legal entity for 30 days. The form was canceled after capture; no key was generated. Select the image to enlarge it.
Check the connection
Use the integration’s secure credential field. For an MCP client that supports custom headers, set the header name to X-API-Key and supply the saved key as its value. Keep the value out of chat messages, URLs and source files.
Try a read-only request for the intended entity, such as “Show the trial balance for October for this entity.” Check the company and entity in the result. If access is refused, check the selected company, key status and requested entity before changing permissions.
Replace or revoke a key
To replace a key, generate a new one with the required permissions and entity access. Update the integration’s secret and verify a read succeeds. Then open the old key by name or prefix in Configuration → API keys, select Revoke key and confirm.
If the dashboard says revocation is waiting for approval, follow the existing request. Verify the old key shows Revoked. For a lost or exposed key, request revocation promptly. Keys created for a managed agent have a separate lifecycle from the integration keys covered here.