- Partner Token
- Firm Token
- Payment Session Token
- Onboarding Token
x-api-key header.
Partner Token
Partner tokens are generated through the Confido Legal partner portal under settings. If you do not have a partner account, please reach out to and we will get you set up.Partner tokens should never be shared with the frontend. Keep them secured on
your server.
Firm Token
Firm tokens are generated with thecreateFirmApiToken mutation or the createFirm mutation. This request can be made using a Partner API Token.
Firm tokens should never be shared with the frontend. Keep them secured on
your server.
addPaymentLink, addClient, and addMatter. They are also used to create Payment Session Tokens for hosted fields. Below is an example firm token.
Multiple firm tokens and lifecycle
You can create more than one Firm API token for the same Firm (for example viacreateFirmApiToken, or when each user completes Connect). Tokens are long-lived: they do not expire on a TTL. There is no refresh or rotate endpoint—create a new token when you need to rotate credentials, then revoke the old token in the Confido Legal app under Settings → API Tokens (or stop using it). Revoking a token causes the API to reject it immediately.
Firm API tokens are not scoped (e.g. there is no read-only vs full-access token type). Any valid Firm API token can perform the same Firm-level API operations the product allows for server-side integration.
We do not send a webhook when a Firm API token is created or revoked. If a token stops working, handle 401/403 responses by checking whether the token was revoked in the portal.
Sandbox and production use different tokens. Partner and Firm tokens are tied
to the environment where they were issued (see the
sandbox segment in the
token prefix).Payment Session Token
Payment Session Tokens are generated with thecreatePaymentToken mutation. This request can only be made with a Firm API token.
Payment Session Tokens are a one-time-use token that should be used to initialize the Confido Legal JavaScript SDK on your frontend. These tokens are meant to be shared with your frontend code.
Onboarding Token
Onboarding Tokens are generated with thecreateOnboardingToken mutation. This request can only be made with a Firm API token.
Onboarding Tokens are short-term tokens that should be used to initialize the Confido Legal JavaScript SDK on your frontend. These tokens are meant to be shared with your frontend code.