Skip to main content

Bulk participant import

Import participant rows in a background batch keyed by an organisation-scoped external reference.

Bulk participant import lets an Identity manager onboard or update up to 500 participants in one background batch keyed by an organisation-scoped externalRef. Each valid row creates or updates the participant, submits KYC data for normal review, and opens a pending identity registration without ever auto-approving KYC or registration.

How a batch runs

Submit rows to POST /api/v2/participants/import-batches, documented in the Platform API reference. The call returns 202 Accepted with a batchId, statusUrl, and Location header, and you poll GET /api/v2/participants/import-batches/{batchId} until state reaches completed.

Send Prefer: wait=<seconds> (clamped between 5 and 99 seconds) to hold the request for synchronous completion. If the batch finishes in time, or if every row fails validation immediately, the call returns 200 OK with the completed batch.

Reading and submitting batches both require the Identity manager role. Callers without it receive 403 before any row runs. If the organisation's Approvals settings protect the “System administration” group under Administration, the batch waits for a second approver before running.

Step-up verification and idempotency

Signed-in session callers pair the batch with one wallet verification and one single-use step-up challenge from POST /api/v2/step-up-challenges, bound to the request's canonical JSON digest and scope headers (X-Chain-Id, X-Network-Id, X-Executor, X-Custody-Account-Id). Challenges expire after five minutes.

API-key callers send neither a step-up challenge nor walletVerification. A missing step-up challenge or wallet verification from a session caller returns 400 before any row executes.

Send an Idempotency-Key header on every import request. Replaying the same key from the same caller with identical rows returns the existing batch, while reusing the key with different rows returns 409.

Row fields, deduplication, and classification

Each row supplies externalRef, name, email, providerConfigurationId, ISO 3166-1 alpha-2 nationality and residence codes, and a kyc object (firstName, lastName, dob, residencyStatus, nationalId). residence sets the KYC profile country, while nationality prefills the pending identity registration country.

While a participant's offboard is completing in your organisation, an import opens or updates no registration request for them and sends no class claim: a row that asks for one fails with classification-not-issued. The rest of their row imports while they still hold a seat. If they lose the seat while a batch is running, the batch writes nothing more to them and the row fails with email-in-use. While they are offboarded, an import writes no registration request for them and sends them no class claim.

The platform trims surrounding whitespace from name, which must then be 1 to 255 characters. The row fails with row-invalid when name falls outside that length or contains angle brackets, control or formatting characters, a URL, a host name, an IP address, or an email address.

externalRef is unique per organisation:

  • Re-sending an existing externalRef updates that participant's name and KYC data instead of creating a duplicate.
  • Re-sending an existing externalRef with a different login email fails that row with email-change-refused.
  • Repeating an externalRef twice inside one batch fails both rows with external-ref-duplicate.
  • Re-sending an externalRef whose previous creation failed creates the participant fresh.
  • After a participant loses their seat in your organisation, re-sending their externalRef with a new login email creates a new participant. With the same email, the row fails with email-in-use.

The import provisions only the custody provider's default wallet for each participant. Register additional wallets through registration routes afterwards.

Rows can also carry an optional classification (retail, institutional, or proprietary), which requires the Verification issuer role in addition to Identity manager. The organisation's identity issues the matching class claim (participantClassRetail, participantClassInstitutional, or participantClassProprietary) only when the participant holds no class yet.

A row attempting to change an existing class fails with classification-change-refused (after saving the row's other fields), because changing class requires the participant identity's key holder. A classified row whose reference is still pending in another batch fails with classification-not-issued. Re-submit once that batch completes.

Row statuses and error codes

The batch returns rows in input order with status set to pending, created, updated, unchanged, or failed. Failed rows carry a code and field-level issues. A created or updated row carries dependency-unavailable when a later step such as KYC submission did not finish. Send it again to complete it.

Code
Meaning
row-invalid
A field broke its validation rule. issues names the field.
external-ref-duplicate
The same externalRef appears more than once in the batch.
email-in-use
The email belongs to an existing user, or the participant lost their seat while the batch ran. No member is adopted.
email-change-refused
The reference is already imported under another login email.
participant-create-refused
The user, wallet, or identity could not be created.
kyc-fields-rejected
The KYC profile rejected a field or missed a required section field. The participant is already created.
kyc-transition-refused
The KYC version could not be submitted for review.
kyc-version-refused
A new KYC version could not be started.
kyc-draft-open
An operator has an open KYC draft for this participant. Finish or discard it, then retry.
classification-not-issued
The class claim could not be written. Retry unless issues reports an unknown outcome, in which case check claims first.
classification-change-refused
The participant already holds another class, which only the participant identity's key holder can change.
dependency-unavailable
A platform dependency was unavailable. Re-send the row later.

A failed row never stops other rows in the batch. KYC submissions enter the normal provider and reviewer workflow attributed to the importing operator and are never auto-approved.

Was this page helpful?