Deel: Retrieve an EOR hire intent
Deel eor.retrieveEorHireIntent: arguments, response, policy and SDK examples.
← EOR operations · Get started
Operation deel.eor_retrieveeorhireintent_v2026_11_02
Provider route: GET /intents/eor-hires/{contract_id}. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/deel with npm, or alter-sdk-deel with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { DeelIntegration } from "@alter-ai/deel";
async function execute(input: Parameters<DeelIntegration["eor"]["retrieveEorHireIntent"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new DeelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.eor.retrieveEorHireIntent(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_deel import DeelIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = DeelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.eor.retrieve_eor_hire_intent(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.contract_id | string | Required within parent | |
headers | object | Required within parent | Additional keys: not allowed |
headers.X-Beta | string | Required within parent | Default: true One of: true |
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 |
|---|---|---|---|
$ | Model | Root | Expand Create an EOR hire intent — 200 response body |
Referenced models: Create an EOR hire intent — 200 response body
Schemas
Section titled “Schemas”5 more schemas are linked from the tables above, on the schema pages.
Create an EOR hire intent — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Required within parent | Expand Create an EOR hire intent — 200 response body — data The EOR hire intent, in the Deel Intent Standard envelope |
Referenced models: Create an EOR hire intent — 200 response body — data
Create an EOR hire intent — 200 response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The EOR hire intent, in the Deel Intent Standard envelope |
details | Model | Required within parent | Expand Create an EOR hire intent — 200 response body — data details Facts of the EOR hire |
id | string | Required within parent | The intent’s own id, prefixed int_ |
next_actions | array | Required within parent | The step to do now: the first due step your client or worker owns. Empty when they owe nothing now. |
next_actions[] | Model | Each item | Expand Create an EOR hire intent — 200 response body — data next actions item |
requirements | Model | Required within parent | Expand Create an EOR hire intent — 200 response body — data requirements What is still owed, keyed by step key, in the shape of Stripe Connect requirements |
status | string | Required within parent | REQUIRES_ACTION: your client or worker owes something. PROCESSING: only Deel does. SUCCEEDED: the hire is onboarded. CANCELED: rejected or cancelled. Known values: REQUIRES_ACTION, PROCESSING, SUCCEEDED, CANCELED |
steps | array | Required within parent | Every step of the hire, in order |
steps[] | Model | Each item | Expand Create an EOR hire intent — 200 response body — data steps item |
subject | Model | Required within parent | Expand Create an EOR hire intent — 200 response body — data subject What the intent is about |
type | string | Required within parent | Intent type Known values: EOR_HIRE |
wait | JSON | Required within parent | Whom the hire waits on besides you. Null when nobody else holds an open step, or the hire is finished. |
wait (anyOf 1) | Model | Alternative | Expand Create an EOR hire intent — 200 response body — data / wait / event: intent updated |
wait (anyOf 2) | null | Alternative |
Referenced models: Create an EOR hire intent — 200 response body — data subject, Create an EOR hire intent — 200 response body — data details, Create an EOR hire intent — 200 response body — data next actions item, Create an EOR hire intent — 200 response body — data requirements, Create an EOR hire intent — 200 response body — data steps item, Create an EOR hire intent — 200 response body — data / wait / event: intent updated
Create an EOR hire intent — 200 response body — data subject
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | What the intent is about |
contract_id | string | Required within parent | The hire’s client contract id |
Create an EOR hire intent — 200 response body — data details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Facts of the EOR hire |
contract_status | string | Required within parent | Raw contract status, as the contract endpoints return it |
country | string | Required within parent | Employment country the recipe applies to |
hire_status | string | Required within parent | Coarse position of the hire Known values: QUOTE_PENDING, AWAITING_CLIENT_SIGNATURE, ONBOARDING, AWAITING_COUNTERSIGN, COUNTERSIGNED, ONBOARDED, REJECTED, CANCELLED |
Create an EOR hire intent — 200 response body — data next actions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | How a step is done. CALL: make `call`. REDIRECT: no public endpoint yet; `call` returns a one-time link that opens the step in the Deel app for `redirect.opens_for`. MANUAL: no endpoint and no link; a person follows `manual.instructions`. |
actor | string | Required within parent | Who performs the action Known values: CLIENT, WORKER, DEEL |
call | JSON | Required within parent | The public call: for CALL, the call that does the step; for REDIRECT, the call that returns the one-time link. Null for MANUAL. The hire’s contract id is filled in; other placeholders such as {legal_entity_id} stay for the caller to fill. |
call (anyOf 1) | Model | Alternative | Expand Create an EOR hire intent — 200 response body — data / next_actions / item / call / auth: ORGANIZATION, WORKER, method: GET, POST, PUT, PATCH |
call (anyOf 2) | null | Alternative | |
cli | JSON | Required within parent | |
cli (anyOf 1) | string | Alternative | Equivalent deel-cli command. Null when there is none. |
cli (anyOf 2) | null | Alternative | Equivalent deel-cli command. Null when there is none. |
description | string | Required within parent | What to do, in plain words |
key | string | Required within parent | Step the action completes |
manual | Model | Optional | Expand Create an EOR hire intent — 200 response body — data next actions item manual Set when type is MANUAL. |
redirect | Model | Optional | Expand Create an EOR hire intent — 200 response body — data next actions item redirect Set when type is REDIRECT. |
type | string | Required within parent | CALL, REDIRECT or MANUAL Known values: CALL, REDIRECT, MANUAL |
Referenced models: Create an EOR hire intent — 200 response body — data / next_actions / item / call / auth: ORGANIZATION, WORKER, method: GET, POST, PUT, PATCH, Create an EOR hire intent — 200 response body — data next actions item manual, Create an EOR hire intent — 200 response body — data next actions item redirect
Create an EOR hire intent — 200 response body — data requirements
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | What is still owed, keyed by step key, in the shape of Stripe Connect requirements |
current_deadline | JSON | Required within parent | |
current_deadline (anyOf 1) | string | Alternative | The earliest deadline among currently_due. Null when none of them has a deadline. Format: date-time |
current_deadline (anyOf 2) | null | Alternative | The earliest deadline among currently_due. Null when none of them has a deadline. Format: date-time |
currently_due | array | Required within parent | Steps the client or worker owes now |
currently_due[] | string | Each item | |
errors | array | Required within parent | Rejected items with the reason. |
errors[] | Model | Each item | Expand Create an EOR hire intent — 200 response body — data requirements errors item |
eventually_due | array | Required within parent | Steps the client or worker will owe in a later group |
eventually_due[] | string | Each item | |
pending_verification | array | Required within parent | Steps handed in and being checked, or Deel’s own open work |
pending_verification[] | string | Each item |
Referenced models: Create an EOR hire intent — 200 response body — data requirements errors item
Create an EOR hire intent — 200 response body — data / wait / event: intent updated
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Whom the hire waits on besides you. Null when nobody else holds an open step, or the hire is finished. |
event | string | Required within parent | The webhook event that fires when the hire moves Known values: intent.updated |
on | array | Required within parent | Who must act for the hire to move, client first |
on[] | Model | Each item | Expand Create an EOR hire intent — 200 response body — data / wait / event: intent updated on item |
reason | JSON | Required within parent | DEEL_REVIEW while Deel owes a step. Null while the hire waits only on the client or the worker. |
reason (anyOf 1) | string | Alternative | DEEL_REVIEW while Deel owes a step. Null while the hire waits only on the client or the worker. Known values: DEEL_REVIEW |
reason (anyOf 2) | null | Alternative |
Referenced models: Create an EOR hire intent — 200 response body — data / wait / event: intent updated on item
Create an EOR hire intent — 200 response body — data next actions item manual
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Set when type is MANUAL. |
completion | string | Required within parent | OBSERVED: Deel sees the step done on its own. ACKNOWLEDGED: post the action to say it is done. Known values: OBSERVED, ACKNOWLEDGED |
instructions | string | Required within parent | What a person does |
Create an EOR hire intent — 200 response body — data next actions item redirect
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Set when type is REDIRECT. |
note | string | Required within parent | How to get the link and what the person does there |
opens_for | string | Required within parent | Who follows the link Known values: CLIENT, WORKER, DEEL |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: deel.eor_retrieveeorhireintent_v2026_11_02. Catalog operation: eor_retrieveeorhireintent_v2026_11_02. 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: ["contracts:read"]
Pinned headers: {"X-Version": "2026-11-02"}