Skip to content

Deel: Contractors schemas

10 Deel schemas with complete fields and constraints.

← Contractors operations · All schemas

Create an engagement — 201 response body

FieldTypePresenceDescription and constraints
$objectRoot
dataModelRequired within parentExpand Create an engagement — 201 response body — data

Referenced models: Create an engagement — 201 response body — data

Create an engagement — 201 response body — data

FieldTypePresenceDescription and constraints
$objectRoot
created_atstringOptionalThe created contract's own created_at, passed through from its create-contract response. Absent if the create step has not yet succeeded.
Format: date-time
engagement_created_atstringRequired within parentWhen the engagement was created. Distinct from the contract's own created_at field above.
Format: date-time
engagement_statusstringRequired within parentCurrent step of the engagement orchestration. Distinct from the contract's own status field above.
Known values: draft, contract_created, client_signed, worker_invited
engagement_updated_atstringRequired within parentWhen the engagement was last updated.
Format: date-time
idstringOptionalThe created contract's own id, passed through from its create-contract response. Absent if the create step has not yet succeeded.
pending_actionsarrayRequired within parentOrchestration steps not yet completed. Empty when every requested action succeeded. Distinct from the payable-gating requirements[] planned for a later phase.
pending_actions[]stringEach itemKnown values: create_contract, sign_contract, invite_worker

Create an engagement — request body — body data

FieldTypePresenceDescription and constraints
$objectRootPOST /rest/contracts data (legal_entity_id/team_id flattened - a nested id property is rejected as a server-generated field; job_title omitted - undocumented for that endpoint), plus client_signature and actions. See each field below for whether it is required.
actionsModelOptionalExpand Create an engagement — request body — body data actions
Which of the sign/invite steps to run. Not part of POST /rest/contracts.
clientModelRequired within parentExpand Create an engagement — request body — body data client
Same as POST /rest/contracts data.client, flattened to legal_entity_id/team_id - the gateway rejects a nested id property as a server-generated field.
client_signaturestringOptionalSame as POST /rest/contracts/{contract_id}/signatures data.client_signature. Required when actions.should_sign_as_client is true (the default).
Minimum length: 2
compensation_detailsModelRequired within parentExpand Create an engagement — request body — body data compensation details
Same as POST /rest/contracts data.compensation_details - see that endpoint for the full shape per contract type (the cadence field is `frequency` for ongoing_time_based, `scale` for pay_as_you_go_time_based, and the invoicing cycle is either `payment_policy_id` or the individual frequency/cycle_end/cycle_end_type/payment_due_type/payment_due_days fields).
contract_template_idJSONOptionalSame as POST /rest/contracts data.contract_template_id. Null uses the default Deel contract template.
contract_template_id (oneOf 1)ModelAlternativeExpand Create an engagement — request body — body data contract template id value
contract_template_id (oneOf 2)nullAlternative
country_codestringOptionalSame as POST /rest/contracts data.country_code. ISO 3166-1 alpha-2 code of the worker's country. Deel uses it to pick its standard contractor agreement when the contract is created. Omit it to create the contract without a country.
Maximum length: 2
Minimum length: 2
Pattern: ^[A-Z]{2}$
external_idstringOptionalSame as POST /rest/contracts data.external_id. Client's own reference for this engagement.
Maximum length: 255
localestringOptionalSame as POST /rest/contracts/{contract_id}/invite data.locale. Only used when actions.should_invite_worker is true (the default).
Default: en
One of: en, es, fr, de, it, pt, pl, nn, nl, da, deAT, fi, sv, nlBE, ja
messagestringOptionalSame as POST /rest/contracts/{contract_id}/invite data.message. Only used when actions.should_invite_worker is true (the default).
notice_periodnumberOptionalSame as POST /rest/contracts data.notice_period.
Format: double
scope_of_workstringOptionalSame as POST /rest/contracts data.scope_of_work.
start_datestringRequired within parentSame as POST /rest/contracts data.start_date.
Format: date
Pattern: ^\d{4}-\d{2}-\d{2}$
titlestringRequired within parentSame as POST /rest/contracts data.title.
typestringRequired within parentSame as POST /rest/contracts data.type. Only these 4 types are creatable there - `milestones` is a legacy read-only type.
One of: ongoing_time_based, pay_as_you_go_time_based, payg_tasks, payg_milestones
workerModelRequired within parentExpand Create an engagement — request body — body data worker
Same as POST /rest/contracts data.worker. Required here (optional there) - an engagement always onboards a worker.

Referenced models: Create an engagement — request body — body data actions, Create an engagement — request body — body data client, Create an engagement — request body — body data compensation details, Create an engagement — request body — body data contract template id value, Create an engagement — request body — body data worker

Create an engagement — request body — body data actions

FieldTypePresenceDescription and constraints
$objectRootWhich of the sign/invite steps to run. Not part of POST /rest/contracts.
should_invite_workerbooleanOptionalWhether to invite the worker to sign, once the contract is signed by the client. Requires actions.should_sign_as_client to also be true - inviting without a client-signed contract is rejected.
Default: true
should_sign_as_clientbooleanOptionalWhether to apply client_signature to the contract after creating it.
Default: true

Create an engagement — request body — body data client

FieldTypePresenceDescription and constraints
$objectRootSame as POST /rest/contracts data.client, flattened to legal_entity_id/team_id - the gateway rejects a nested id property as a server-generated field.
legal_entity_idModelRequired within parentExpand Create an engagement — request body — body data client legal entity id
Existing legal entity id.
team_idModelRequired within parentExpand Create an engagement — request body — body data client team id
Existing team id. Required in V1 - org-default-team resolution is not yet implemented.

Referenced models: Create an engagement — request body — body data client legal entity id, Create an engagement — request body — body data client team id

Create an engagement — request body — body data client legal entity id

FieldTypePresenceDescription and constraints
$JSONRootExisting legal entity id.
$ (oneOf 1)stringAlternative
$ (oneOf 2)numberAlternativeFormat: double

Create an engagement — request body — body data client team id

FieldTypePresenceDescription and constraints
$JSONRootExisting team id. Required in V1 - org-default-team resolution is not yet implemented.
$ (oneOf 1)stringAlternative
$ (oneOf 2)numberAlternativeFormat: double

Create an engagement — request body — body data compensation details

FieldTypePresenceDescription and constraints
$objectRootSame as POST /rest/contracts data.compensation_details - see that endpoint for the full shape per contract type (the cadence field is `frequency` for ongoing_time_based, `scale` for pay_as_you_go_time_based, and the invoicing cycle is either `payment_policy_id` or the individual frequency/cycle_end/cycle_end_type/payment_due_type/payment_due_days fields).

Create an engagement — request body — body data contract template id value

FieldTypePresenceDescription and constraints
$JSONRootSame as POST /rest/contracts data.contract_template_id. Null uses the default Deel contract template.
$ (oneOf 1)numberAlternativeFormat: double
$ (oneOf 2)stringAlternative

Create an engagement — request body — body data worker

FieldTypePresenceDescription and constraints
$objectRootSame as POST /rest/contracts data.worker. Required here (optional there) - an engagement always onboards a worker.
expected_emailstringRequired within parentWorker's email address, used to send the invite when actions.should_invite_worker is true.
Format: email
first_namestringRequired within parentWorker's first name.
Maximum length: 255
last_namestring or nullOptionalWorker's last name.
Maximum length: 255

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.