Skip to content

Rippling: Get hire requirements

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

← Rest API operations · Get started

Operation rippling.rest_api.get_hire_requirements

Provider route: GET /hire-requirements/. 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"]["getHireRequirements"]>[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.getHireRequirements(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_hire_requirements(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectRequired within parentAdditional keys: not allowed
query.country_codestringRequired within parent
query.hire_typestringRequired within parentOne of: direct_hire, eor
query.legal_entity_idstringOptional
query.employment_type_idstringOptional
query.contract_typestringOptionalOne of: INDEFINITE, FIXED

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

FieldTypePresenceDescription and constraints
$ModelRootExpand Get hire requirements — response body

Referenced models: Get hire requirements — response body

Get hire requirements — response body
FieldTypePresenceDescription and constraints
$objectRootPublic GET /hire-requirements/ body. Shape matches hiring's catalog JSON.
Additional keys: not allowed
country_codestringRequired within parentISO 3166-1 alpha-2 country code used for the lookup.
fields_by_grouparrayRequired within parentHiring-owned field catalog grouped by request section.
hire_typestringRequired within parentHire type for this catalog. POST /hires/ uses the same value. An omitted POST value defaults to direct_hire.
legal_entity_idstringOptionalCompany legal entity ID used to resolve this Brazil direct-hire catalog. Omitted for baseline catalogs. An underlying legal entity ID supplied in the query is normalized to the corresponding ID from GET /company-legal-entities/.
required_groupsarrayRequired within parentGroups you must send for this country.
required_groups[]stringEach item
requirements_versionstringRequired within parentBaseline requirement contract version for this country and hire type. Entity-specific requirements can change independently; use the ETag to identify a resolved response.
requires_web_hiringbooleanOptionalWhether work-pattern auto-assignment requires completing a Colombia or Philippines hire in Rippling. When true, POST /hires/ fails with invalid_request before creation regardless of schedule input. False means this restriction does not apply; other hire validation still applies. Omitted for other countries.
resolved_contextobjectOptionalValidated query selectors used for Colombia or Philippines configuration discovery. Omitted selectors leave dependent field availability unresolved.
Additional keys: not allowed
resolved_context.contract_typestringOptionalProposed employment.contract.type used to resolve compensation availability: INDEFINITE or FIXED.
Known values: FIXED, INDEFINITE
resolved_context.employment_type_idstringOptionalEmployment type id used to resolve compensation availability. Obtain it from GET /employment-types/.
resolved_context.legal_entity_idstringOptionalCanonical company legal entity id used to resolve direct-hire requirements. Obtain it from GET /company-legal-entities/. An underlying legal entity id is accepted as a query selector and normalized to this company legal entity id.
unsupported_fieldsarrayOptionalPublic field paths that are not writable for this selector tuple.
unsupported_fields[]stringEach item
warningsarrayOptionalNon-fatal warnings for this lookup.
warnings[]stringEach item

SDK function policy ID: rippling.rest_api.get_hire_requirements. Catalog operation: get-hire-requirements. 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: ["hire-requirements.read"]

Provider entitlements: ["Hires_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.