API reference / Orders

POST/v1/orders

Create an order

Creates an order for one package.

entry_mode defaults to full. Sending applicant returns
501 not_implemented.

Idempotency-Key is required (8 to 255 characters). The same key and
the same body replay the stored response for 24 hours and set
Idempotent-Replayed: true. The same key and a different body returns
409 idempotency_conflict. A second request while the first is still
running returns 409 request_in_progress.

external_reference is unique per API key and client_account_id.
A duplicate returns 409 duplicate_order with existing_order_id.
client_account_id must be in the key's allowed_accounts.

Requires API keyIdempotentRate limited

Authentication

Send Authorization: Bearer <key> or the X-API-Key header. A sample key starts with bk_test_. A live key starts with bk_live_.

Scopes

orders:write

Headers

Idempotency-Keystringrequired

Required on create. 8 to 255 characters, no spaces or control characters.
Stored 24 hours with a hash of the raw body and the full response.

Request body

external_referencestringrequired
client_account_idstringrequired
entry_modeenum

One of: full, applicant.

packagestringrequired
servicesarray
screeningsarray
screenings
typestringrequired
qualifierstring
regionstring
countystring
position_titlestring
billing_codestring
requesterobject
requester
organizationstring
namestring
emailstring · email
applicantobjectrequired

When entry_mode is full (the default), ssn and dob are required.
When entry_mode is applicant, email is required.

applicant
first_namestringrequired
middle_namestring
last_namestringrequired
suffixstring
ssnstring
dobstring · date
emailstring · email
phonestring
racestring
genderstring
copy_reportboolean
addressesarrayrequired
documentsarray
documents
typeenumrequired

One of: release, other.

file_namestring
content_base64stringrequired

Decoded body must be at most 4194304 bytes.

metadataobject

Optional notes stored with the order. At most 20 keys. Values
are strings of at most 500 characters.

Responses

201Order created
400Invalid JSON, a malformed query, or a missing Idempotency-Key. invalid_json
401Missing or invalid API key. unauthenticated
403Missing scope, or `client_account_id` is not allowed for this key. forbiddenaccount_not_allowed
409Idempotency conflict, request in progress, duplicate external_reference, or applicant login exists. duplicate_orderidempotency_conflictrequest_in_progress
413An embedded document is over 4,194,304 decoded bytes. document_too_large
422One or more fields failed validation. validation_failed
429Per-key rate limit, or status refresh sooner than 5 minutes. rate_limited
501`entry_mode` applicant is not supported. Send `full`. not_implemented
502The service could not complete the request. A 503 also sets `Retry-After`. Retry only when that header is present. service_unavailable
503The service is busy. Retry after the indicated delay. service_unavailable
504The request timed out. request_timeout

Returns the Order object.