Contracts

Contract templates and contracts sent for signature.

Values for the examples

Type them once and every example on this page uses them. The API key stays on this page only and is never saved.

GET/v1/contract-templates

Lists the contract templates.

ListOn success: 200.Permission: Read.

Query parameters

FieldTypeRequiredNotes
pageintegerNomin 1 · default 1
pageSizeintegerNomin 1 · max 100 · default 25
qstringNomin length 1 · max length 200
archivedstringNo
sort"updatedAt" | "name"Nodefault "updatedAt"
order"asc" | "desc"Nodefault "desc"

Response

16 fields
FieldTypeAlways there
dataarray of objectYes
data[].contractsobjectYes
data[].contracts.signedintegerYes
data[].contracts.totalintegerYes
data[].createdAtstring (date-time)Yes
data[].currencystringYes
data[].descriptionnull in the examplesYes
data[].fieldsintegerYes
data[].idstring (uuid)Yes
data[].itemsintegerYes
data[].namestringYes
data[].titlestringYes
data[].updatedAtstring (date-time)Yes
pageintegerYes
pageSizeintegerYes
totalintegerYes
Example
curl -X GET "https://api.firmado.app/v1/contract-templates" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "data": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "description": null,
      "title": "…",
      "currency": "USD",
      "fields": 1,
      "items": 1,
      "contracts": {},
      "createdAt": "2026-11-21T14:00:00.000Z",
      "updatedAt": "2026-11-21T14:00:00.000Z"
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/contract-templates

Creates a contract template.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
namestringYesmin length 1 · max length 120
descriptionstring | nullNo
titlestringNomin length 1 · max length 200
bodystringNomax length 200000 · default ""
fieldsarray of objectNomax items 50
fields[].keystringYespattern ^[a-zA-Z][a-zA-Z0-9_]{0,39}$
fields[].labelstringYesmin length 1 · max length 100
fields[].type"text" | "longText" | "number" | "money" | "date" | "email" | "phone" | "taxId" | "address" | "select" | "checkbox"Yes
fields[].filledBy"team" | "signer"Yes
fields[].requiredbooleanNodefault false
fields[].helpstring | nullNo
fields[].optionsarray of stringNomax items 30
fields[].defaultValuestring | number | boolean | nullNo
itemsarray of objectNomax items 100
items[].serviceIdstring (uuid) | nullNo
items[].namestringYesmin length 1 · max length 200
items[].descriptionstring | nullNo
items[].quantitynumberYesmin 0 · max 1000000
items[].unitPriceintegerYesmin 0 · max 10000000000000
currencystringNopattern ^[A-Za-z]{3}$
discountobject | nullNo
language"pt" | "es" | "en" | "fr" | nullNo
rolesarray of stringNomax items 10
settingsobjectNo
settings.requireTaxIdbooleanNodefault true
settings.verifySignerEmailbooleanNodefault true
settings.expiresInDaysinteger | nullNodefault 30
settings.chargeOnSignbooleanNodefault false

Response

36 fields
FieldTypeAlways there
bodystringYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
descriptionnull in the examplesYes
discountobject | nullYes
discount.typestringYes
discount.valueintegerYes
fieldsarray of objectYes
fields[].defaultValueintegerNo
fields[].filledBystringYes
fields[].keystringYes
fields[].labelstringYes
fields[].optionsarray of stringNo
fields[].requiredbooleanYes
fields[].typestringYes
idstring (uuid)Yes
itemsarray of objectYes
items[].namestringYes
items[].quantityintegerYes
items[].unitPriceintegerYes
languagenull in the examplesYes
namestringYes
organizationIdstring (uuid)Yes
rolesarray of stringYes
settingsobjectYes
settings.chargeOnSignbooleanYes
settings.expiresInDaysintegerYes
settings.requireTaxIdbooleanYes
settings.verifySignerEmailbooleanYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
variablesobjectYes
variables.organization.namestringYes
variables.organization.postalAddressnull in the examplesYes
Example
curl -X POST "https://api.firmado.app/v1/contract-templates" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "description": "…",
  "title": "…",
  "body": ""
}'

Response (201), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "name": "Ana Lima",
  "description": null,
  "title": "…",
  "body": "…",
  "fields": [
    {
      "key": "…",
      "type": "…",
      "label": "…",
      "filledBy": "…",
      "required": true,
      "defaultValue": 1,
      "options": []
    }
  ],
  "items": [
    {
      "name": "Ana Lima",
      "quantity": 1,
      "unitPrice": 1
    }
  ],
  "currency": "USD",
  "discount": {
    "type": "…",
    "value": 1
  },
  "language": null,
  "roles": [
    "…"
  ],
  "settings": {
    "chargeOnSign": true,
    "requireTaxId": true,
    "expiresInDays": 1,
    "verifySignerEmail": true
  },
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "variables": {
    "organization.name": "Ana Lima",
    "organization.postalAddress": null
  }
}

DELETE/v1/contract-templates/{id}

Deletes a contract template.

DeleteOn success: 204.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/contract-templates/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/contract-templates/{id}

Returns a contract template with its text, fields and settings.

Get oneOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X GET "https://api.firmado.app/v1/contract-templates/{id}" \
  -H "X-Api-Key: fmd_..."

PATCH/v1/contract-templates/{id}

Changes a contract template; contracts made from it keep their copy.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
namestringNomin length 1 · max length 120
descriptionstring | nullNo
titlestringNomin length 1 · max length 200
bodystringNomax length 200000
fieldsarray of objectNomax items 50
fields[].keystringYespattern ^[a-zA-Z][a-zA-Z0-9_]{0,39}$
fields[].labelstringYesmin length 1 · max length 100
fields[].type"text" | "longText" | "number" | "money" | "date" | "email" | "phone" | "taxId" | "address" | "select" | "checkbox"Yes
fields[].filledBy"team" | "signer"Yes
fields[].requiredbooleanNodefault false
fields[].helpstring | nullNo
fields[].optionsarray of stringNomax items 30
fields[].defaultValuestring | number | boolean | nullNo
itemsarray of objectNomax items 100
items[].serviceIdstring (uuid) | nullNo
items[].namestringYesmin length 1 · max length 200
items[].descriptionstring | nullNo
items[].quantitynumberYesmin 0 · max 1000000
items[].unitPriceintegerYesmin 0 · max 10000000000000
currencystringNopattern ^[A-Za-z]{3}$
discountobject | nullNo
language"pt" | "es" | "en" | "fr" | nullNo
rolesarray of stringNomax items 10
settingsobjectNo
settings.requireTaxIdbooleanNodefault true
settings.verifySignerEmailbooleanNodefault true
settings.expiresInDaysinteger | nullNodefault 30
settings.chargeOnSignbooleanNodefault false
Example
curl -X PATCH "https://api.firmado.app/v1/contract-templates/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "description": "…",
  "title": "…",
  "body": "…"
}'

POST/v1/contract-templates/{id}/duplicate

Copies a contract template.

Create/{id}/duplicateOn success: 201.Permission: Create.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X POST "https://api.firmado.app/v1/contract-templates/{id}/duplicate" \
  -H "X-Api-Key: fmd_..."

GET/v1/contract-templates/variables

The {{...}} variables a contract can show: contact, company, organization and fields.

Read/variablesOn success: 200.Permission: Read.

Example
curl -X GET "https://api.firmado.app/v1/contract-templates/variables" \
  -H "X-Api-Key: fmd_..."

GET/v1/contracts

Lists contracts, by status, contact or template.

ListOn success: 200.Permission: Read.

Query parameters

FieldTypeRequiredNotes
pageintegerNomin 1 · default 1
pageSizeintegerNomin 1 · max 100 · default 25
qstringNomin length 1 · max length 200
archivedstringNo
status"draft" | "sent" | "signed" | "declined" | "canceled" | "expired"No
templateIdstring (uuid)No
contactIdstring (uuid)No
companyIdstring (uuid)No
ownerIdstringNomin length 1
sort"createdAt" | "title"Nodefault "createdAt"
order"asc" | "desc"Nodefault "desc"

Response

23 fields
FieldTypeAlways there
dataarray of objectYes
data[].completedAtstring (date-time)Yes
data[].contactobjectYes
data[].contact.idstring (uuid)Yes
data[].contact.namestringYes
data[].createdAtstring (date-time)Yes
data[].currencystringYes
data[].expiresAtstring (date-time)Yes
data[].idstring (uuid)Yes
data[].ownerIdstring (uuid)Yes
data[].sentAtstring (date-time)Yes
data[].signersobjectYes
data[].signers.signedintegerYes
data[].signers.totalintegerYes
data[].statusstringYes
data[].templateobjectYes
data[].template.idstring (uuid)Yes
data[].template.namestringYes
data[].titlestringYes
data[].totalintegerYes
pageintegerYes
pageSizeintegerYes
totalintegerYes
Example
curl -X GET "https://api.firmado.app/v1/contracts" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "data": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "title": "…",
      "status": "…",
      "total": 1,
      "currency": "USD",
      "template": {},
      "contact": {},
      "signers": {},
      "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "expiresAt": "2026-11-21T14:00:00.000Z",
      "sentAt": "2026-11-21T14:00:00.000Z",
      "completedAt": "2026-11-21T14:00:00.000Z",
      "createdAt": "2026-11-21T14:00:00.000Z"
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/contracts

Creates a contract draft from a template.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
templateIdstring (uuid)No
titlestringNomin length 1 · max length 200
contactIdstring (uuid) | nullNo
companyIdstring (uuid) | nullNo
messagestring | nullNo
signersarray of objectNomax items 10
signers[].contactIdstring (uuid)No
signers[].emailstring (email)Nomax length 320
signers[].namestringNomin length 1 · max length 200
signers[].rolestring | nullNo
valuesobject of string | number | boolean | nullNo

Response

74 fields
FieldTypeAlways there
bodystringYes
canceledAtnull in the examplesYes
companynull in the examplesYes
completedAtnull in the examplesYes
contactobject | nullYes
contact.idstring (uuid)Yes
contact.namestringYes
contentHashnull in the examplesYes
contextobject of anyYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
discountobject | nullYes
discount.typestringYes
discount.valueintegerYes
expiresAtnull in the examplesYes
fieldsarray of objectYes
fields[].defaultValueintegerNo
fields[].filledBystringYes
fields[].keystringYes
fields[].labelstringYes
fields[].optionsarray of stringNo
fields[].requiredbooleanYes
fields[].typestringYes
idstring (uuid)Yes
invoiceIdnull in the examplesYes
itemsarray of objectYes
items[].namestringYes
items[].quantityintegerYes
items[].unitPriceintegerYes
languagenull in the examplesYes
messagenull in the examplesYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
paymentnull in the examplesYes
sentAtnull in the examplesYes
settingsobjectYes
settings.chargeOnSignbooleanYes
settings.expiresInDaysintegerYes
settings.requireTaxIdbooleanYes
settings.verifySignerEmailbooleanYes
signersarray of objectYes
signers[].contactIdstring | null (uuid)Yes
signers[].decidedAtnull in the examplesYes
signers[].declineReasonnull in the examplesYes
signers[].documentHashnull in the examplesYes
signers[].emailstring (email)Yes
signers[].firstViewedAtnull in the examplesYes
signers[].idstring (uuid)Yes
signers[].ipAddressnull in the examplesYes
signers[].lastViewedAtnull in the examplesYes
signers[].namestring | nullYes
signers[].positionintegerYes
signers[].rolestring | nullYes
signers[].sendCountintegerYes
signers[].sentAtnull in the examplesYes
signers[].signaturenull in the examplesYes
signers[].signerNamenull in the examplesYes
signers[].signerTaxIdnull in the examplesYes
signers[].statusstringYes
signers[].urlnull in the examplesYes
signers[].userAgentnull in the examplesYes
signers[].verificationnull in the examplesYes
signers[].viewCountintegerYes
statusstringYes
templateobject | nullYes
template.idstring (uuid)Yes
template.namestringYes
template.rolesarray of stringYes
titlestringYes
totalintegerYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
valuesobject of anyYes
Example
curl -X POST "https://api.firmado.app/v1/contracts" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "templateId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}'

Response (201), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "status": "…",
  "message": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "body": "…",
  "fields": [
    {
      "key": "…",
      "type": "…",
      "label": "…",
      "filledBy": "…",
      "required": true,
      "defaultValue": 1,
      "options": []
    }
  ],
  "values": {},
  "items": [
    {
      "name": "Ana Lima",
      "quantity": 1,
      "unitPrice": 1
    }
  ],
  "currency": "USD",
  "discount": {
    "type": "…",
    "value": 1
  },
  "language": null,
  "settings": {
    "chargeOnSign": true,
    "requireTaxId": true,
    "expiresInDays": 1,
    "verifySignerEmail": true
  },
  "contentHash": null,
  "invoiceId": null,
  "expiresAt": null,
  "sentAt": null,
  "completedAt": null,
  "canceledAt": null,
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "total": 1,
  "contact": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "company": null,
  "template": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "roles": [
      "…"
    ]
  },
  "context": {},
  "payment": null,
  "signers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "role": "…",
      "position": 1,
      "status": "…",
      "url": null,
      "sentAt": null,
      "sendCount": 1,
      "viewCount": 1,
      "firstViewedAt": null,
      "lastViewedAt": null,
      "decidedAt": null,
      "signerName": null,
      "signerTaxId": null,
      "signature": null,
      "documentHash": null,
      "ipAddress": null,
      "userAgent": null,
      "declineReason": null,
      "verification": null
    }
  ]
}

DELETE/v1/contracts/{id}

Deletes a contract.

DeleteOn success: 204.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/contracts/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/contracts/{id}

Returns a contract with its signers and their signatures.

Get oneOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

89 fields
FieldTypeAlways there
bodystringYes
canceledAtnull in the examplesYes
companynull in the examplesYes
completedAtstring | null (date-time)Yes
contactobject | nullYes
contact.idstring (uuid)Yes
contact.namestringYes
contentHashstring | nullYes
contextobject of anyYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
discountobject | nullYes
discount.typestringYes
discount.valueintegerYes
expiresAtstring | null (date-time)Yes
fieldsarray of objectYes
fields[].defaultValueintegerNo
fields[].filledBystringYes
fields[].keystringYes
fields[].labelstringYes
fields[].optionsarray of stringNo
fields[].requiredbooleanYes
fields[].typestringYes
idstring (uuid)Yes
invoiceIdstring | null (uuid)Yes
itemsarray of objectYes
items[].namestringYes
items[].quantityintegerYes
items[].unitPriceintegerYes
languagestring | nullYes
messagenull in the examplesYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
paymentobject | nullYes
payment.amountintegerYes
payment.canPaybooleanYes
payment.currencystringYes
payment.invoiceobjectYes
payment.invoice.idstring (uuid)Yes
payment.invoice.numberstringYes
payment.invoice.urlstring (uri)Yes
payment.paidAtnull in the examplesYes
payment.statusstringYes
sentAtstring | null (date-time)Yes
settingsobjectYes
settings.chargeOnSignbooleanYes
settings.expiresInDaysintegerYes
settings.requireTaxIdbooleanYes
settings.verifySignerEmailbooleanYes
signersarray of objectYes
signers[].contactIdstring | null (uuid)Yes
signers[].decidedAtstring | null (date-time)Yes
signers[].declineReasonstring | nullYes
signers[].documentHashstring | nullYes
signers[].emailstring (email)Yes
signers[].firstViewedAtstring | null (date-time)Yes
signers[].idstring (uuid)Yes
signers[].ipAddressstring | nullYes
signers[].lastViewedAtstring | null (date-time)Yes
signers[].namestring | nullYes
signers[].positionintegerYes
signers[].rolestring | nullYes
signers[].sendCountintegerYes
signers[].sentAtstring | null (date-time)Yes
signers[].signatureobject | nullYes
signers[].signature.imagestringNo
signers[].signature.kindstringYes
signers[].signature.textstringNo
signers[].signerNamestring | nullYes
signers[].signerTaxIdstring | nullYes
signers[].statusstringYes
signers[].urlstring | null (uri)Yes
signers[].userAgentnull in the examplesYes
signers[].verificationobject | nullYes
signers[].verification.sendCountintegerYes
signers[].verification.sentAtstring (date-time)Yes
signers[].verification.verifiedAtstring | null (date-time)Yes
signers[].viewCountintegerYes
statusstringYes
templateobject | nullYes
template.idstring (uuid)Yes
template.namestringYes
template.rolesarray of stringYes
titlestringYes
totalintegerYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
valuesobject of anyYes
Example
curl -X GET "https://api.firmado.app/v1/contracts/{id}" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "status": "…",
  "message": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "body": "…",
  "fields": [
    {
      "key": "…",
      "type": "…",
      "label": "…",
      "filledBy": "…",
      "required": true,
      "defaultValue": 1,
      "options": []
    }
  ],
  "values": {},
  "items": [
    {
      "name": "Ana Lima",
      "quantity": 1,
      "unitPrice": 1
    }
  ],
  "currency": "USD",
  "discount": {
    "type": "…",
    "value": 1
  },
  "language": "…",
  "settings": {
    "chargeOnSign": true,
    "requireTaxId": true,
    "expiresInDays": 1,
    "verifySignerEmail": true
  },
  "contentHash": "…",
  "invoiceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "expiresAt": "2026-11-21T14:00:00.000Z",
  "sentAt": "2026-11-21T14:00:00.000Z",
  "completedAt": "2026-11-21T14:00:00.000Z",
  "canceledAt": null,
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "total": 1,
  "contact": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "company": null,
  "template": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "roles": [
      "…"
    ]
  },
  "context": {},
  "payment": {
    "amount": 1,
    "currency": "USD",
    "status": "…",
    "paidAt": null,
    "canPay": true,
    "invoice": {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "number": "…",
      "url": "https://example.com"
    }
  },
  "signers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "role": "…",
      "position": 1,
      "status": "…",
      "url": "https://example.com",
      "sentAt": "2026-11-21T14:00:00.000Z",
      "sendCount": 1,
      "viewCount": 1,
      "firstViewedAt": "2026-11-21T14:00:00.000Z",
      "lastViewedAt": "2026-11-21T14:00:00.000Z",
      "decidedAt": "2026-11-21T14:00:00.000Z",
      "signerName": "Ana Lima",
      "signerTaxId": "…",
      "signature": {},
      "documentHash": "…",
      "ipAddress": "…",
      "userAgent": null,
      "declineReason": "…",
      "verification": {}
    }
  ]
}

PATCH/v1/contracts/{id}

Changes a contract draft: text, fields, prices and signers.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
titlestringNomin length 1 · max length 200
bodystringNomax length 200000
fieldsarray of objectNomax items 50
fields[].keystringYespattern ^[a-zA-Z][a-zA-Z0-9_]{0,39}$
fields[].labelstringYesmin length 1 · max length 100
fields[].type"text" | "longText" | "number" | "money" | "date" | "email" | "phone" | "taxId" | "address" | "select" | "checkbox"Yes
fields[].filledBy"team" | "signer"Yes
fields[].requiredbooleanNodefault false
fields[].helpstring | nullNo
fields[].optionsarray of stringNomax items 30
fields[].defaultValuestring | number | boolean | nullNo
itemsarray of objectNomax items 100
items[].serviceIdstring (uuid) | nullNo
items[].namestringYesmin length 1 · max length 200
items[].descriptionstring | nullNo
items[].quantitynumberYesmin 0 · max 1000000
items[].unitPriceintegerYesmin 0 · max 10000000000000
currencystringNopattern ^[A-Za-z]{3}$
discountobject | nullNo
language"pt" | "es" | "en" | "fr" | nullNo
contactIdstring (uuid) | nullNo
companyIdstring (uuid) | nullNo
messagestring | nullNo
signersarray of objectNomax items 10
signers[].contactIdstring (uuid)No
signers[].emailstring (email)Nomax length 320
signers[].namestringNomin length 1 · max length 200
signers[].rolestring | nullNo
valuesobject of string | number | boolean | nullNo
settingsobjectNo
settings.requireTaxIdbooleanNodefault true
settings.verifySignerEmailbooleanNodefault true
settings.expiresInDaysinteger | nullNodefault 30
settings.chargeOnSignbooleanNodefault false
expiresAtstring (date-time) | nullNo

Response

74 fields
FieldTypeAlways there
bodystringYes
canceledAtnull in the examplesYes
companynull in the examplesYes
completedAtnull in the examplesYes
contactobject | nullYes
contact.idstring (uuid)Yes
contact.namestringYes
contentHashnull in the examplesYes
contextobject of anyYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
discountobject | nullYes
discount.typestringYes
discount.valueintegerYes
expiresAtstring | null (date-time)Yes
fieldsarray of objectYes
fields[].defaultValueintegerNo
fields[].filledBystringYes
fields[].keystringYes
fields[].labelstringYes
fields[].optionsarray of stringNo
fields[].requiredbooleanYes
fields[].typestringYes
idstring (uuid)Yes
invoiceIdnull in the examplesYes
itemsarray of objectYes
items[].namestringYes
items[].quantityintegerYes
items[].unitPriceintegerYes
languagenull in the examplesYes
messagenull in the examplesYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
paymentnull in the examplesYes
sentAtnull in the examplesYes
settingsobjectYes
settings.chargeOnSignbooleanYes
settings.expiresInDaysintegerYes
settings.requireTaxIdbooleanYes
settings.verifySignerEmailbooleanYes
signersarray of objectYes
signers[].contactIdstring | null (uuid)Yes
signers[].decidedAtnull in the examplesYes
signers[].declineReasonnull in the examplesYes
signers[].documentHashnull in the examplesYes
signers[].emailstring (email)Yes
signers[].firstViewedAtnull in the examplesYes
signers[].idstring (uuid)Yes
signers[].ipAddressnull in the examplesYes
signers[].lastViewedAtnull in the examplesYes
signers[].namestring | nullYes
signers[].positionintegerYes
signers[].rolestring | nullYes
signers[].sendCountintegerYes
signers[].sentAtnull in the examplesYes
signers[].signaturenull in the examplesYes
signers[].signerNamenull in the examplesYes
signers[].signerTaxIdnull in the examplesYes
signers[].statusstringYes
signers[].urlnull in the examplesYes
signers[].userAgentnull in the examplesYes
signers[].verificationnull in the examplesYes
signers[].viewCountintegerYes
statusstringYes
templateobject | nullYes
template.idstring (uuid)Yes
template.namestringYes
template.rolesarray of stringYes
titlestringYes
totalintegerYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
valuesobject of anyYes
Example
curl -X PATCH "https://api.firmado.app/v1/contracts/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "body": "…",
  "fields": [
    {
      "key": "…",
      "label": "…",
      "type": "text",
      "filledBy": "team"
    }
  ],
  "items": [
    {
      "name": "Ana Lima",
      "quantity": 1,
      "unitPrice": 0,
      "serviceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    }
  ]
}'

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "status": "…",
  "message": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "body": "…",
  "fields": [
    {
      "key": "…",
      "type": "…",
      "label": "…",
      "filledBy": "…",
      "required": true,
      "defaultValue": 1,
      "options": []
    }
  ],
  "values": {},
  "items": [
    {
      "name": "Ana Lima",
      "quantity": 1,
      "unitPrice": 1
    }
  ],
  "currency": "USD",
  "discount": {
    "type": "…",
    "value": 1
  },
  "language": null,
  "settings": {
    "chargeOnSign": true,
    "requireTaxId": true,
    "expiresInDays": 1,
    "verifySignerEmail": true
  },
  "contentHash": null,
  "invoiceId": null,
  "expiresAt": "2026-11-21T14:00:00.000Z",
  "sentAt": null,
  "completedAt": null,
  "canceledAt": null,
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "total": 1,
  "contact": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "company": null,
  "template": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "roles": [
      "…"
    ]
  },
  "context": {},
  "payment": null,
  "signers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "role": "…",
      "position": 1,
      "status": "…",
      "url": null,
      "sentAt": null,
      "sendCount": 1,
      "viewCount": 1,
      "firstViewedAt": null,
      "lastViewedAt": null,
      "decidedAt": null,
      "signerName": null,
      "signerTaxId": null,
      "signature": null,
      "documentHash": null,
      "ipAddress": null,
      "userAgent": null,
      "declineReason": null,
      "verification": null
    }
  ]
}

POST/v1/contracts/{id}/cancel

Cancels a sent contract; its links stop working.

Update/{id}/cancelOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

57 fields
FieldTypeAlways there
bodystringYes
canceledAtstring (date-time)Yes
companynull in the examplesYes
completedAtnull in the examplesYes
contactnull in the examplesYes
contentHashstringYes
contextobject of anyYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
discountnull in the examplesYes
expiresAtstring (date-time)Yes
fieldsarray of anyYes
idstring (uuid)Yes
invoiceIdnull in the examplesYes
itemsarray of anyYes
languagestringYes
messagenull in the examplesYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
paymentnull in the examplesYes
sentAtstring (date-time)Yes
settingsobjectYes
settings.chargeOnSignbooleanYes
settings.expiresInDaysintegerYes
settings.requireTaxIdbooleanYes
settings.verifySignerEmailbooleanYes
signersarray of objectYes
signers[].contactIdnull in the examplesYes
signers[].decidedAtnull in the examplesYes
signers[].declineReasonnull in the examplesYes
signers[].documentHashnull in the examplesYes
signers[].emailstring (email)Yes
signers[].firstViewedAtnull in the examplesYes
signers[].idstring (uuid)Yes
signers[].ipAddressnull in the examplesYes
signers[].lastViewedAtnull in the examplesYes
signers[].namestringYes
signers[].positionintegerYes
signers[].rolenull in the examplesYes
signers[].sendCountintegerYes
signers[].sentAtstring (date-time)Yes
signers[].signaturenull in the examplesYes
signers[].signerNamenull in the examplesYes
signers[].signerTaxIdnull in the examplesYes
signers[].statusstringYes
signers[].urlstring (uri)Yes
signers[].userAgentnull in the examplesYes
signers[].verificationnull in the examplesYes
signers[].viewCountintegerYes
statusstringYes
templatenull in the examplesYes
titlestringYes
totalintegerYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
valuesobject of anyYes
Example
curl -X POST "https://api.firmado.app/v1/contracts/{id}/cancel" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "status": "…",
  "message": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "body": "…",
  "fields": [],
  "values": {},
  "items": [],
  "currency": "USD",
  "discount": null,
  "language": "…",
  "settings": {
    "chargeOnSign": true,
    "requireTaxId": true,
    "expiresInDays": 1,
    "verifySignerEmail": true
  },
  "contentHash": "…",
  "invoiceId": null,
  "expiresAt": "2026-11-21T14:00:00.000Z",
  "sentAt": "2026-11-21T14:00:00.000Z",
  "completedAt": null,
  "canceledAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "total": 1,
  "contact": null,
  "company": null,
  "template": null,
  "context": {},
  "payment": null,
  "signers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": null,
      "name": "Ana Lima",
      "email": "[email protected]",
      "role": null,
      "position": 1,
      "status": "…",
      "url": "https://example.com",
      "sentAt": "2026-11-21T14:00:00.000Z",
      "sendCount": 1,
      "viewCount": 1,
      "firstViewedAt": null,
      "lastViewedAt": null,
      "decidedAt": null,
      "signerName": null,
      "signerTaxId": null,
      "signature": null,
      "documentHash": null,
      "ipAddress": null,
      "userAgent": null,
      "declineReason": null,
      "verification": null
    }
  ]
}

POST/v1/contracts/{id}/duplicate

A new draft with the same content and signers.

Create/{id}/duplicateOn success: 201.Permission: Create.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

74 fields
FieldTypeAlways there
bodystringYes
canceledAtnull in the examplesYes
companynull in the examplesYes
completedAtnull in the examplesYes
contactobjectYes
contact.idstring (uuid)Yes
contact.namestringYes
contentHashnull in the examplesYes
contextobject of anyYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
discountobjectYes
discount.typestringYes
discount.valueintegerYes
expiresAtnull in the examplesYes
fieldsarray of objectYes
fields[].defaultValueintegerNo
fields[].filledBystringYes
fields[].keystringYes
fields[].labelstringYes
fields[].optionsarray of stringNo
fields[].requiredbooleanYes
fields[].typestringYes
idstring (uuid)Yes
invoiceIdnull in the examplesYes
itemsarray of objectYes
items[].namestringYes
items[].quantityintegerYes
items[].unitPriceintegerYes
languagestringYes
messagenull in the examplesYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
paymentnull in the examplesYes
sentAtnull in the examplesYes
settingsobjectYes
settings.chargeOnSignbooleanYes
settings.expiresInDaysintegerYes
settings.requireTaxIdbooleanYes
settings.verifySignerEmailbooleanYes
signersarray of objectYes
signers[].contactIdstring | null (uuid)Yes
signers[].decidedAtnull in the examplesYes
signers[].declineReasonnull in the examplesYes
signers[].documentHashnull in the examplesYes
signers[].emailstring (email)Yes
signers[].firstViewedAtnull in the examplesYes
signers[].idstring (uuid)Yes
signers[].ipAddressnull in the examplesYes
signers[].lastViewedAtnull in the examplesYes
signers[].namestringYes
signers[].positionintegerYes
signers[].rolestringYes
signers[].sendCountintegerYes
signers[].sentAtnull in the examplesYes
signers[].signaturenull in the examplesYes
signers[].signerNamenull in the examplesYes
signers[].signerTaxIdnull in the examplesYes
signers[].statusstringYes
signers[].urlnull in the examplesYes
signers[].userAgentnull in the examplesYes
signers[].verificationnull in the examplesYes
signers[].viewCountintegerYes
statusstringYes
templateobjectYes
template.idstring (uuid)Yes
template.namestringYes
template.rolesarray of stringYes
titlestringYes
totalintegerYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
valuesobject of anyYes
Example
curl -X POST "https://api.firmado.app/v1/contracts/{id}/duplicate" \
  -H "X-Api-Key: fmd_..."

Response (201), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "status": "…",
  "message": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "body": "…",
  "fields": [
    {
      "key": "…",
      "type": "…",
      "label": "…",
      "filledBy": "…",
      "required": true,
      "defaultValue": 1,
      "options": []
    }
  ],
  "values": {},
  "items": [
    {
      "name": "Ana Lima",
      "quantity": 1,
      "unitPrice": 1
    }
  ],
  "currency": "USD",
  "discount": {
    "type": "…",
    "value": 1
  },
  "language": "…",
  "settings": {
    "chargeOnSign": true,
    "requireTaxId": true,
    "expiresInDays": 1,
    "verifySignerEmail": true
  },
  "contentHash": null,
  "invoiceId": null,
  "expiresAt": null,
  "sentAt": null,
  "completedAt": null,
  "canceledAt": null,
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "total": 1,
  "contact": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "company": null,
  "template": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "roles": [
      "…"
    ]
  },
  "context": {},
  "payment": null,
  "signers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "role": "…",
      "position": 1,
      "status": "…",
      "url": null,
      "sentAt": null,
      "sendCount": 1,
      "viewCount": 1,
      "firstViewedAt": null,
      "lastViewedAt": null,
      "decidedAt": null,
      "signerName": null,
      "signerTaxId": null,
      "signature": null,
      "documentHash": null,
      "ipAddress": null,
      "userAgent": null,
      "declineReason": null,
      "verification": null
    }
  ]
}

POST/v1/contracts/{id}/send

Sends the draft: each signer uses one of the month’s signatures and gets their link.

Update/{id}/sendOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

74 fields
FieldTypeAlways there
bodystringYes
canceledAtnull in the examplesYes
companynull in the examplesYes
completedAtnull in the examplesYes
contactobject | nullYes
contact.idstring (uuid)Yes
contact.namestringYes
contentHashstringYes
contextobject of anyYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
currencystringYes
discountobject | nullYes
discount.typestringYes
discount.valueintegerYes
expiresAtstring (date-time)Yes
fieldsarray of objectYes
fields[].defaultValueintegerNo
fields[].filledBystringYes
fields[].keystringYes
fields[].labelstringYes
fields[].optionsarray of stringNo
fields[].requiredbooleanYes
fields[].typestringYes
idstring (uuid)Yes
invoiceIdnull in the examplesYes
itemsarray of objectYes
items[].namestringYes
items[].quantityintegerYes
items[].unitPriceintegerYes
languagestringYes
messagenull in the examplesYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
paymentnull in the examplesYes
sentAtstring (date-time)Yes
settingsobjectYes
settings.chargeOnSignbooleanYes
settings.expiresInDaysintegerYes
settings.requireTaxIdbooleanYes
settings.verifySignerEmailbooleanYes
signersarray of objectYes
signers[].contactIdstring | null (uuid)Yes
signers[].decidedAtnull in the examplesYes
signers[].declineReasonnull in the examplesYes
signers[].documentHashnull in the examplesYes
signers[].emailstring (email)Yes
signers[].firstViewedAtnull in the examplesYes
signers[].idstring (uuid)Yes
signers[].ipAddressnull in the examplesYes
signers[].lastViewedAtnull in the examplesYes
signers[].namestring | nullYes
signers[].positionintegerYes
signers[].rolestring | nullYes
signers[].sendCountintegerYes
signers[].sentAtstring | null (date-time)Yes
signers[].signaturenull in the examplesYes
signers[].signerNamenull in the examplesYes
signers[].signerTaxIdnull in the examplesYes
signers[].statusstringYes
signers[].urlstring (uri)Yes
signers[].userAgentnull in the examplesYes
signers[].verificationnull in the examplesYes
signers[].viewCountintegerYes
statusstringYes
templateobject | nullYes
template.idstring (uuid)Yes
template.namestringYes
template.rolesarray of stringYes
titlestringYes
totalintegerYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
valuesobject of anyYes
Example
curl -X POST "https://api.firmado.app/v1/contracts/{id}/send" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "status": "…",
  "message": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "body": "…",
  "fields": [
    {
      "key": "…",
      "type": "…",
      "label": "…",
      "filledBy": "…",
      "required": true,
      "defaultValue": 1,
      "options": []
    }
  ],
  "values": {},
  "items": [
    {
      "name": "Ana Lima",
      "quantity": 1,
      "unitPrice": 1
    }
  ],
  "currency": "USD",
  "discount": {
    "type": "…",
    "value": 1
  },
  "language": "…",
  "settings": {
    "chargeOnSign": true,
    "requireTaxId": true,
    "expiresInDays": 1,
    "verifySignerEmail": true
  },
  "contentHash": "…",
  "invoiceId": null,
  "expiresAt": "2026-11-21T14:00:00.000Z",
  "sentAt": "2026-11-21T14:00:00.000Z",
  "completedAt": null,
  "canceledAt": null,
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "total": 1,
  "contact": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "company": null,
  "template": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "roles": [
      "…"
    ]
  },
  "context": {},
  "payment": null,
  "signers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "role": "…",
      "position": 1,
      "status": "…",
      "url": "https://example.com",
      "sentAt": "2026-11-21T14:00:00.000Z",
      "sendCount": 1,
      "viewCount": 1,
      "firstViewedAt": null,
      "lastViewedAt": null,
      "decidedAt": null,
      "signerName": null,
      "signerTaxId": null,
      "signature": null,
      "documentHash": null,
      "ipAddress": null,
      "userAgent": null,
      "declineReason": null,
      "verification": null
    }
  ]
}

POST/v1/contracts/{id}/signers/{signerId}/resend

Emails a signer their link again.

Update/{id}/signers/{signerId}/resendOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes
signerIdstringYes
Example
curl -X POST "https://api.firmado.app/v1/contracts/{id}/signers/{signerId}/resend" \
  -H "X-Api-Key: fmd_..."

POST/v1/contracts/{id}/signers/{signerId}/verification/resend

Sends a signer a new link to confirm their email address.

Update/{id}/signers/{signerId}/verification/resendOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes
signerIdstringYes
Example
curl -X POST "https://api.firmado.app/v1/contracts/{id}/signers/{signerId}/verification/resend" \
  -H "X-Api-Key: fmd_..."

Webhook events

Changes of this feature that webhooks can send.

  • contract_template.createdCreate
  • contract_template.updatedUpdate
  • contract_template.deletedDelete
  • contract.createdCreate
  • contract.updatedUpdate
  • contract.sentUpdate
  • contract.signedUpdate
  • contract.completedUpdate
  • contract.declinedUpdate
  • contract.canceledUpdate
  • contract.deletedDelete