Overview
Before you can issue a credential to someone, they need an account in your organisation. Onboarding creates two things at once: an identity record and the custodial wallet attached to it. After this step the user can sign in, accept credential offers, and respond to presentation requests. You do this once per user, the first time you onboard them.Endpoint
Request
Request body
You must supply at least one ofemail or username. The rest are optional.
email (optional)
The user’s email address. If supplied, it’s used for password-recovery flows and as the default sign-in identifier.
username (optional)
A handle for the user. May contain only alphanumeric characters, dots, underscores, or hyphens. Useful when the user doesn’t have (or doesn’t want to share) an email, or when you want stable, human-readable identifiers in your own system.
If you omit username, the platform derives one from the email.
firstName, lastName (optional)
The user’s name as you’d like it shown in their wallet and in consent dialogs. Update later if you need to.
externalIdentifier (optional)
Your own id for the user (CRM id, partner reference number, or anything stable on your side). Stored against the account so you can look the user up by it later (see Lookup and IdP linking). Doesn’t have to be unique across organisations, but should be unique within yours.
Response
HTTP 201 CreatedError responses
What happens next
- The user receives the
tempPassword. You’re responsible for getting it to them, typically via email. - On first sign-in they’re required to change it.
- Any credentials you issue to them appear as pending offers in their wallet, awaiting their acceptance.
Lookup and IdP linking
Related endpoints on the sameconsumer-onboarding API:
GET /users. List users in your organisation.GET /users/by-external-identifier/{externalIdentifier}. Find a user by theexternalIdentifieryou supplied at onboarding.GET /users/{username}/external-identifier. Read the external identifier stored against an existing user.PATCH /users/{username}/idp-link. Link the account to an external identity provider.

