contractorHiring

Upload a file to contract

Changed on

Uploads a file and attaches it as a document to the specified contract by creating an amendment with the attachment. Only supported for ongoing_time_based, milestones, payg_tasks, time_based, pay_as_you_go_time_based, and eor contract types.

Token scopes: contracts:write

post/contracts/{contract_id}/documents

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

contract_id, string required

Deel contract id.

Request body multipart/form-data

object required
file, string binary

Upload the file you want to attach to this entry.

Response

Successful operation.

ContractorHiringCreateContractDocumentResponse201 required
data, ContractsContractIdDocumentsPostResponsesContentApplicationJsonSchemaData nullable required

This object is used for linking file attachments to your records.

Changes

    • warning

      removed the optional property errors/items/path from the response with the status

    • warning

      removed the optional property request from the response with the status

    • info

      added the non-success response with the status

    1 more change in this revision