Approvals

PDFs sent for approval and who approved them.

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/approvals

Lists the documents sent for approval.

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" | "approved" | "declined" | "canceled"No
contactIdstring (uuid)No
companyIdstring (uuid)No
ownerIdstringNomin length 1
createdFromstring (date-time)No
createdBeforestring (date-time)No
sort"createdAt" | "title"Nodefault "createdAt"
order"asc" | "desc"Nodefault "desc"

Response

28 fields
FieldTypeAlways there
dataarray of objectYes
data[].approversobjectYes
data[].approvers.approvedintegerYes
data[].approvers.totalintegerYes
data[].canceledAtnull in the examplesYes
data[].companynull in the examplesYes
data[].companyIdnull in the examplesYes
data[].completedAtstring | null (date-time)Yes
data[].createdAtstring (date-time)Yes
data[].createdBystring (uuid)Yes
data[].fileBytesinteger | nullYes
data[].fileHashstring | nullYes
data[].fileNamestring | nullYes
data[].hasFilebooleanYes
data[].idstring (uuid)Yes
data[].languagenull in the examplesYes
data[].messagestring | nullYes
data[].organizationIdstring (uuid)Yes
data[].ownerIdstring (uuid)Yes
data[].sentAtstring | null (date-time)Yes
data[].statusstringYes
data[].titlestringYes
data[].updatedAtstring (date-time)Yes
data[].updatedBystring (uuid)Yes
data[].verifySignerEmailbooleanYes
pageintegerYes
pageSizeintegerYes
totalintegerYes
Example
curl -X GET "https://api.firmado.app/v1/approvals" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "data": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "title": "…",
      "message": "…",
      "status": "…",
      "companyId": null,
      "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "language": null,
      "verifySignerEmail": true,
      "fileName": "Ana Lima",
      "fileBytes": 1,
      "fileHash": "…",
      "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",
      "hasFile": true,
      "company": null,
      "approvers": {}
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/approvals

Creates an approval draft with its approvers.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
titlestringYesmin length 1 · max length 200
messagestring | nullNo
companyIdstring (uuid) | nullNo
language"pt" | "es" | "en" | "fr" | nullNo
verifySignerEmailbooleanNo
approversarray of objectNomax items 20
approvers[].contactIdstring (uuid)No
approvers[].emailstring (email)Nomax length 320
approvers[].namestringNomin length 1 · max length 200

Response

41 fields
FieldTypeAlways there
approversarray of objectYes
approvers[].contactIdstring | null (uuid)Yes
approvers[].decidedAtnull in the examplesYes
approvers[].declineReasonnull in the examplesYes
approvers[].emailstring (email)Yes
approvers[].fileHashnull in the examplesYes
approvers[].firstViewedAtnull in the examplesYes
approvers[].idstring (uuid)Yes
approvers[].ipAddressnull in the examplesYes
approvers[].lastViewedAtnull in the examplesYes
approvers[].namestring | nullYes
approvers[].sendCountintegerYes
approvers[].sentAtnull in the examplesYes
approvers[].signerNamenull in the examplesYes
approvers[].signerTaxIdnull in the examplesYes
approvers[].statusstringYes
approvers[].urlnull in the examplesYes
approvers[].userAgentnull in the examplesYes
approvers[].verificationnull in the examplesYes
approvers[].viewCountintegerYes
canceledAtnull in the examplesYes
companynull in the examplesYes
companyIdnull in the examplesYes
completedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
fileBytesnull in the examplesYes
fileHashnull in the examplesYes
fileNamenull in the examplesYes
hasFilebooleanYes
idstring (uuid)Yes
languagenull in the examplesYes
messagestring | nullYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
sentAtnull in the examplesYes
statusstringYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
verifySignerEmailbooleanYes
Example
curl -X POST "https://api.firmado.app/v1/approvals" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "message": "…",
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "language": "pt"
}'

Response (201), with sample values:

{
  "approvers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "status": "…",
      "url": null,
      "sentAt": null,
      "sendCount": 1,
      "viewCount": 1,
      "firstViewedAt": null,
      "lastViewedAt": null,
      "decidedAt": null,
      "signerName": null,
      "signerTaxId": null,
      "fileHash": null,
      "ipAddress": null,
      "userAgent": null,
      "declineReason": null,
      "verification": null
    }
  ],
  "canceledAt": null,
  "company": null,
  "companyId": null,
  "completedAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "fileBytes": null,
  "fileHash": null,
  "fileName": null,
  "hasFile": true,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "language": null,
  "message": "…",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "sentAt": null,
  "status": "…",
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "verifySignerEmail": true
}

DELETE/v1/approvals/{id}

Deletes an approval.

DeleteOn success: 204.Permission: Delete.

Path parameters

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

GET/v1/approvals/{id}

Returns an approval with each approver’s answer.

Get oneOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

44 fields
FieldTypeAlways there
approversarray of objectYes
approvers[].contactIdstring | null (uuid)Yes
approvers[].decidedAtstring | null (date-time)Yes
approvers[].declineReasonstring | nullYes
approvers[].emailstring (email)Yes
approvers[].fileHashstring | nullYes
approvers[].firstViewedAtstring | null (date-time)Yes
approvers[].idstring (uuid)Yes
approvers[].ipAddressstring | nullYes
approvers[].lastViewedAtstring | null (date-time)Yes
approvers[].namestring | nullYes
approvers[].sendCountintegerYes
approvers[].sentAtstring (date-time)Yes
approvers[].signerNamestring | nullYes
approvers[].signerTaxIdstring | nullYes
approvers[].statusstringYes
approvers[].urlstring (uri)Yes
approvers[].userAgentnull in the examplesYes
approvers[].verificationobject | nullYes
approvers[].verification.sendCountintegerYes
approvers[].verification.sentAtstring (date-time)Yes
approvers[].verification.verifiedAtstring | null (date-time)Yes
approvers[].viewCountintegerYes
canceledAtnull in the examplesYes
companynull in the examplesYes
companyIdnull in the examplesYes
completedAtstring (date-time)Yes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
fileBytesintegerYes
fileHashstringYes
fileNamestringYes
hasFilebooleanYes
idstring (uuid)Yes
languagenull in the examplesYes
messagestring | nullYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
sentAtstring (date-time)Yes
statusstringYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
verifySignerEmailbooleanYes
Example
curl -X GET "https://api.firmado.app/v1/approvals/{id}" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "message": "…",
  "status": "…",
  "companyId": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "language": null,
  "verifySignerEmail": true,
  "fileName": "Ana Lima",
  "fileBytes": 1,
  "fileHash": "…",
  "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",
  "hasFile": true,
  "company": null,
  "approvers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "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": "…",
      "fileHash": "…",
      "ipAddress": "…",
      "userAgent": null,
      "declineReason": "…",
      "verification": {}
    }
  ]
}

PATCH/v1/approvals/{id}

Changes an approval draft: title, message, approvers and settings.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
titlestringNomin length 1 · max length 200
messagestring | nullNo
companyIdstring (uuid) | nullNo
language"pt" | "es" | "en" | "fr" | nullNo
verifySignerEmailbooleanNo
approversarray of objectNomax items 20
approvers[].contactIdstring (uuid)No
approvers[].emailstring (email)Nomax length 320
approvers[].namestringNomin length 1 · max length 200
Example
curl -X PATCH "https://api.firmado.app/v1/approvals/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "message": "…",
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "language": "pt"
}'

POST/v1/approvals/{id}/approvers/{approverId}/resend

Emails an approver their link again.

Update/{id}/approvers/{approverId}/resendOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes
approverIdstringYes
Example
curl -X POST "https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/resend" \
  -H "X-Api-Key: fmd_..."

POST/v1/approvals/{id}/approvers/{approverId}/verification/resend

Sends an approver a new link to confirm their email address.

Update/{id}/approvers/{approverId}/verification/resendOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes
approverIdstringYes
Example
curl -X POST "https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/verification/resend" \
  -H "X-Api-Key: fmd_..."

POST/v1/approvals/{id}/cancel

Cancels a sent approval; its links stop working.

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

Path parameters

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

GET/v1/approvals/{id}/file

Downloads the approval’s PDF.

Read/{id}/fileOn success: 200.Permission: Read.

Path parameters

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

PUT/v1/approvals/{id}/file

Uploads the PDF to approve (drafts only), replacing the previous one.

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

Path parameters

FieldTypeRequiredNotes
idstringYes

Body: a multipart form, with the file in `file`

FieldTypeRequiredNotes
filestring (binary)Yes

Response

41 fields
FieldTypeAlways there
approversarray of objectYes
approvers[].contactIdstring | null (uuid)Yes
approvers[].decidedAtnull in the examplesYes
approvers[].declineReasonnull in the examplesYes
approvers[].emailstring (email)Yes
approvers[].fileHashnull in the examplesYes
approvers[].firstViewedAtnull in the examplesYes
approvers[].idstring (uuid)Yes
approvers[].ipAddressnull in the examplesYes
approvers[].lastViewedAtnull in the examplesYes
approvers[].namestring | nullYes
approvers[].sendCountintegerYes
approvers[].sentAtnull in the examplesYes
approvers[].signerNamenull in the examplesYes
approvers[].signerTaxIdnull in the examplesYes
approvers[].statusstringYes
approvers[].urlnull in the examplesYes
approvers[].userAgentnull in the examplesYes
approvers[].verificationnull in the examplesYes
approvers[].viewCountintegerYes
canceledAtnull in the examplesYes
companynull in the examplesYes
companyIdnull in the examplesYes
completedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
fileBytesintegerYes
fileHashstringYes
fileNamestringYes
hasFilebooleanYes
idstring (uuid)Yes
languagenull in the examplesYes
messagestring | nullYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
sentAtnull in the examplesYes
statusstringYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
verifySignerEmailbooleanYes
Example
curl -X PUT "https://api.firmado.app/v1/approvals/{id}/file" \
  -H "X-Api-Key: fmd_..." \
  -F "file=@./file.pdf"

Response (200), with sample values:

{
  "approvers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "status": "…",
      "url": null,
      "sentAt": null,
      "sendCount": 1,
      "viewCount": 1,
      "firstViewedAt": null,
      "lastViewedAt": null,
      "decidedAt": null,
      "signerName": null,
      "signerTaxId": null,
      "fileHash": null,
      "ipAddress": null,
      "userAgent": null,
      "declineReason": null,
      "verification": null
    }
  ],
  "canceledAt": null,
  "company": null,
  "companyId": null,
  "completedAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "fileBytes": 1,
  "fileHash": "…",
  "fileName": "Ana Lima",
  "hasFile": true,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "language": null,
  "message": "…",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "sentAt": null,
  "status": "…",
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "verifySignerEmail": true
}

POST/v1/approvals/{id}/send

Sends the draft: every approver gets their link by email.

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

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

41 fields
FieldTypeAlways there
approversarray of objectYes
approvers[].contactIdstring | null (uuid)Yes
approvers[].decidedAtnull in the examplesYes
approvers[].declineReasonnull in the examplesYes
approvers[].emailstring (email)Yes
approvers[].fileHashnull in the examplesYes
approvers[].firstViewedAtnull in the examplesYes
approvers[].idstring (uuid)Yes
approvers[].ipAddressnull in the examplesYes
approvers[].lastViewedAtnull in the examplesYes
approvers[].namestring | nullYes
approvers[].sendCountintegerYes
approvers[].sentAtstring (date-time)Yes
approvers[].signerNamenull in the examplesYes
approvers[].signerTaxIdnull in the examplesYes
approvers[].statusstringYes
approvers[].urlstring (uri)Yes
approvers[].userAgentnull in the examplesYes
approvers[].verificationnull in the examplesYes
approvers[].viewCountintegerYes
canceledAtnull in the examplesYes
companynull in the examplesYes
companyIdnull in the examplesYes
completedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
fileBytesintegerYes
fileHashstringYes
fileNamestringYes
hasFilebooleanYes
idstring (uuid)Yes
languagenull in the examplesYes
messagestring | nullYes
organizationIdstring (uuid)Yes
ownerIdstring (uuid)Yes
sentAtstring (date-time)Yes
statusstringYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
verifySignerEmailbooleanYes
Example
curl -X POST "https://api.firmado.app/v1/approvals/{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": "…",
  "message": "…",
  "status": "…",
  "companyId": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "language": null,
  "verifySignerEmail": true,
  "fileName": "Ana Lima",
  "fileBytes": 1,
  "fileHash": "…",
  "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",
  "hasFile": true,
  "company": null,
  "approvers": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "email": "[email protected]",
      "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,
      "fileHash": null,
      "ipAddress": null,
      "userAgent": null,
      "declineReason": null,
      "verification": null
    }
  ]
}

Webhook events

Changes of this feature that webhooks can send.

  • approval.createdCreate
  • approval.updatedUpdate
  • approval.sentUpdate
  • approval.approvedUpdate
  • approval.completedUpdate
  • approval.declinedUpdate
  • approval.canceledUpdate
  • approval.deletedDelete