Import entities in bulk
Accepts between 1 and 1,000 entities and returns straight away. The whole submission is stored before the response is sent, and each item is then registered in the background, so nothing is lost if processing is interrupted. Poll the job to follow progress.
Each item is the idempotent upsert of a single registration, so sending the same book again updates the same entities. The request itself is not deduplicated: every call creates a new job. The whole array is validated first, and one invalid item rejects the request.
Side effects: entity.imported fires for each entity the job creates, and each entity is enrolled in screening as on a single registration. The submission is recorded in your audit log without the individual references.
Error codes
A missing or unknown key returns 401 with a plain sentence in error rather than a code.
Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.
Authentication
Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.
Request
Response
Always PROCESSING when the job is accepted.