eSignatures

App · E-Signatures · 1 action

Create contracts from your templates and send them out for e-signature with eSignatures.

Create contract

Create a contract from one of your templates and send it out for signature. Fill in the template's placeholders and list the people who need to sign.

Inputs

Templatetemplate_idtextRequired
The template to generate the contract from.
SignerssignerslistRequired
The people who need to sign. Each signer needs a name and either an email address or a mobile number.
Contract titletitletext
A title for the contract. Leave blank to use the template's own title.
Template placeholdersplaceholder_fieldsobject
Values that fill the template's placeholders. Add one entry per placeholder: the key is the placeholder name from your template and the value is the text to insert.
Signing page languagelocaletext
The language of the signing page and signer emails. Defaults to the template's own language.One of: en (English), en-GB (English (UK)), cz (Czech), da (Danish), de (German), el (Greek), es (Spanish), fi (Finnish), fr (French), hr (Croatian), and 15 more.
Referencemetadatatext
Your own reference for this contract (for example an order ID). It is echoed back and included in webhooks.
Expires after (hours)expires_in_hoursnumber
How many hours the signature request stays valid. Leave blank for no expiry.At least 1.
Save as draftsave_as_drafttrue/false
Turn on to create the contract as a draft without sending it. Leave off to send it for signature straight away.Default: false.
Test modetesttrue/false
Turn on to create a free test contract that is not legally binding and is never billed. Leave off for a real contract.Default: false.

Outputs

contract_idtext
ID of the new contract.
metadatatext
The reference you supplied, echoed back.
signerslist
The signers on the contract.
statustext
The contract's status, for example 'sent' or 'draft'.
titletext
The contract's title.
Example output
{
  "contract_id": "1contr11-2222",
  "metadata": "ID0001",
  "signers": [
    {
      "email": "benny@me.com",
      "id": "6signer6-9999",
      "mobile": "+12481234567",
      "name": "Benny Bell",
      "sign_page_url": "https://esignatures.com/sign/6signer6-9999"
    }
  ],
  "status": "sent",
  "title": "Loan Agreement - Saver package"
}

On this page