Add external Id
Add an external Id to a Deel contract. You can use this to add a Deel contract’s refernece Id in your platform. External Id can be passed as a query parameter in List contract endpoint to find this contract later.
Token scopes: contracts:write
Authentication
AuthorizationBearer
## Authentication
The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.
```curl
curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
-H 'Authorization: Bearer YOUR-TOKEN-HERE'
```
[Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/
Path parameters
contract_id
Deel contract id.
Request
Contract object that needs to be created
data
Response
Successful operation.
id
Unique identifier for the contract.
type
Type of a contract.
title
Title of the contract.
client
Client details associated with the contract.
status
Status of a contract in Deel workflow.
worker
Worker details associated with the contract.
created_at
Date and time when the contract was created.
signatures
Signature information for the contract parties.
start_date
Date and time when the contract starts.
updated_at
Date and time when the contract was updated.
invitations
Invitation email addresses for signing the contract.
is_archived
Flag to indicate if the contract is archived.
special_clause
Special clause of the contract.
termination_date
Date and time when the contract ends.
quote
EOR quote approved by Deel.
job_title
Job title associated with the contract.
seniority
Seniority describes level of expertise at a job e.g. junior.
external_id
External identifier of the contract.
who_reports
Who reports the hours.
cost_centers
List of cost centers associated with the contract.
custom_fields
List of custom fields attached to the contract.
notice_period
Notice period in days.
scope_of_work
Scope of work of the contract.
work_schedule
Defines a work schedule including working days, hours, and employment details
employment_type
Type of employment.
Allowed values:
contract_template
Contract template details.
work_statement_id
The unique identifier of the associated work statement.
employment_details
Employment-related details for the contract.
compensation_details
Compensation and payment configuration for the contract.