Skip to content

Rippling: Retrieve a specific background check order

Rippling restApi.getBackgroundCheckOrders: arguments, response, policy and SDK examples.

← Rest API operations · Get started

Operation rippling.rest_api.get_background_check_orders

Provider route: GET /background-check-orders/{id}/. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/rippling with npm, or alter-sdk-rippling with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { RipplingIntegration } from "@alter-ai/rippling";
async function execute(input: Parameters<RipplingIntegration["restApi"]["getBackgroundCheckOrders"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new RipplingIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.restApi.getBackgroundCheckOrders(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_rippling import RipplingIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = RipplingIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.rest_api.get_background_check_orders(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.idstringRequired within parentFormat: id
queryobjectOptionalAdditional keys: not allowed
query.expandstringOptional

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$objectRoot
__metaobjectOptional
__meta.redacted_fieldsarrayOptional
__meta.redacted_fields[]ModelEach itemExpand Retrieve a report run — response body — meta redacted fields item
candidateModelOptionalExpand Update a background check order — response body — candidate
candidate_external_idstringOptionalThe provider’s unique identifier for the candidate. Required when accepting a START order (status=ACCEPTED, intent=START). Used as an idempotency key.
candidate_idstringOptionalThe Platform API identifier of the candidate. Use expand=candidate to retrieve candidate details including PII (name, email). This field is filterable.
created_atstringOptionalISO 8601 UTC timestamp when the order was created. Example: 2024-08-01T14:30:00Z
idstringOptionalThe unique Platform API identifier for this order.
intentstringOptionalThe action being requested. Values:
- START: Request to initiate a background check
- CANCEL: Request to cancel an existing background check
Known values: START, CANCEL
invitationModelOptionalExpand Update a background check order — response body — invitation
invitation_external_idstringOptionalThe provider’s unique identifier for the invitation. Required when accepting a START order (status=ACCEPTED, intent=START). Used as an idempotency key.
invitation_idstringOptionalThe Platform API identifier of the invitation. Use expand=invitation to retrieve invitation details. This field is filterable.
locationModelOptionalExpand Update a background check order — response body — location
nodeModelOptionalExpand Update a background check order — response body — node
node_external_idstringOptionalThe provider’s unique identifier for the background check node.
node_idstringOptionalThe Platform API identifier of the background check node. Use expand=node to retrieve node details. This field is filterable.
packageModelOptionalExpand Update a background check order — response body — package
package_external_idstringOptionalThe provider’s unique identifier for the package/check type (for START orders).
package_idstringOptionalThe Platform API identifier of the package/check type (for START orders). Use expand=package to retrieve package details. This field is filterable.
statusstringOptionalThe current status of the order. Values:
- REQUESTED: Waiting for provider action
- ACCEPTED: Provider has accepted the order
- REJECTED: Provider has rejected the order

Transitions follow a forward-only state machine: REQUESTED → ACCEPTED or REJECTED. Terminal states (ACCEPTED, REJECTED) cannot transition further.
Known values: REQUESTED, ACCEPTED, REJECTED
status_reasonstringOptionalExplanation for the current status. Required when rejecting any order (status=REJECTED). Example: ‘Duplicate request’ or ‘Already completed’.
updated_atstringOptionalISO 8601 UTC timestamp when the order was last updated. Example: 2024-08-01T15:45:00Z

Referenced models: Retrieve a report run — response body — meta redacted fields item, Update a background check order — response body — candidate, Update a background check order — response body — invitation, Update a background check order — response body — location, Update a background check order — response body — node, Update a background check order — response body — package

33 more schemas are linked from the tables above, on the schema pages.

Retrieve a report run — response body — meta redacted fields item
FieldTypePresenceDescription and constraints
$objectRootInfo about the redacted fields.
namestringOptionalThe name for the redacted field
reasonstringOptionalThe reason for the redaction
Update a background check order — response body — candidate
FieldTypePresenceDescription and constraints
$objectRootExpanded candidate details (use expand=candidate). Includes PII fields (name, email) protected by the background-check-candidates.read OAuth scope.

Expandable field
created_atstringOptionalThe timestamp when the candidate was created.
emailstringRequired within parentThe email address of the candidate. Required on create, but may be null on read for legacy rows.
external_idstringRequired within parentThe provider's unique identifier for the candidate. Required on create, but may be null on read for legacy rows. Can only be set once (during creation or when null). Cannot be changed after being set.
first_namestringOptionalThe first name of the candidate.
idstringOptionalThe unique identifier of the background check candidate.
last_namestringOptionalThe last name of the candidate.
middle_namestringOptionalThe middle name of the candidate.
owner_idstringOptionalThe ID of the background check provider (OAuth spoke owner).
updated_atstringOptionalThe timestamp when the candidate was last updated.
Update a background check order — response body — invitation
FieldTypePresenceDescription and constraints
$objectRootExpanded invitation details (use expand=invitation).

Expandable field
candidateModelOptionalExpand Update a background check report — response body — candidate
candidate_external_idstringRequired within parentThe provider's unique identifier for the candidate.
candidate_idstringOptionalThe Platform API identifier of the candidate. This field is filterable. Use expand=candidate to retrieve candidate details including PII (name, email).
created_atstringOptionalISO 8601 UTC timestamp when the invitation was created. Example: 2024-08-01T14:30:00Z
external_idstringRequired within parentThe provider's unique identifier for the invitation.
idstringOptionalThe unique identifier of the background check invitation.
packageModelOptionalExpand Update a background check report — response body — package
package_external_idstringRequired within parentThe provider's unique identifier for the package/check type.
package_idstringOptionalThe Platform API identifier of the package/check type. This field is filterable. Use expand=package to retrieve package details.
reportModelOptionalExpand Update a background check invitation — response body — report
report_external_idstringOptionalThe provider's unique identifier for the report.
report_idstringOptionalThe Platform API identifier of the report. This field is filterable. Use expand=report to retrieve report details.
statusstringOptionalThe status of the invitation. Values: PENDING, EXPIRED, COMPLETED, CANCELED.

POST Operations:
- Can create invitations in any status to support historical backfill
- Defaults to PENDING if status is not provided

PATCH Operations:
- Transitions FROM terminal states (COMPLETED, EXPIRED, CANCELED) are rejected (see below)

Typical Status Flow:
- PENDING: Invitation sent, awaiting candidate action
- COMPLETED: Candidate completed the background check
- EXPIRED: Invitation expired before completion
- CANCELED: Invitation was canceled

Note: Transitions FROM terminal states (COMPLETED, EXPIRED, CANCELED) to any other status are REJECTED with a 400 Bad Request error. Once an invitation reaches a terminal state, its status cannot be changed to preserve audit integrity and FCRA compliance.
Known values: PENDING, EXPIRED, COMPLETED, CANCELED
updated_atstringOptionalISO 8601 UTC timestamp when the invitation was last updated. Example: 2024-08-01T15:45:00Z
workerModelOptionalExpand Update a background check invitation — response body — worker
worker_idstringOptionalThe ID of the HRIS worker associated with this invitation. Null for pre-hire candidate invitations not yet in HRIS. This linkage is established automatically by Rippling and cannot be set or updated via external APIs.

Referenced models: Update a background check report — response body — candidate, Update a background check report — response body — package, Update a background check invitation — response body — report, Update a background check invitation — response body — worker

Update a background check order — response body — location
FieldTypePresenceDescription and constraints
$objectRootLocation information for the candidate including country code, state/province, and city. Used to specify where the background check should be performed.
citystringOptionalCity name (e.g., 'San Francisco', 'Toronto').
country_codestringRequired within parentISO 3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB').
statestringOptionalState or province code (e.g., 'CA' for California, 'ON' for Ontario).
Update a background check order — response body — node
FieldTypePresenceDescription and constraints
$objectRootExpanded background check node details (use expand=node).

Expandable field
created_atstringOptionalThe timestamp when the node was created.
external_idstringRequired within parentThe provider's unique identifier for the node (used as idempotency key).
idstringOptionalThe unique identifier of the background check node.
namestringRequired within parentThe name of the background check node.
package_external_idsarrayOptionalList of provider's unique identifiers for packages associated with this node.
package_external_ids[]stringEach item
package_idsarrayOptionalList of Platform API IDs for packages associated with this node.
package_ids[]stringEach item
packagesarrayOptionalExpanded package/check type details (use expand=packages in query parameter).

Expandable field
packages[]ModelEach itemExpand List background check packages — response body — results item
parentModelOptionalExpand Update a background check node — response body — parent
Expanded parent node details (use expand=parent in query parameter).

Expandable field
parent_external_idstringOptionalThe provider's unique identifier for the parent node.
parent_idstringOptionalThe Platform API ID of the parent node (if any).
tierstringOptionalThe tier or level of this node in the hierarchy.
updated_atstringOptionalThe timestamp when the node was last updated.

Referenced models: Update a background check node — response body — parent, List background check packages — response body — results item

Update a background check order — response body — package
FieldTypePresenceDescription and constraints
$objectRootExpanded package/check type details (use expand=package).

Expandable field
created_atstringOptionalThe timestamp when the package was created.
external_idstringRequired within parentThe provider's unique identifier for the package (used as idempotency key).
idstringOptionalThe unique identifier of the background check package.
namestringRequired within parentThe name of the background check package.
priceModelRequired within parentExpand Update a background check package — response body — price
summarystringOptionalA brief description or summary of what the package includes.
updated_atstringOptionalThe timestamp when the package was last updated.

Referenced models: Update a background check package — response body — price

Update a background check report — response body — candidate
FieldTypePresenceDescription and constraints
$objectRootExpanded candidate details (use expand=candidate in query parameter).

Expandable field
created_atstringOptionalThe timestamp when the candidate was created.
emailstringRequired within parentThe email address of the candidate. Required on create, but may be null on read for legacy rows.
external_idstringRequired within parentThe provider's unique identifier for the candidate. Required on create, but may be null on read for legacy rows. Can only be set once (during creation or when null). Cannot be changed after being set.
first_namestringOptionalThe first name of the candidate.
idstringOptionalThe unique identifier of the background check candidate.
last_namestringOptionalThe last name of the candidate.
middle_namestringOptionalThe middle name of the candidate.
owner_idstringOptionalThe ID of the background check provider (OAuth spoke owner).
updated_atstringOptionalThe timestamp when the candidate was last updated.
Retrieve a specific user — response body — photos item
FieldTypePresenceDescription and constraints
$objectRoot
typestringOptionalThe classification of the photo.
Known values: PHOTO, THUMBNAIL
valuestringOptionalThe URL of the photo.

SDK function policy ID: rippling.rest_api.get_background_check_orders. Catalog operation: get-background-check-orders. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["background-check-orders.read"]

Provider entitlements: ["Background_Check_Platform_API"]

Pinned headers: {"Rippling-Api-Version": "2024-08-01"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.