Tasks
Create a new task
Changed onAdds a new task to a contract. Use it to record new work; to change a task that already exists, use PATCH /tasks/{task_id}, and for a one-off payment that is not a task, use POST /contracts/{contract_id}/off-cycle-payments instead.
Token scopes: contracts:write
post/contracts/{contract_id}/tasks
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
contract_id, string required
The unique Deel contract ID associated with the task.
Request body
object required
data, Contracts Contract Id Tasks Post Request Body Content Application Json Schema Data required
Response
The task was successfully created.
Tasks Create Contract Task Response201 required
data, Contracts Contract Id Tasks Post Responses Content Application Json Schema Data required
Changes
- breaking
the request property
databecame required
- breaking
- warning
added the new
newenum value to thedata/status/oneOf[subschema #1: ContractsContractIdTasksPostResponsesContentApplicationJsonSchemaDataStatus]response property for the response status - info
added the new optional request property
data/group_key
1 more change in this revision
- warning