Rippling: Create a new background check invitation
Rippling restApi.createBackgroundCheckInvitations: arguments, response, policy and SDK examples.
← Rest API operations · Get started
Operation rippling.rest_api.create_background_check_invitations
Provider route: POST /background-check-invitations/. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”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"]["createBackgroundCheckInvitations"]>[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.createBackgroundCheckInvitations(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom 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.create_background_check_invitations(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
body | Model | Optional | Expand Update a background check invitation — request body — body |
Referenced models: Update a background check invitation — request body — body
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Background Check Invitation DTO. Represents an invitation sent to a candidate to complete a background check. Worker Linkage: - Invitations may or may not be linked to a worker in HRIS (worker_id) - Pre-hire candidate invitations typically have no worker_id (not yet in HRIS) - When an invitation is linked to an HRIS worker, worker_id exposes that relationship - worker_id is READ-ONLY and cannot be set or updated via external APIs - The linkage is established automatically by Rippling based on the candidate’s email Required Fields (for creation): - external_id: Provider’s unique identifier for the invitation - candidate_external_id: Provider’s unique identifier for the candidate - package_external_id: Provider’s unique identifier for the package/check type Optional Fields: - status: Invitation status (defaults to PENDING if not provided) - report_external_id: Provider’s unique identifier for the report Status Behavior: - POST can create invitations in any status (supports historical backfill without separate API) - Status transitions are validated (see status field description for terminal state restrictions) |
candidate | Model | Optional | Expand Update a background check report — response body — candidate |
candidate_external_id | string | Required within parent | The provider’s unique identifier for the candidate. |
candidate_id | string | Optional | The Platform API identifier of the candidate. This field is filterable. Use expand=candidate to retrieve candidate details including PII (name, email). |
created_at | string | Optional | ISO 8601 UTC timestamp when the invitation was created. Example: 2024-08-01T14:30:00Z |
external_id | string | Required within parent | The provider’s unique identifier for the invitation. |
id | string | Optional | The unique identifier of the background check invitation. |
package | Model | Optional | Expand Update a background check report — response body — package |
package_external_id | string | Required within parent | The provider’s unique identifier for the package/check type. |
package_id | string | Optional | The Platform API identifier of the package/check type. This field is filterable. Use expand=package to retrieve package details. |
report | Model | Optional | Expand Update a background check invitation — response body — report |
report_external_id | string | Optional | The provider’s unique identifier for the report. |
report_id | string | Optional | The Platform API identifier of the report. This field is filterable. Use expand=report to retrieve report details. |
status | string | Optional | The 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_at | string | Optional | ISO 8601 UTC timestamp when the invitation was last updated. Example: 2024-08-01T15:45:00Z |
worker | Model | Optional | Expand Update a background check invitation — response body — worker |
worker_id | string | Optional | The 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
Schemas
Section titled “Schemas”28 more schemas are linked from the tables above, on the schema pages.
Update a background check invitation — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Background Check Invitation DTO. Represents an invitation sent to a candidate to complete a background check. Worker Linkage: - Invitations may or may not be linked to a worker in HRIS (worker_id) - Pre-hire candidate invitations typically have no worker_id (not yet in HRIS) - When an invitation is linked to an HRIS worker, worker_id exposes that relationship - worker_id is READ-ONLY and cannot be set or updated via external APIs - The linkage is established automatically by Rippling based on the candidate's email Required Fields (for creation): - external_id: Provider's unique identifier for the invitation - candidate_external_id: Provider's unique identifier for the candidate - package_external_id: Provider's unique identifier for the package/check type Optional Fields: - status: Invitation status (defaults to PENDING if not provided) - report_external_id: Provider's unique identifier for the report Status Behavior: - POST can create invitations in any status (supports historical backfill without separate API) - Status transitions are validated (see status field description for terminal state restrictions) |
candidate_external_id | string | Required within parent | The provider's unique identifier for the candidate. |
external_id | string | Required within parent | The provider's unique identifier for the invitation. |
package_external_id | string | Required within parent | The provider's unique identifier for the package/check type. |
report_external_id | string | Optional | The provider's unique identifier for the report. |
status | string | Optional | The 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. One of: PENDING, EXPIRED, COMPLETED, CANCELED |
Update a background check report — response body — candidate
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Expanded candidate details (use expand=candidate in query parameter). Expandable field |
created_at | string | Optional | The timestamp when the candidate was created. |
email | string | Required within parent | The email address of the candidate. Required on create, but may be null on read for legacy rows. |
external_id | string | Required within parent | The 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_name | string | Optional | The first name of the candidate. |
id | string | Optional | The unique identifier of the background check candidate. |
last_name | string | Optional | The last name of the candidate. |
middle_name | string | Optional | The middle name of the candidate. |
owner_id | string | Optional | The ID of the background check provider (OAuth spoke owner). |
updated_at | string | Optional | The timestamp when the candidate was last updated. |
Update a background check report — response body — package
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Expanded package/check type details (use expand=package in query parameter). Expandable field |
created_at | string | Optional | The timestamp when the package was created. |
external_id | string | Required within parent | The provider's unique identifier for the package (used as idempotency key). |
id | string | Optional | The unique identifier of the background check package. |
name | string | Required within parent | The name of the background check package. |
price | Model | Required within parent | Expand Update a background check package — response body — price |
summary | string | Optional | A brief description or summary of what the package includes. |
updated_at | string | Optional | The timestamp when the package was last updated. |
Referenced models: Update a background check package — response body — price
Update a background check invitation — response body — report
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Expanded report details (use expand=report in query parameter). Expandable field |
candidate | Model | Optional | Expand Update a background check report — response body — candidate |
candidate_external_id | string | Required within parent | The provider's unique identifier for the candidate. |
candidate_id | string | Optional | The Platform API identifier of the candidate. This field is filterable. Use expand=candidate to retrieve candidate details including PII (name, email). |
completed_at | string | Optional | ISO 8601 UTC timestamp when the report was completed. Required when status is COMPLETE or NEGATIVE. Example: 2024-08-01T16:00:00Z |
created_at | string | Optional | ISO 8601 UTC timestamp when the report was created. Example: 2024-08-01T14:30:00Z |
external_id | string | Required within parent | The provider's unique identifier for the report (used as idempotency key). |
id | string | Optional | The unique identifier of the background check report. |
invitation | Model | Optional | Expand List background check invitations — response body — results item Expanded invitation details (use expand=invitation in query parameter). Returns the invitation that initiated this report, if any. Expandable field |
invitation_id | string | Optional | The Platform API identifier of the invitation if this report was initiated by an invitation. This field is filterable. Use expand=invitation to retrieve invitation details. |
package | Model | Optional | Expand Update a background check report — response body — package |
package_external_id | string | Required within parent | The provider's unique identifier for the package/check type. |
package_id | string | Optional | The Platform API identifier of the package/check type. This field is filterable. Use expand=package to retrieve package details. |
report_url | string | Optional | Provider portal URL to view the full report. This URL is hosted by the background check provider, not Rippling. The URL may change or expire without notice and is not authenticated via Rippling. Consumers should access the URL directly in their browser. |
status | string | Required within parent | The current status of the report. Values: - CREATED: Report record created, screening not yet started - PROCESSING: Background check is actively being processed - WAITING: Paused, waiting for additional information from candidate - COMPLETE: Background check completed successfully (passed) - NEGATIVE: Background check completed with adverse findings (failed) - CANCELED: Background check was canceled before completion - EXPIRED: Background check took too long and expired - UNKNOWN: Status could not be determined (data correction path) POST Operations: - Can create reports in any status to support historical backfill - Defaults to CREATED if status is not provided PATCH Operations: - Can transition to any status to support backfill and data corrections - Setting the same status is idempotent (no-op) Note: Transitions FROM terminal states (COMPLETE, NEGATIVE) to any other status are REJECTED with a 400 Bad Request error. Once a report reaches COMPLETE or NEGATIVE, its status cannot be changed to preserve FCRA adverse-action compliance and audit integrity. CANCELED and EXPIRED are NOT locked and may transition if needed for data corrections. Known values: CREATED, PROCESSING, WAITING, CANCELED, EXPIRED, NEGATIVE, COMPLETE, UNKNOWN |
summary | string | Optional | Brief summary or tooltip for the report. |
updated_at | string | Optional | ISO 8601 UTC timestamp when the report was last updated. Example: 2024-08-01T15:45:00Z |
worker | Model | Optional | Expand Update a background check report — response body — worker |
worker_id | string | Optional | The ID of the HRIS worker associated with this report. Null for pre-hire candidate reports not yet in HRIS. This linkage is established automatically by Rippling and cannot be set or updated via external APIs. |
Referenced models: List background check invitations — response body — results item, Update a background check report — response body — candidate, Update a background check report — response body — package, Update a background check report — response body — worker
Update a background check package — response body — price
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The price with currency_type and value. Example: {"currency_type": "USD", "value": "25.00"} for $25.00 USD. May be null on read for legacy rows created before price tracking was implemented. |
currency_type | string | Optional | The currency type, ex: USD, EUR, etc. |
value | JSON | Optional | |
value (anyOf 1) | number | Alternative | The decimal amount for the currency. |
value (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Update a team — response body — parent
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
created_at | string | Required within parent | Record creation date |
id | string | Required within parent | Identifier field |
name | string | Required within parent | The name of the team. |
parent | Model | Optional | Expand Update a team — response body — parent The parent team Expandable field |
parent_id | string | Optional | The parent team |
updated_at | string | Required within parent | Record update date |
Referenced models: Update a team — response body — parent
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: rippling.rest_api.create_background_check_invitations. Catalog operation: create-background-check-invitations. 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-invitations.read-write"]
Provider entitlements: ["Background_Check_Platform_API"]
Pinned headers: {"Rippling-Api-Version": "2024-08-01"}