GuidesAPI ReferenceChangelog
Guides

Invite a contractor

Learn how to invite a contractor to sign the contract and complete the contract creation process

After the contract has been signed by the client, it's time to invite the contractor to sign it.

Before you begin

To invite the contractor to sign the contract, make sure to have:

Step 1. Sending the contract

To send the contract, make a POST request to the Send contract to worker endpoint.

curl --request POST \
    --url 'https://api.letsdeel.com/rest/v2/CONTRACT_ID/invitations' \
    --header 'accept: application/json' \
    --header 'authorization: Bearer TOKEN' \
    --header 'content-type: application/json' \
    --data '
{
  "data": {
    "email": "[email protected]",
    "message": "Welcome to Acme Corp! Please sign the contract. We look forward to start working with you."
  }
}
'

In the path:

NameRequiredTypeFormatDescriptionExample
CONTRACT_IDtruestringUUIDThe ID of the contract that the contractor must sign.d3m0d3m0

In the body:

NameRequiredTypeFormatDescriptionExample
emailtruestringemailThe email address of the contractor.[email protected]
messagetruestring-The message that will appear in the invitation sent to the contractor.Welcome to Acme Corp! Please sign the contract. We look forward to start working with you.

🚧

A note on emails

  • If you're planning on creating a contract for testing purposes, don't use the same email used for the client account. Emails in the system must be unique and each one is linked to a separate account.
  • Emails are not sent out when using the sandbox, so you won't receive the invitation email. To test the contract signing process, follow the instructions in Step 2. Test the contract signing as a contractor (from UI).

A successful response (201) will return a confirmation message that the invitation has been sent and the contractor will receive the contract agreement to sign.

{
  "data": {
    "created": true
  }
}

Step 2. Test the contract signing as a contractor (from UI)

If you're on a Sandbox, you can simulate the contract signing process as a contractor from the UI. When impersonating a contractor, there's a few things to keep in mind:

  • Use a unique email address for the contractor account. If the email address already exists in the system, you'll have issues when logging in.
  • Emails are not sent out, so you'll need to locate the contractor invite link from the UI.

To test the contract signing:

  1. After signing the contract, log into your Deel sandbox account.
  2. Go to People, locate the contractor, and click on their name to open their profile.
  3. On the contractor's profile page, click View contract next to the contract you would like to sign as a contractor.
  4. On the contract page, click Copy Invitation Link.
Screenshot showing a screen with the option "Copy Invitation Link" highligted
  1. Open an incognito browser session and paste the invitation link.
  2. Complete the onboarding process as a contractor. For detailed instructions on how to complete the creation of the contractor account, visit Contractor Account Overview.
  3. Sign the contract. You can find it on the Contracts card on the home page. To sign the contract, open it and then click Review & Sign.
image

📘

Additional forms or documents may be required

Based on the country of residence of the contractor or the country where the company has business in, as a contractor you may be required to fill additional forms or provide additional documents.