- Directly through the
createOnboardingTokenmutation. Use this when you already have a Firm API Token. - By requesting a token in the result of the
createFirmmutation. Use this when you know you want to render the form soon after you create the Firm.
createOnboardingToken mutation
Use the createOnboardingToken mutation when the Firm is already created in Confido.
This is a Firm-level request, so you must use a Firm API Token on the
x-api-key header. This tells us which Firm you want to create the token for.In createFirm Result
You can also get an Onboarding Token in the result of a createFirm mutation. This is useful if you would like to immediately render the onboarding form after creating a Firm. Remember, Onboarding Tokens are valid for 24 hours.
You can find detailed information about all queries and mutations in our
GraphQL Playground.