Contracts

Create a contract

Create a draft contract from a template (template_id + variables) or from your own markdown (content + fields). Nothing is emailed or charged until /contract/send. The content must contain at least one signer-completed signature field; with more than one signer, every signer needs signerFields that include a signature field of their own.

post/contract/create

Request

  • Base URL: https://apisign.io/api
  • URL: https://apisign.io/api/contract/create
  • Auth: API key in header x-api-key

Request body

namestring required
template_idstring

Active template ID (cuid). Omit for a blank contract.

contentstring

Markdown. Required for blank contracts; rejected with template_id.

variablesobject

Values substituted into the template. Required for every creator-completed template field. Rejected for blank contracts.

expires_in_daysinteger
test_modeboolean

Fixed at creation

metadataobject

Response

Draft contract created

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.