Propostas

Propostas: conteúdo, pacotes, destinatários, envio, status e perguntas dos clientes.

Valores dos exemplos

Digite uma vez e todos os exemplos desta página passam a usá-los. A chave de API fica só nesta página e nunca é guardada.

GET/v1/deal-defaults

Com o que as novas propostas começam: validade, textos e configurações.

ListarEm caso de sucesso: 200.Permissão: Ler.

Resposta

19 campos
CampoTipoSempre presente
acceptPaymentsbooleanSim
currencystringSim
depositPercentinteger | nullSim
nextReferencestring | nullSim
notificationsobjectSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
notifications.viewedbooleanSim
paymentDueDaysnull nos exemplosSim
paymentTermsstringSim
referenceobjectSim
reference.autobooleanSim
reference.digitsintegerSim
reference.nextintegerSim
reference.prefixstringSim
termsstring | nullSim
validityDaysintegerSim
verifySignerEmailbooleanSim
Exemplo
curl -X GET "https://api.firmado.app/v1/deal-defaults" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "currency": "USD",
  "validityDays": 1,
  "depositPercent": 1,
  "terms": "…",
  "notifications": {
    "viewed": true,
    "accepted": true,
    "declined": true,
    "question": true
  },
  "reference": {
    "auto": true,
    "prefix": "…",
    "digits": 1,
    "next": 1
  },
  "verifySignerEmail": true,
  "acceptPayments": true,
  "paymentTerms": "…",
  "paymentDueDays": null,
  "nextReference": "…"
}

PUT/v1/deal-defaults

Altera com o que as novas propostas começam.

Atualizar/Em caso de sucesso: 200.Permissão: Atualizar.

Corpo

CampoTipoObrigatórioObservações
currencystringSimpattern ^[A-Z]{3}$
validityDaysintegerSimmin 1 · max 365
depositPercentinteger | nullSim
termsstring | nullSim
notificationsobjectSim
notifications.viewedbooleanSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
verifySignerEmailbooleanNãodefault false
acceptPaymentsbooleanNãodefault false
paymentTerms"on_acceptance" | "days_after"Nãodefault "on_acceptance"
paymentDueDaysinteger | nullNãodefault null
referenceobjectSim
reference.autobooleanSim
reference.prefixstringSimmax length 20
reference.digitsintegerSimmin 1 · max 8
reference.nextintegerSimmin 1 · max 999999999

Resposta

19 campos
CampoTipoSempre presente
acceptPaymentsbooleanSim
currencystringSim
depositPercentintegerSim
nextReferencestringSim
notificationsobjectSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
notifications.viewedbooleanSim
paymentDueDaysnull nos exemplosSim
paymentTermsstringSim
referenceobjectSim
reference.autobooleanSim
reference.digitsintegerSim
reference.nextintegerSim
reference.prefixstringSim
termsstringSim
validityDaysintegerSim
verifySignerEmailbooleanSim
Exemplo
curl -X PUT "https://api.firmado.app/v1/deal-defaults" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "currency": "USD",
  "validityDays": 1,
  "depositPercent": 0,
  "terms": "…",
  "notifications": {
    "viewed": true,
    "accepted": true,
    "declined": true,
    "question": true
  },
  "reference": {
    "auto": true,
    "prefix": "…",
    "digits": 1,
    "next": 1
  }
}'

Resposta (200), com valores de exemplo:

{
  "currency": "USD",
  "validityDays": 1,
  "depositPercent": 1,
  "terms": "…",
  "notifications": {
    "viewed": true,
    "accepted": true,
    "declined": true,
    "question": true
  },
  "reference": {
    "auto": true,
    "prefix": "…",
    "digits": 1,
    "next": 1
  },
  "verifySignerEmail": true,
  "acceptPayments": true,
  "paymentTerms": "…",
  "paymentDueDays": null,
  "nextReference": "…"
}

GET/v1/deal-templates

Lista os modelos de proposta para começar uma proposta.

ListarEm caso de sucesso: 200.Permissão: Ler.

Resposta

11 campos
CampoTipoSempre presente
[].descriptionstringSim
[].idstringSim
[].namestringSim
[].themeobjectSim
[].theme.accentColorstringSim
[].theme.backgroundColorstringSim
[].theme.bodyFontstringSim
[].theme.cornerRadiusstringSim
[].theme.headingFontstringSim
[].theme.primaryColorstringSim
[].theme.textColorstringSim
Exemplo
curl -X GET "https://api.firmado.app/v1/deal-templates" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

[
  {
    "id": "…",
    "name": "Ana Lima",
    "description": "…",
    "theme": {
      "primaryColor": "…",
      "accentColor": "…",
      "backgroundColor": "…",
      "textColor": "…",
      "headingFont": "…",
      "bodyFont": "…",
      "cornerRadius": "…"
    }
  }
]

GET/v1/deals

Lista e busca propostas, por status, responsável, contato ou data.

ListarEm caso de sucesso: 200.Permissão: Ler.

Parâmetros da consulta

CampoTipoObrigatórioObservações
pageintegerNãomin 1 · default 1
pageSizeintegerNãomin 1 · max 100 · default 25
qstringNãomin length 1 · max length 200
archivedstringNão
statusarray of "draft" | "sent" | "viewed" | "negotiating" | "accepted" | "declined" | "expired" | "paid"Nãomax items 8
companyIdstring (uuid)Não
ownerIdstringNão
contactIdstring (uuid)Não
dueFromstring (date-time)Não
dueBeforestring (date-time)Não
sort"createdAt" | "updatedAt" | "title" | "totalAmount" | "validUntil" | "viewCount"Nãodefault "createdAt"
order"asc" | "desc"Nãodefault "desc"

Resposta

25 campos
CampoTipoSempre presente
dataarray of objectSim
data[].acceptedAtstring | null (date-time)Sim
data[].archivedbooleanSim
data[].companyIdstring | null (uuid)Sim
data[].companyNamestring | nullSim
data[].createdAtstring (date-time)Sim
data[].currencystringSim
data[].hasUnpublishedChangesbooleanSim
data[].idstring (uuid)Sim
data[].lastViewedAtstring | null (date-time)Sim
data[].ownerIdstring (uuid)Sim
data[].ownerImagenull nos exemplosSim
data[].ownerNamestringSim
data[].paidAtstring | null (date-time)Sim
data[].referencestring | nullSim
data[].sentAtstring | null (date-time)Sim
data[].statusstringSim
data[].titlestringSim
data[].totalAmountintegerSim
data[].updatedAtstring (date-time)Sim
data[].validUntilstring (date-time)Sim
data[].viewCountintegerSim
pageintegerSim
pageSizeintegerSim
totalintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/deals" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "data": [
    {
      "acceptedAt": "2026-11-21T14:00:00.000Z",
      "archived": true,
      "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "companyName": "Ana Lima",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "currency": "USD",
      "hasUnpublishedChanges": true,
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "lastViewedAt": "2026-11-21T14:00:00.000Z",
      "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "ownerImage": null,
      "ownerName": "Ana Lima",
      "paidAt": "2026-11-21T14:00:00.000Z",
      "reference": "…",
      "sentAt": "2026-11-21T14:00:00.000Z",
      "status": "…",
      "title": "…",
      "totalAmount": 1,
      "updatedAt": "2026-11-21T14:00:00.000Z",
      "validUntil": "2026-11-21T14:00:00.000Z",
      "viewCount": 1
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/deals

Cria um rascunho de proposta.

CriarEm caso de sucesso: 201.Permissão: Criar.

Corpo

CampoTipoObrigatórioObservações
titlestring | nullNão
referencestring | nullNão
companyIdstring (uuid) | nullNão
primaryContactIdstring (uuid) | nullNão
ownerIdstringNãomin length 1
currencystringNãopattern ^[A-Z]{3}$
validUntilstringNãomin length 1
depositPercentinteger | nullNão
language"pt" | "es" | "en" | "fr" | nullNão
contentobjectNão
content.summarystring | nullNão
content.scopestring | nullNão
content.termsstring | nullNão
content.packagesarray of objectNãomax items 3
content.packages[].idstringNãomin length 1 · max length 64
content.packages[].namestringSimmin length 1 · max length 100
content.packages[].descriptionstring | nullNão
content.packages[].recommendedbooleanNãodefault false
content.packages[].itemsarray of objectNãomax items 50
content.packages[].items[].idstringNãomin length 1 · max length 64
content.packages[].items[].serviceIdstring (uuid) | nullNão
content.packages[].items[].namestringSimmin length 1 · max length 200
content.packages[].items[].descriptionstring | nullNão
content.packages[].items[].quantitynumberNãomin 0 · max 100000 · default 1
content.packages[].items[].unitPriceintegerSimmin 0 · max 10000000000000
content.packages[].items[].optionalbooleanNãodefault false
content.packages[].discountobject | nullNão
content.itemsarray of objectNãomax items 100
content.items[].idstringNãomin length 1 · max length 64
content.items[].serviceIdstring (uuid) | nullNão
content.items[].namestringSimmin length 1 · max length 200
content.items[].descriptionstring | nullNão
content.items[].quantitynumberNãomin 0 · max 100000 · default 1
content.items[].unitPriceintegerSimmin 0 · max 10000000000000
content.items[].optionalbooleanNãodefault false
notificationsobjectNão
notifications.viewedbooleanNão
notifications.acceptedbooleanNão
notifications.declinedbooleanNão
notifications.questionbooleanNão
verifySignerEmailbooleanNão
acceptPaymentsbooleanNão
paymentTerms"on_acceptance" | "on_date" | "days_after"Não
paymentDueDatestring (date) | nullNão
paymentDueDaysinteger | nullNão
customPropertiesobject of anyNão
archivedbooleanNão

Resposta

92 campos
CampoTipoSempre presente
acceptPaymentsbooleanSim
acceptancenull nos exemplosSim
acceptedAtnull nos exemplosSim
archivedbooleanSim
catalogRequestIdnull nos exemplosSim
clientSelectionnull nos exemplosSim
companyobject | nullSim
company.idstring (uuid)Sim
company.namestringSim
companyIdstring | null (uuid)Sim
contentobjectSim
content.itemsarray of objectSim
content.items[].descriptionnull nos exemplosSim
content.items[].idstring (uuid)Sim
content.items[].namestringSim
content.items[].optionalbooleanSim
content.items[].quantityintegerSim
content.items[].serviceIdstring | null (uuid)Sim
content.items[].unitPriceintegerSim
content.packagesarray of objectSim
content.packages[].descriptionnull nos exemplosSim
content.packages[].discountobject | nullSim
content.packages[].discount.typestringSim
content.packages[].discount.valueintegerSim
content.packages[].idstring (uuid)Sim
content.packages[].itemsarray of objectSim
content.packages[].items[].descriptionnull nos exemplosSim
content.packages[].items[].idstring (uuid)Sim
content.packages[].items[].namestringSim
content.packages[].items[].optionalbooleanSim
content.packages[].items[].quantityintegerSim
content.packages[].items[].serviceIdnull nos exemplosSim
content.packages[].items[].unitPriceintegerSim
content.packages[].namestringSim
content.packages[].recommendedbooleanSim
content.scopenull nos exemplosSim
content.summarystring | nullSim
content.termsstring | nullSim
createdAtstring (date-time)Sim
createdBystring | null (uuid)Sim
currencystringSim
currentVersionintegerSim
customPropertiesobject of anySim
declineCommentnull nos exemplosSim
declineReasonnull nos exemplosSim
declinedAtnull nos exemplosSim
depositPercentinteger | nullSim
firstViewedAtnull nos exemplosSim
hasUnpublishedChangesbooleanSim
idstring (uuid)Sim
invoicenull nos exemplosSim
invoiceIdnull nos exemplosSim
languagestring | nullSim
lastViewedAtnull nos exemplosSim
lockedbooleanSim
notificationsobjectSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
notifications.viewedbooleanSim
organizationIdstring (uuid)Sim
ownerobjectSim
owner.imagenull nos exemplosSim
owner.memberIdstring (uuid)Sim
owner.namestringSim
owner.userIdstring (uuid)Sim
ownerIdstring (uuid)Sim
paidAtnull nos exemplosSim
paymentnull nos exemplosSim
paymentDueDatenull nos exemplosSim
paymentDueDaysinteger | nullSim
paymentTermsstringSim
primaryContactIdstring | null (uuid)Sim
publicIdstringSim
referencestring | nullSim
reminderSentAtnull nos exemplosSim
sentAtnull nos exemplosSim
shareobjectSim
share.channelsarray of objectSim
share.channels[].availablebooleanSim
share.channels[].idstringSim
share.recipientsarray of anySim
share.urlnull nos exemplosSim
signatureVerificationnull nos exemplosSim
statusstringSim
titlestring | nullSim
totalAmountintegerSim
updatedAtstring (date-time)Sim
updatedBystring | null (uuid)Sim
validUntilstring (date-time)Sim
verifySignerEmailbooleanSim
viewCountintegerSim
Exemplo
curl -X POST "https://api.firmado.app/v1/deals" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "reference": "…",
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}'

Resposta (201), com valores de exemplo:

{
  "acceptPayments": true,
  "acceptance": null,
  "acceptedAt": null,
  "archived": true,
  "catalogRequestId": null,
  "clientSelection": null,
  "company": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "content": {
    "items": [
      {}
    ],
    "packages": [
      {}
    ],
    "scope": null,
    "summary": "…",
    "terms": "…"
  },
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "currency": "USD",
  "currentVersion": 1,
  "customProperties": {},
  "declineComment": null,
  "declineReason": null,
  "declinedAt": null,
  "depositPercent": 1,
  "firstViewedAt": null,
  "hasUnpublishedChanges": true,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "invoice": null,
  "invoiceId": null,
  "language": "…",
  "lastViewedAt": null,
  "locked": true,
  "notifications": {
    "accepted": true,
    "declined": true,
    "question": true,
    "viewed": true
  },
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "owner": {
    "image": null,
    "memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "paidAt": null,
  "payment": null,
  "paymentDueDate": null,
  "paymentDueDays": 1,
  "paymentTerms": "…",
  "primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "publicId": "…",
  "reference": "…",
  "reminderSentAt": null,
  "sentAt": null,
  "share": {
    "channels": [
      {}
    ],
    "recipients": [],
    "url": null
  },
  "signatureVerification": null,
  "status": "…",
  "title": "…",
  "totalAmount": 1,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "validUntil": "2026-11-21T14:00:00.000Z",
  "verifySignerEmail": true,
  "viewCount": 1
}

DELETE/v1/deals/{id}

Exclui uma proposta.

ExcluirEm caso de sucesso: 204.Permissão: Excluir.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
Exemplo
curl -X DELETE "https://api.firmado.app/v1/deals/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/deals/{id}

Retorna uma proposta com seu conteúdo, pacotes, destinatários e status.

Ver umEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

160 campos
CampoTipoSempre presente
acceptPaymentsbooleanSim
acceptanceobject | nullSim
acceptance.acceptedAtstring (date-time)Sim
acceptance.chosenobjectSim
acceptance.chosen.addOnsarray of objectSim
acceptance.chosen.addOns[].idstring (uuid)Sim
acceptance.chosen.addOns[].namestringSim
acceptance.chosen.addOns[].totalintegerSim
acceptance.chosen.includedarray of objectSim
acceptance.chosen.included[].idstring (uuid)Sim
acceptance.chosen.included[].namestringSim
acceptance.chosen.included[].totalintegerSim
acceptance.chosen.packageobjectSim
acceptance.chosen.package.idstring (uuid)Sim
acceptance.chosen.package.itemsarray of objectSim
acceptance.chosen.package.namestringSim
acceptance.chosen.package.totalintegerSim
acceptance.dealIdstring (uuid)Sim
acceptance.depositAmountinteger | nullSim
acceptance.idstring (uuid)Sim
acceptance.ipAddressstringSim
acceptance.organizationIdstring (uuid)Sim
acceptance.recipientIdstring | null (uuid)Sim
acceptance.selectionobjectSim
acceptance.selection.optionalItemIdsarray of string (uuid)Sim
acceptance.selection.packageIdstring (uuid)Sim
acceptance.signerEmailstring | null (email)Sim
acceptance.signerNamestringSim
acceptance.signerTaxIdstringSim
acceptance.totalAmountintegerSim
acceptance.userAgentstring | nullSim
acceptance.versionintegerSim
acceptance.versionHashstringSim
acceptance.versionIdstring (uuid)Sim
acceptedAtstring | null (date-time)Sim
archivedbooleanSim
catalogRequestIdnull nos exemplosSim
clientSelectionobject | nullSim
clientSelection.optionalItemIdsarray of string (uuid)Sim
clientSelection.packageIdstring (uuid)Sim
companyobject | nullSim
company.idstring (uuid)Sim
company.namestringSim
companyIdstring | null (uuid)Sim
contentobjectSim
content.itemsarray of objectSim
content.items[].descriptionnull nos exemplosSim
content.items[].idstring (uuid)Sim
content.items[].namestringSim
content.items[].optionalbooleanSim
content.items[].quantityintegerSim
content.items[].serviceIdnull nos exemplosSim
content.items[].unitPriceintegerSim
content.packagesarray of objectSim
content.packages[].descriptionnull nos exemplosSim
content.packages[].discountobject | nullSim
content.packages[].discount.typestringSim
content.packages[].discount.valueintegerSim
content.packages[].idstring (uuid)Sim
content.packages[].itemsarray of objectSim
content.packages[].items[].descriptionnull nos exemplosSim
content.packages[].items[].idstring (uuid)Sim
content.packages[].items[].namestringSim
content.packages[].items[].optionalbooleanSim
content.packages[].items[].quantityintegerSim
content.packages[].items[].serviceIdnull nos exemplosSim
content.packages[].items[].unitPriceintegerSim
content.packages[].namestringSim
content.packages[].recommendedbooleanSim
content.scopenull nos exemplosSim
content.summarystring | nullSim
content.termsstring | nullSim
createdAtstring (date-time)Sim
createdBystring (uuid)Sim
currencystringSim
currentVersionintegerSim
customPropertiesobject of anySim
declineCommentstring | nullSim
declineReasonstring | nullSim
declinedAtstring | null (date-time)Sim
depositPercentinteger | nullSim
firstViewedAtstring | null (date-time)Sim
hasUnpublishedChangesbooleanSim
idstring (uuid)Sim
invoiceobject | nullSim
invoice.currencystringSim
invoice.dueDatestring (date)Sim
invoice.idstring (uuid)Sim
invoice.numberstringSim
invoice.paidAtstring | null (date-time)Sim
invoice.statusstringSim
invoice.totalintegerSim
invoiceIdstring | null (uuid)Sim
languagenull nos exemplosSim
lastViewedAtstring | null (date-time)Sim
lockedbooleanSim
notificationsobjectSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
notifications.viewedbooleanSim
organizationIdstring (uuid)Sim
ownerobjectSim
owner.imagenull nos exemplosSim
owner.memberIdstring (uuid)Sim
owner.namestringSim
owner.userIdstring (uuid)Sim
ownerIdstring (uuid)Sim
paidAtstring | null (date-time)Sim
paymentobject | nullSim
payment.amountintegerSim
payment.applicationFeeintegerSim
payment.createdAtstring (date-time)Sim
payment.currencystringSim
payment.idstring (uuid)Sim
payment.paidAtstring (date-time)Sim
payment.payerEmailstring (email)Sim
payment.payerNamestringSim
payment.statusstringSim
paymentDueDatenull nos exemplosSim
paymentDueDaysnull nos exemplosSim
paymentTermsstringSim
primaryContactIdstring | null (uuid)Sim
publicIdstringSim
referencenull nos exemplosSim
reminderSentAtnull nos exemplosSim
sentAtstring | null (date-time)Sim
shareobjectSim
share.channelsarray of objectSim
share.channels[].availablebooleanSim
share.channels[].idstringSim
share.recipientsarray of objectSim
share.recipients[].channelstringSim
share.recipients[].contactIdstring (uuid)Sim
share.recipients[].createdAtstring (date-time)Sim
share.recipients[].firstNamestringSim
share.recipients[].firstViewedAtstring | null (date-time)Sim
share.recipients[].idstring (uuid)Sim
share.recipients[].lastNamenull nos exemplosSim
share.recipients[].lastViewedAtstring | null (date-time)Sim
share.recipients[].mergedContactIdnull nos exemplosSim
share.recipients[].tokenstringSim
share.recipients[].urlstring (uri)Sim
share.recipients[].viewCountintegerSim
share.urlstring | null (uri)Sim
signatureVerificationobject | nullSim
signatureVerification.emailstring (email)Sim
signatureVerification.sendCountintegerSim
signatureVerification.sentAtstring (date-time)Sim
signatureVerification.verifiedAtstring | null (date-time)Sim
signatureVerification.verifiedIpstring | nullSim
signatureVerification.verifiedUserAgentnull nos exemplosSim
statusstringSim
titlestringSim
totalAmountintegerSim
updatedAtstring (date-time)Sim
updatedBystring (uuid)Sim
validUntilstring (date-time)Sim
verifySignerEmailbooleanSim
viewCountintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/deals/{id}" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "acceptPayments": true,
  "acceptance": {
    "acceptedAt": "2026-11-21T14:00:00.000Z",
    "chosen": {
      "addOns": [],
      "included": [],
      "package": {}
    },
    "dealId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "depositAmount": 1,
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "ipAddress": "…",
    "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "selection": {
      "optionalItemIds": [],
      "packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    },
    "signerEmail": "[email protected]",
    "signerName": "Ana Lima",
    "signerTaxId": "…",
    "totalAmount": 1,
    "userAgent": "…",
    "version": 1,
    "versionHash": "…",
    "versionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "acceptedAt": "2026-11-21T14:00:00.000Z",
  "archived": true,
  "catalogRequestId": null,
  "clientSelection": {
    "optionalItemIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "company": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "content": {
    "items": [
      {}
    ],
    "packages": [
      {}
    ],
    "scope": null,
    "summary": "…",
    "terms": "…"
  },
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "currency": "USD",
  "currentVersion": 1,
  "customProperties": {},
  "declineComment": "…",
  "declineReason": "…",
  "declinedAt": "2026-11-21T14:00:00.000Z",
  "depositPercent": 1,
  "firstViewedAt": "2026-11-21T14:00:00.000Z",
  "hasUnpublishedChanges": true,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "invoice": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "number": "…",
    "status": "…",
    "total": 1,
    "currency": "USD",
    "dueDate": "2026-11-21",
    "paidAt": "2026-11-21T14:00:00.000Z"
  },
  "invoiceId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "language": null,
  "lastViewedAt": "2026-11-21T14:00:00.000Z",
  "locked": true,
  "notifications": {
    "accepted": true,
    "declined": true,
    "question": true,
    "viewed": true
  },
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "owner": {
    "image": null,
    "memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "paidAt": "2026-11-21T14:00:00.000Z",
  "payment": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "status": "…",
    "amount": 1,
    "currency": "USD",
    "applicationFee": 1,
    "payerName": "Ana Lima",
    "payerEmail": "[email protected]",
    "paidAt": "2026-11-21T14:00:00.000Z",
    "createdAt": "2026-11-21T14:00:00.000Z"
  },
  "paymentDueDate": null,
  "paymentDueDays": null,
  "paymentTerms": "…",
  "primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "publicId": "…",
  "reference": null,
  "reminderSentAt": null,
  "sentAt": "2026-11-21T14:00:00.000Z",
  "share": {
    "channels": [
      {}
    ],
    "recipients": [
      {}
    ],
    "url": "https://example.com"
  },
  "signatureVerification": {
    "email": "[email protected]",
    "sendCount": 1,
    "sentAt": "2026-11-21T14:00:00.000Z",
    "verifiedAt": "2026-11-21T14:00:00.000Z",
    "verifiedIp": "…",
    "verifiedUserAgent": null
  },
  "status": "…",
  "title": "…",
  "totalAmount": 1,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "validUntil": "2026-11-21T14:00:00.000Z",
  "verifySignerEmail": true,
  "viewCount": 1
}

PATCH/v1/deals/{id}

Altera um rascunho de proposta: conteúdo, itens, pacotes, cliente e configurações.

AtualizarEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
titlestring | nullNão
referencestring | nullNão
companyIdstring (uuid) | nullNão
primaryContactIdstring (uuid) | nullNão
ownerIdstringNãomin length 1
currencystringNãopattern ^[A-Z]{3}$
validUntilstringNãomin length 1
depositPercentinteger | nullNão
language"pt" | "es" | "en" | "fr" | nullNão
contentobjectNão
content.summarystring | nullNão
content.scopestring | nullNão
content.termsstring | nullNão
content.packagesarray of objectNãomax items 3
content.packages[].idstringNãomin length 1 · max length 64
content.packages[].namestringSimmin length 1 · max length 100
content.packages[].descriptionstring | nullNão
content.packages[].recommendedbooleanNãodefault false
content.packages[].itemsarray of objectNãomax items 50
content.packages[].items[].idstringNãomin length 1 · max length 64
content.packages[].items[].serviceIdstring (uuid) | nullNão
content.packages[].items[].namestringSimmin length 1 · max length 200
content.packages[].items[].descriptionstring | nullNão
content.packages[].items[].quantitynumberNãomin 0 · max 100000 · default 1
content.packages[].items[].unitPriceintegerSimmin 0 · max 10000000000000
content.packages[].items[].optionalbooleanNãodefault false
content.packages[].discountobject | nullNão
content.itemsarray of objectNãomax items 100
content.items[].idstringNãomin length 1 · max length 64
content.items[].serviceIdstring (uuid) | nullNão
content.items[].namestringSimmin length 1 · max length 200
content.items[].descriptionstring | nullNão
content.items[].quantitynumberNãomin 0 · max 100000 · default 1
content.items[].unitPriceintegerSimmin 0 · max 10000000000000
content.items[].optionalbooleanNãodefault false
notificationsobjectNão
notifications.viewedbooleanNão
notifications.acceptedbooleanNão
notifications.declinedbooleanNão
notifications.questionbooleanNão
verifySignerEmailbooleanNão
acceptPaymentsbooleanNão
paymentTerms"on_acceptance" | "on_date" | "days_after"Não
paymentDueDatestring (date) | nullNão
paymentDueDaysinteger | nullNão
customPropertiesobject of anyNão
archivedbooleanNão

Resposta

136 campos
CampoTipoSempre presente
acceptPaymentsbooleanSim
acceptanceobject | nullSim
acceptance.acceptedAtstring (date-time)Sim
acceptance.chosenobjectSim
acceptance.chosen.addOnsarray of objectSim
acceptance.chosen.addOns[].idstring (uuid)Sim
acceptance.chosen.addOns[].namestringSim
acceptance.chosen.addOns[].totalintegerSim
acceptance.chosen.includedarray of objectSim
acceptance.chosen.included[].idstring (uuid)Sim
acceptance.chosen.included[].namestringSim
acceptance.chosen.included[].totalintegerSim
acceptance.chosen.packageobjectSim
acceptance.chosen.package.idstring (uuid)Sim
acceptance.chosen.package.itemsarray of objectSim
acceptance.chosen.package.namestringSim
acceptance.chosen.package.totalintegerSim
acceptance.dealIdstring (uuid)Sim
acceptance.depositAmountintegerSim
acceptance.idstring (uuid)Sim
acceptance.ipAddressstringSim
acceptance.organizationIdstring (uuid)Sim
acceptance.recipientIdstring (uuid)Sim
acceptance.selectionobjectSim
acceptance.selection.optionalItemIdsarray of string (uuid)Sim
acceptance.selection.packageIdstring (uuid)Sim
acceptance.signerEmailstring (email)Sim
acceptance.signerNamestringSim
acceptance.signerTaxIdstringSim
acceptance.totalAmountintegerSim
acceptance.userAgentstringSim
acceptance.versionintegerSim
acceptance.versionHashstringSim
acceptance.versionIdstring (uuid)Sim
acceptedAtstring | null (date-time)Sim
archivedbooleanSim
catalogRequestIdnull nos exemplosSim
clientSelectionobject | nullSim
clientSelection.optionalItemIdsarray of string (uuid)Sim
clientSelection.packageIdstring (uuid)Sim
companyobject | nullSim
company.idstring (uuid)Sim
company.namestringSim
companyIdstring | null (uuid)Sim
contentobjectSim
content.itemsarray of objectSim
content.items[].descriptionnull nos exemplosSim
content.items[].idstring (uuid)Sim
content.items[].namestringSim
content.items[].optionalbooleanSim
content.items[].quantityintegerSim
content.items[].serviceIdnull nos exemplosSim
content.items[].unitPriceintegerSim
content.packagesarray of objectSim
content.packages[].descriptionnull nos exemplosSim
content.packages[].discountnull nos exemplosSim
content.packages[].idstring (uuid)Sim
content.packages[].itemsarray of objectSim
content.packages[].items[].descriptionnull nos exemplosSim
content.packages[].items[].idstring (uuid)Sim
content.packages[].items[].namestringSim
content.packages[].items[].optionalbooleanSim
content.packages[].items[].quantityintegerSim
content.packages[].items[].serviceIdnull nos exemplosSim
content.packages[].items[].unitPriceintegerSim
content.packages[].namestringSim
content.packages[].recommendedbooleanSim
content.scopenull nos exemplosSim
content.summarystring | nullSim
content.termsstring | nullSim
createdAtstring (date-time)Sim
createdBystring (uuid)Sim
currencystringSim
currentVersionintegerSim
customPropertiesobject of anySim
declineCommentnull nos exemplosSim
declineReasonnull nos exemplosSim
declinedAtnull nos exemplosSim
depositPercentinteger | nullSim
firstViewedAtstring | null (date-time)Sim
hasUnpublishedChangesbooleanSim
idstring (uuid)Sim
invoicenull nos exemplosSim
invoiceIdnull nos exemplosSim
languagestring | nullSim
lastViewedAtstring | null (date-time)Sim
lockedbooleanSim
notificationsobjectSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
notifications.viewedbooleanSim
organizationIdstring (uuid)Sim
ownerobjectSim
owner.imagenull nos exemplosSim
owner.memberIdstring (uuid)Sim
owner.namestringSim
owner.userIdstring (uuid)Sim
ownerIdstring (uuid)Sim
paidAtnull nos exemplosSim
paymentnull nos exemplosSim
paymentDueDatenull nos exemplosSim
paymentDueDaysnull nos exemplosSim
paymentTermsstringSim
primaryContactIdstring | null (uuid)Sim
publicIdstringSim
referencenull nos exemplosSim
reminderSentAtnull nos exemplosSim
sentAtstring | null (date-time)Sim
shareobjectSim
share.channelsarray of objectSim
share.channels[].availablebooleanSim
share.channels[].idstringSim
share.recipientsarray of objectSim
share.recipients[].channelstringSim
share.recipients[].contactIdstring (uuid)Sim
share.recipients[].createdAtstring (date-time)Sim
share.recipients[].firstNamestringSim
share.recipients[].firstViewedAtstring (date-time)Sim
share.recipients[].idstring (uuid)Sim
share.recipients[].lastNamenull nos exemplosSim
share.recipients[].lastViewedAtstring (date-time)Sim
share.recipients[].mergedContactIdnull nos exemplosSim
share.recipients[].tokenstringSim
share.recipients[].urlstring (uri)Sim
share.recipients[].viewCountintegerSim
share.urlstring | null (uri)Sim
signatureVerificationnull nos exemplosSim
statusstringSim
titlestring | nullSim
totalAmountintegerSim
updatedAtstring (date-time)Sim
updatedBystring (uuid)Sim
validUntilstring (date-time)Sim
verifySignerEmailbooleanSim
viewCountintegerSim
Exemplo
curl -X PATCH "https://api.firmado.app/v1/deals/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "reference": "…",
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}'

Resposta (200), com valores de exemplo:

{
  "acceptPayments": true,
  "acceptance": {
    "acceptedAt": "2026-11-21T14:00:00.000Z",
    "chosen": {
      "package": {},
      "included": [],
      "addOns": []
    },
    "dealId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "depositAmount": 1,
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "ipAddress": "…",
    "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "selection": {
      "packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "optionalItemIds": []
    },
    "signerEmail": "[email protected]",
    "signerName": "Ana Lima",
    "signerTaxId": "…",
    "totalAmount": 1,
    "userAgent": "…",
    "version": 1,
    "versionHash": "…",
    "versionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "acceptedAt": "2026-11-21T14:00:00.000Z",
  "archived": true,
  "catalogRequestId": null,
  "clientSelection": {
    "optionalItemIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "company": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "content": {
    "items": [
      {}
    ],
    "packages": [
      {}
    ],
    "scope": null,
    "summary": "…",
    "terms": "…"
  },
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "currency": "USD",
  "currentVersion": 1,
  "customProperties": {},
  "declineComment": null,
  "declineReason": null,
  "declinedAt": null,
  "depositPercent": 1,
  "firstViewedAt": "2026-11-21T14:00:00.000Z",
  "hasUnpublishedChanges": true,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "invoice": null,
  "invoiceId": null,
  "language": "…",
  "lastViewedAt": "2026-11-21T14:00:00.000Z",
  "locked": true,
  "notifications": {
    "accepted": true,
    "declined": true,
    "question": true,
    "viewed": true
  },
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "owner": {
    "image": null,
    "memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "paidAt": null,
  "payment": null,
  "paymentDueDate": null,
  "paymentDueDays": null,
  "paymentTerms": "…",
  "primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "publicId": "…",
  "reference": null,
  "reminderSentAt": null,
  "sentAt": "2026-11-21T14:00:00.000Z",
  "share": {
    "channels": [
      {}
    ],
    "recipients": [
      {}
    ],
    "url": "https://example.com"
  },
  "signatureVerification": null,
  "status": "…",
  "title": "…",
  "totalAmount": 1,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "validUntil": "2026-11-21T14:00:00.000Z",
  "verifySignerEmail": true,
  "viewCount": 1
}

GET/v1/deals/{id}/activity

A linha do tempo de uma proposta: enviada, vista, perguntas, aceita ou recusada.

Ler/{id}/activityEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

50 campos
CampoTipoSempre presente
clientSelectionobject | nullSim
clientSelection.optionalItemIdsarray of string (uuid)Sim
clientSelection.packageIdstring (uuid)Sim
eventsarray of objectSim
events[].actorIdstring | null (uuid)Sim
events[].createdAtstring (date-time)Sim
events[].dataobject of anySim
events[].dealIdstring (uuid)Sim
events[].idstring (uuid)Sim
events[].organizationIdstring (uuid)Sim
events[].recipientIdstring | null (uuid)Sim
events[].typestringSim
firstViewedAtstring | null (date-time)Sim
lastViewedAtstring | null (date-time)Sim
recipientsarray of objectSim
recipients[].channelstringSim
recipients[].contactIdstring (uuid)Sim
recipients[].createdAtstring (date-time)Sim
recipients[].firstNamestringSim
recipients[].firstViewedAtstring (date-time)Sim
recipients[].idstring (uuid)Sim
recipients[].lastNamenull nos exemplosSim
recipients[].lastViewedAtstring (date-time)Sim
recipients[].mergedContactIdnull nos exemplosSim
recipients[].tokenstringSim
recipients[].viewCountintegerSim
sectionSecondsobjectSim
sectionSeconds.pricingintegerNão
sectionSeconds.termsintegerNão
totalSecondsintegerSim
versionsarray of objectSim
versions[].createdAtstring (date-time)Sim
versions[].hashstringSim
versions[].supersededAtstring | null (date-time)Sim
versions[].versionintegerSim
viewCountintegerSim
viewsarray of objectSim
views[].dealIdstring (uuid)Sim
views[].durationSecondsintegerSim
views[].idstring (uuid)Sim
views[].ipAddressstringSim
views[].lastSeenAtstring (date-time)Sim
views[].organizationIdstring (uuid)Sim
views[].recipientIdstring (uuid)Sim
views[].sectionSecondsobjectSim
views[].sectionSeconds.pricingintegerNão
views[].sectionSeconds.termsintegerNão
views[].startedAtstring (date-time)Sim
views[].userAgentnull nos exemplosSim
views[].versionintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/deals/{id}/activity" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "viewCount": 1,
  "firstViewedAt": "2026-11-21T14:00:00.000Z",
  "lastViewedAt": "2026-11-21T14:00:00.000Z",
  "totalSeconds": 1,
  "sectionSeconds": {
    "pricing": 1,
    "terms": 1
  },
  "clientSelection": {
    "packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "optionalItemIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ]
  },
  "recipients": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "firstName": "Ana",
      "lastName": null,
      "channel": "…",
      "token": "…",
      "viewCount": 1,
      "firstViewedAt": "2026-11-21T14:00:00.000Z",
      "lastViewedAt": "2026-11-21T14:00:00.000Z",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "mergedContactId": null
    }
  ],
  "versions": [
    {
      "version": 1,
      "hash": "…",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "supersededAt": "2026-11-21T14:00:00.000Z"
    }
  ],
  "views": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "dealId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "version": 1,
      "ipAddress": "…",
      "userAgent": null,
      "durationSeconds": 1,
      "sectionSeconds": {},
      "startedAt": "2026-11-21T14:00:00.000Z",
      "lastSeenAt": "2026-11-21T14:00:00.000Z"
    }
  ],
  "events": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "dealId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "actorId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "data": {},
      "createdAt": "2026-11-21T14:00:00.000Z"
    }
  ]
}

POST/v1/deals/{id}/decline

Marca uma proposta como recusada.

Atualizar/{id}/declineEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
reason"price" | "timeline" | "scope" | "other"Sim
commentstring | nullNão
Exemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/decline" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "price",
  "comment": "…"
}'

POST/v1/deals/{id}/duplicate

Um novo rascunho com o mesmo conteúdo.

Criar/{id}/duplicateEm caso de sucesso: 201.Permissão: Criar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

68 campos
CampoTipoSempre presente
acceptPaymentsbooleanSim
acceptancenull nos exemplosSim
acceptedAtnull nos exemplosSim
archivedbooleanSim
catalogRequestIdnull nos exemplosSim
clientSelectionnull nos exemplosSim
companynull nos exemplosSim
companyIdnull nos exemplosSim
contentobjectSim
content.itemsarray of anySim
content.packagesarray of anySim
content.scopenull nos exemplosSim
content.summarynull nos exemplosSim
content.termsstring | nullSim
createdAtstring (date-time)Sim
createdBystring (uuid)Sim
currencystringSim
currentVersionintegerSim
customPropertiesobject of anySim
declineCommentnull nos exemplosSim
declineReasonnull nos exemplosSim
declinedAtnull nos exemplosSim
depositPercentinteger | nullSim
firstViewedAtnull nos exemplosSim
hasUnpublishedChangesbooleanSim
idstring (uuid)Sim
invoicenull nos exemplosSim
invoiceIdnull nos exemplosSim
languagenull nos exemplosSim
lastViewedAtnull nos exemplosSim
lockedbooleanSim
notificationsobjectSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
notifications.viewedbooleanSim
organizationIdstring (uuid)Sim
ownerobjectSim
owner.imagenull nos exemplosSim
owner.memberIdstring (uuid)Sim
owner.namestringSim
owner.userIdstring (uuid)Sim
ownerIdstring (uuid)Sim
paidAtnull nos exemplosSim
paymentnull nos exemplosSim
paymentDueDatenull nos exemplosSim
paymentDueDaysnull nos exemplosSim
paymentTermsstringSim
primaryContactIdnull nos exemplosSim
publicIdstringSim
referencestring | nullSim
reminderSentAtnull nos exemplosSim
sentAtnull nos exemplosSim
shareobjectSim
share.channelsarray of objectSim
share.channels[].availablebooleanSim
share.channels[].idstringSim
share.recipientsarray of anySim
share.urlnull nos exemplosSim
signatureVerificationnull nos exemplosSim
statusstringSim
titlestringSim
totalAmountintegerSim
updatedAtstring (date-time)Sim
updatedBystring (uuid)Sim
validUntilstring (date-time)Sim
verifySignerEmailbooleanSim
viewCountintegerSim
Exemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/duplicate" \
  -H "X-Api-Key: fmd_..."

Resposta (201), com valores de exemplo:

{
  "acceptPayments": true,
  "acceptance": null,
  "acceptedAt": null,
  "archived": true,
  "catalogRequestId": null,
  "clientSelection": null,
  "company": null,
  "companyId": null,
  "content": {
    "items": [],
    "packages": [],
    "scope": null,
    "summary": null,
    "terms": "…"
  },
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "currency": "USD",
  "currentVersion": 1,
  "customProperties": {},
  "declineComment": null,
  "declineReason": null,
  "declinedAt": null,
  "depositPercent": 1,
  "firstViewedAt": null,
  "hasUnpublishedChanges": true,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "invoice": null,
  "invoiceId": null,
  "language": null,
  "lastViewedAt": null,
  "locked": true,
  "notifications": {
    "accepted": true,
    "declined": true,
    "question": true,
    "viewed": true
  },
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "owner": {
    "image": null,
    "memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "paidAt": null,
  "payment": null,
  "paymentDueDate": null,
  "paymentDueDays": null,
  "paymentTerms": "…",
  "primaryContactId": null,
  "publicId": "…",
  "reference": "…",
  "reminderSentAt": null,
  "sentAt": null,
  "share": {
    "channels": [
      {}
    ],
    "recipients": [],
    "url": null
  },
  "signatureVerification": null,
  "status": "…",
  "title": "…",
  "totalAmount": 1,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "validUntil": "2026-11-21T14:00:00.000Z",
  "verifySignerEmail": true,
  "viewCount": 1
}

GET/v1/deals/{id}/history

Cada mudança nas propriedades de uma proposta, com quem a fez.

Ler/{id}/historyEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Parâmetros da consulta

CampoTipoObrigatórioObservações
fieldstringSimmax length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$

Resposta

13 campos
CampoTipoSempre presente
entriesarray of objectSim
entries[].changedAtstring (date-time)Sim
entries[].changedByobjectSim
entries[].changedBy.idstring (uuid)Sim
entries[].changedBy.namestringSim
entries[].idstring (uuid)Sim
entries[].newLabelstring | nullSim
entries[].newValuestringSim
entries[].oldLabelnull nos exemplosSim
entries[].oldValuestring | nullSim
fieldstringSim
limitintegerSim
totalintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/deals/{id}/history" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "field": "…",
  "limit": 1,
  "total": 1,
  "entries": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "oldValue": "…",
      "newValue": "…",
      "changedAt": "2026-11-21T14:00:00.000Z",
      "oldLabel": null,
      "newLabel": "…",
      "changedBy": {}
    }
  ]
}

GET/v1/deals/{id}/preview

A proposta como o cliente a veria.

Ler/{id}/previewEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

48 campos
CampoTipoSempre presente
selectionobjectSim
selection.optionalItemIdsarray of anySim
selection.packageIdstring | null (uuid)Sim
snapshotobjectSim
snapshot.companyobject | nullSim
snapshot.company.namestringSim
snapshot.contentobjectSim
snapshot.content.itemsarray of objectSim
snapshot.content.items[].descriptionnull nos exemplosSim
snapshot.content.items[].idstring (uuid)Sim
snapshot.content.items[].namestringSim
snapshot.content.items[].optionalbooleanSim
snapshot.content.items[].quantityintegerSim
snapshot.content.items[].serviceIdnull nos exemplosSim
snapshot.content.items[].unitPriceintegerSim
snapshot.content.packagesarray of objectSim
snapshot.content.packages[].descriptionnull nos exemplosSim
snapshot.content.packages[].discountnull nos exemplosSim
snapshot.content.packages[].idstring (uuid)Sim
snapshot.content.packages[].itemsarray of objectSim
snapshot.content.packages[].namestringSim
snapshot.content.packages[].recommendedbooleanSim
snapshot.content.scopenull nos exemplosSim
snapshot.content.summarystring | nullSim
snapshot.content.termsstring | nullSim
snapshot.currencystringSim
snapshot.depositPercentinteger | nullSim
snapshot.languagestringSim
snapshot.organizationobjectSim
snapshot.organization.logonull nos exemplosSim
snapshot.organization.namestringSim
snapshot.referencestring | nullSim
snapshot.templateIdstringSim
snapshot.themeobjectSim
snapshot.theme.accentColorstringSim
snapshot.theme.backgroundColorstringSim
snapshot.theme.bodyFontstringSim
snapshot.theme.cornerRadiusstringSim
snapshot.theme.headingFontstringSim
snapshot.theme.logoUrlstring (uri)Não
snapshot.theme.primaryColorstringSim
snapshot.theme.textColorstringSim
snapshot.titlestring | nullSim
snapshot.validUntilstring (date-time)Sim
totalsobjectSim
totals.depositAmountinteger | nullSim
totals.totalintegerSim
urlstring (uri)Sim
Exemplo
curl -X GET "https://api.firmado.app/v1/deals/{id}/preview" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "selection": {
    "optionalItemIds": [],
    "packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "snapshot": {
    "company": {
      "name": "Ana Lima"
    },
    "content": {
      "items": [],
      "packages": [],
      "scope": null,
      "summary": "…",
      "terms": "…"
    },
    "currency": "USD",
    "depositPercent": 1,
    "language": "…",
    "organization": {
      "logo": null,
      "name": "Ana Lima"
    },
    "reference": "…",
    "templateId": "…",
    "theme": {
      "accentColor": "…",
      "backgroundColor": "…",
      "bodyFont": "…",
      "cornerRadius": "…",
      "headingFont": "…",
      "primaryColor": "…",
      "textColor": "…",
      "logoUrl": "https://example.com"
    },
    "title": "…",
    "validUntil": "2026-11-21T14:00:00.000Z"
  },
  "totals": {
    "depositAmount": 1,
    "total": 1
  },
  "url": "https://example.com"
}

POST/v1/deals/{id}/preview

A proposta como o cliente a veria, com edições não salvas; não salva nada.

Ler/{id}/previewEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
titlestring | nullNão
referencestring | nullNão
companyIdstring (uuid) | nullNão
primaryContactIdstring (uuid) | nullNão
ownerIdstringNãomin length 1
currencystringNãopattern ^[A-Z]{3}$
validUntilstringNãomin length 1
depositPercentinteger | nullNão
language"pt" | "es" | "en" | "fr" | nullNão
contentobjectNão
content.summarystring | nullNão
content.scopestring | nullNão
content.termsstring | nullNão
content.packagesarray of objectNãomax items 3
content.packages[].idstringNãomin length 1 · max length 64
content.packages[].namestringSimmin length 1 · max length 100
content.packages[].descriptionstring | nullNão
content.packages[].recommendedbooleanNãodefault false
content.packages[].itemsarray of objectNãomax items 50
content.packages[].items[].idstringNãomin length 1 · max length 64
content.packages[].items[].serviceIdstring (uuid) | nullNão
content.packages[].items[].namestringSimmin length 1 · max length 200
content.packages[].items[].descriptionstring | nullNão
content.packages[].items[].quantitynumberNãomin 0 · max 100000 · default 1
content.packages[].items[].unitPriceintegerSimmin 0 · max 10000000000000
content.packages[].items[].optionalbooleanNãodefault false
content.packages[].discountobject | nullNão
content.itemsarray of objectNãomax items 100
content.items[].idstringNãomin length 1 · max length 64
content.items[].serviceIdstring (uuid) | nullNão
content.items[].namestringSimmin length 1 · max length 200
content.items[].descriptionstring | nullNão
content.items[].quantitynumberNãomin 0 · max 100000 · default 1
content.items[].unitPriceintegerSimmin 0 · max 10000000000000
content.items[].optionalbooleanNãodefault false
notificationsobjectNão
notifications.viewedbooleanNão
notifications.acceptedbooleanNão
notifications.declinedbooleanNão
notifications.questionbooleanNão
verifySignerEmailbooleanNão
acceptPaymentsbooleanNão
paymentTerms"on_acceptance" | "on_date" | "days_after"Não
paymentDueDatestring (date) | nullNão
paymentDueDaysinteger | nullNão
customPropertiesobject of anyNão
archivedbooleanNão
templateId"classic" | "modern" | "minimal" | "bold"Não
themeobjectNão
theme.primaryColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNãopattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNãopattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nãomax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Não

Resposta

47 campos
CampoTipoSempre presente
selectionobjectSim
selection.optionalItemIdsarray of anySim
selection.packageIdstring | null (uuid)Sim
snapshotobjectSim
snapshot.companyobject | nullSim
snapshot.company.namestringSim
snapshot.contentobjectSim
snapshot.content.itemsarray of objectSim
snapshot.content.items[].descriptionnull nos exemplosSim
snapshot.content.items[].idstring (uuid)Sim
snapshot.content.items[].namestringSim
snapshot.content.items[].optionalbooleanSim
snapshot.content.items[].quantityintegerSim
snapshot.content.items[].serviceIdnull nos exemplosSim
snapshot.content.items[].unitPriceintegerSim
snapshot.content.packagesarray of objectSim
snapshot.content.packages[].descriptionnull nos exemplosSim
snapshot.content.packages[].discountobjectSim
snapshot.content.packages[].idstring (uuid)Sim
snapshot.content.packages[].itemsarray of objectSim
snapshot.content.packages[].namestringSim
snapshot.content.packages[].recommendedbooleanSim
snapshot.content.scopenull nos exemplosSim
snapshot.content.summarynull nos exemplosSim
snapshot.content.termsnull nos exemplosSim
snapshot.currencystringSim
snapshot.depositPercentinteger | nullSim
snapshot.languagestringSim
snapshot.organizationobjectSim
snapshot.organization.logonull nos exemplosSim
snapshot.organization.namestringSim
snapshot.referencenull nos exemplosSim
snapshot.templateIdstringSim
snapshot.themeobjectSim
snapshot.theme.accentColorstringSim
snapshot.theme.backgroundColorstringSim
snapshot.theme.bodyFontstringSim
snapshot.theme.cornerRadiusstringSim
snapshot.theme.headingFontstringSim
snapshot.theme.primaryColorstringSim
snapshot.theme.textColorstringSim
snapshot.titlestringSim
snapshot.validUntilstring (date-time)Sim
totalsobjectSim
totals.depositAmountinteger | nullSim
totals.totalintegerSim
urlstring (uri)Sim
Exemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/preview" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "reference": "…",
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}'

Resposta (200), com valores de exemplo:

{
  "selection": {
    "optionalItemIds": [],
    "packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "snapshot": {
    "company": {
      "name": "Ana Lima"
    },
    "content": {
      "items": [],
      "packages": [],
      "scope": null,
      "summary": null,
      "terms": null
    },
    "currency": "USD",
    "depositPercent": 1,
    "language": "…",
    "organization": {
      "logo": null,
      "name": "Ana Lima"
    },
    "reference": null,
    "templateId": "…",
    "theme": {
      "accentColor": "…",
      "backgroundColor": "…",
      "bodyFont": "…",
      "cornerRadius": "…",
      "headingFont": "…",
      "primaryColor": "…",
      "textColor": "…"
    },
    "title": "…",
    "validUntil": "2026-11-21T14:00:00.000Z"
  },
  "totals": {
    "depositAmount": 1,
    "total": 1
  },
  "url": "https://example.com"
}

GET/v1/deals/{id}/questions

Perguntas que os clientes fizeram na página da proposta, das mais recentes às mais antigas.

Ler/{id}/questionsEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

16 campos
CampoTipoSempre presente
[].answernull nos exemplosSim
[].answerSentTonull nos exemplosSim
[].answeredAtnull nos exemplosSim
[].answeredBynull nos exemplosSim
[].contactobjectSim
[].contact.emailsarray of string (email)Sim
[].contact.idstring (uuid)Sim
[].contact.namestringSim
[].contact.phonesarray of anySim
[].contact.socialProfilesobjectSim
[].createdAtstring (date-time)Sim
[].emailstring (email)Sim
[].fromRecipientLinkbooleanSim
[].idstring (uuid)Sim
[].messagestringSim
[].namestringSim
Exemplo
curl -X GET "https://api.firmado.app/v1/deals/{id}/questions" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

[
  {
    "answer": null,
    "answerSentTo": null,
    "answeredAt": null,
    "answeredBy": null,
    "contact": {
      "emails": [],
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "name": "Ana Lima",
      "phones": [],
      "socialProfiles": {}
    },
    "createdAt": "2026-11-21T14:00:00.000Z",
    "email": "[email protected]",
    "fromRecipientLink": true,
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "message": "…",
    "name": "Ana Lima"
  }
]

PATCH/v1/deals/{id}/questions/{questionId}

Marca a pergunta de um cliente como respondida ou não.

Atualizar/{id}/questions/{questionId}Em caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
questionIdstringSim

Corpo

CampoTipoObrigatórioObservações
answeredbooleanSim

Resposta

16 campos
CampoTipoSempre presente
answernull nos exemplosSim
answerSentTonull nos exemplosSim
answeredAtstring | null (date-time)Sim
answeredBystring | nullSim
contactobjectSim
contact.emailsarray of string (email)Sim
contact.idstring (uuid)Sim
contact.namestringSim
contact.phonesarray of anySim
contact.socialProfilesobjectSim
createdAtstring (date-time)Sim
emailstring (email)Sim
fromRecipientLinkbooleanSim
idstring (uuid)Sim
messagestringSim
namestringSim
Exemplo
curl -X PATCH "https://api.firmado.app/v1/deals/{id}/questions/{questionId}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "answered": true
}'

Resposta (200), com valores de exemplo:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "message": "…",
  "name": "Ana Lima",
  "email": "[email protected]",
  "answeredAt": "2026-11-21T14:00:00.000Z",
  "answer": null,
  "answerSentTo": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "fromRecipientLink": true,
  "answeredBy": "…",
  "contact": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "emails": [
      "[email protected]"
    ],
    "phones": [],
    "socialProfiles": {}
  }
}

POST/v1/deals/{id}/questions/{questionId}/reply

Responde por e-mail a quem fez a pergunta e guarda a resposta com ela.

Atualizar/{id}/questions/{questionId}/replyEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
questionIdstringSim

Corpo

CampoTipoObrigatórioObservações
messagestringSimmin length 1 · max length 5000

Resposta

16 campos
CampoTipoSempre presente
answerstringSim
answerSentTostring (email)Sim
answeredAtstring (date-time)Sim
answeredBystringSim
contactobjectSim
contact.emailsarray of string (email)Sim
contact.idstring (uuid)Sim
contact.namestringSim
contact.phonesarray of anySim
contact.socialProfilesobjectSim
createdAtstring (date-time)Sim
emailstring (email)Sim
fromRecipientLinkbooleanSim
idstring (uuid)Sim
messagestringSim
namestringSim
Exemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/questions/{questionId}/reply" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "message": "…"
}'

Resposta (200), com valores de exemplo:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "message": "…",
  "name": "Ana Lima",
  "email": "[email protected]",
  "answeredAt": "2026-11-21T14:00:00.000Z",
  "answer": "…",
  "answerSentTo": "[email protected]",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "fromRecipientLink": true,
  "answeredBy": "…",
  "contact": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "emails": [
      "[email protected]"
    ],
    "phones": [],
    "socialProfiles": {}
  }
}

POST/v1/deals/{id}/recipients

Adiciona um contato para receber a proposta e retorna o link rastreado dele.

Atualizar/{id}/recipientsEm caso de sucesso: 201.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
contactIdstring (uuid)Sim
channel"link" | "email" | "whatsapp"Nãodefault "link"

Resposta

12 campos
CampoTipoSempre presente
channelstringSim
contactIdstring (uuid)Sim
createdAtstring (date-time)Sim
firstNamestringSim
firstViewedAtnull nos exemplosSim
idstring (uuid)Sim
lastNamestring | nullSim
lastViewedAtnull nos exemplosSim
mergedContactIdnull nos exemplosSim
tokenstringSim
urlstring (uri)Sim
viewCountintegerSim
Exemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/recipients" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "channel": "link"
}'

Resposta (201), com valores de exemplo:

{
  "channel": "…",
  "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "firstName": "Ana",
  "firstViewedAt": null,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "lastName": "Lima",
  "lastViewedAt": null,
  "mergedContactId": null,
  "token": "…",
  "url": "https://example.com",
  "viewCount": 1
}

DELETE/v1/deals/{id}/recipients/{recipientId}

Remove um destinatário; o link dele para de funcionar.

Atualizar/{id}/recipients/{recipientId}Em caso de sucesso: 204.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
recipientIdstringSim
Exemplo
curl -X DELETE "https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}" \
  -H "X-Api-Key: fmd_..."

POST/v1/deals/{id}/reopen

Reabre uma proposta recusada ou expirada, com uma validade futura.

Atualizar/{id}/reopenEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
validUntilstring (date-time) | nullNãodefault null

Resposta

88 campos
CampoTipoSempre presente
acceptPaymentsbooleanSim
acceptancenull nos exemplosSim
acceptedAtnull nos exemplosSim
archivedbooleanSim
catalogRequestIdnull nos exemplosSim
clientSelectionnull nos exemplosSim
companynull nos exemplosSim
companyIdnull nos exemplosSim
contentobjectSim
content.itemsarray of objectSim
content.items[].descriptionnull nos exemplosSim
content.items[].idstring (uuid)Sim
content.items[].namestringSim
content.items[].optionalbooleanSim
content.items[].quantityintegerSim
content.items[].serviceIdnull nos exemplosSim
content.items[].unitPriceintegerSim
content.packagesarray of objectSim
content.packages[].descriptionnull nos exemplosSim
content.packages[].discountnull nos exemplosSim
content.packages[].idstring (uuid)Sim
content.packages[].itemsarray of objectSim
content.packages[].items[].descriptionnull nos exemplosSim
content.packages[].items[].idstring (uuid)Sim
content.packages[].items[].namestringSim
content.packages[].items[].optionalbooleanSim
content.packages[].items[].quantityintegerSim
content.packages[].items[].serviceIdnull nos exemplosSim
content.packages[].items[].unitPriceintegerSim
content.packages[].namestringSim
content.packages[].recommendedbooleanSim
content.scopenull nos exemplosSim
content.summarystringSim
content.termsstringSim
createdAtstring (date-time)Sim
createdBystring (uuid)Sim
currencystringSim
currentVersionintegerSim
customPropertiesobject of anySim
declineCommentnull nos exemplosSim
declineReasonnull nos exemplosSim
declinedAtnull nos exemplosSim
depositPercentintegerSim
firstViewedAtnull nos exemplosSim
hasUnpublishedChangesbooleanSim
idstring (uuid)Sim
invoicenull nos exemplosSim
invoiceIdnull nos exemplosSim
languagenull nos exemplosSim
lastViewedAtnull nos exemplosSim
lockedbooleanSim
notificationsobjectSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
notifications.viewedbooleanSim
organizationIdstring (uuid)Sim
ownerobjectSim
owner.imagenull nos exemplosSim
owner.memberIdstring (uuid)Sim
owner.namestringSim
owner.userIdstring (uuid)Sim
ownerIdstring (uuid)Sim
paidAtnull nos exemplosSim
paymentnull nos exemplosSim
paymentDueDatenull nos exemplosSim
paymentDueDaysnull nos exemplosSim
paymentTermsstringSim
primaryContactIdnull nos exemplosSim
publicIdstringSim
referencenull nos exemplosSim
reminderSentAtnull nos exemplosSim
sentAtstring (date-time)Sim
shareobjectSim
share.channelsarray of objectSim
share.channels[].availablebooleanSim
share.channels[].idstringSim
share.recipientsarray of anySim
share.urlstring (uri)Sim
signatureVerificationnull nos exemplosSim
statusstringSim
titlestringSim
totalAmountintegerSim
updatedAtstring (date-time)Sim
updatedBystring (uuid)Sim
validUntilstring (date-time)Sim
verifySignerEmailbooleanSim
viewCountintegerSim
Exemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/reopen" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "validUntil": "2026-11-21T14:00:00.000Z"
}'

Resposta (200), com valores de exemplo:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "catalogRequestId": null,
  "publicId": "…",
  "title": "…",
  "reference": null,
  "status": "…",
  "companyId": null,
  "primaryContactId": null,
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "language": null,
  "currency": "USD",
  "totalAmount": 1,
  "validUntil": "2026-11-21T14:00:00.000Z",
  "depositPercent": 1,
  "content": {
    "items": [
      {}
    ],
    "scope": null,
    "terms": "…",
    "summary": "…",
    "packages": [
      {}
    ]
  },
  "notifications": {
    "viewed": true,
    "accepted": true,
    "declined": true,
    "question": true
  },
  "verifySignerEmail": true,
  "acceptPayments": true,
  "paymentTerms": "…",
  "paymentDueDate": null,
  "paymentDueDays": null,
  "invoiceId": null,
  "paidAt": null,
  "customProperties": {},
  "currentVersion": 1,
  "hasUnpublishedChanges": true,
  "clientSelection": null,
  "viewCount": 1,
  "sentAt": "2026-11-21T14:00:00.000Z",
  "firstViewedAt": null,
  "lastViewedAt": null,
  "acceptedAt": null,
  "declinedAt": null,
  "declineReason": null,
  "declineComment": null,
  "reminderSentAt": null,
  "archived": 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",
  "signatureVerification": null,
  "owner": {
    "memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "image": null
  },
  "company": null,
  "acceptance": null,
  "payment": null,
  "invoice": null,
  "locked": true,
  "share": {
    "url": "https://example.com",
    "channels": [
      {}
    ],
    "recipients": []
  }
}

POST/v1/deals/{id}/send

Envia a proposta, ou publica o rascunho editado como a próxima versão no mesmo link.

Atualizar/{id}/sendEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

106 campos
CampoTipoSempre presente
acceptPaymentsbooleanSim
acceptancenull nos exemplosSim
acceptedAtnull nos exemplosSim
archivedbooleanSim
catalogRequestIdnull nos exemplosSim
clientSelectionobject | nullSim
clientSelection.optionalItemIdsarray of string (uuid)Sim
clientSelection.packageIdstring (uuid)Sim
companyobject | nullSim
company.idstring (uuid)Sim
company.namestringSim
companyIdstring | null (uuid)Sim
contentobjectSim
content.itemsarray of objectSim
content.items[].descriptionnull nos exemplosSim
content.items[].idstring (uuid)Sim
content.items[].namestringSim
content.items[].optionalbooleanSim
content.items[].quantityintegerSim
content.items[].serviceIdnull nos exemplosSim
content.items[].unitPriceintegerSim
content.packagesarray of objectSim
content.packages[].descriptionnull nos exemplosSim
content.packages[].discountobject | nullSim
content.packages[].discount.typestringSim
content.packages[].discount.valueintegerSim
content.packages[].idstring (uuid)Sim
content.packages[].itemsarray of objectSim
content.packages[].items[].descriptionnull nos exemplosSim
content.packages[].items[].idstring (uuid)Sim
content.packages[].items[].namestringSim
content.packages[].items[].optionalbooleanSim
content.packages[].items[].quantityintegerSim
content.packages[].items[].serviceIdnull nos exemplosSim
content.packages[].items[].unitPriceintegerSim
content.packages[].namestringSim
content.packages[].recommendedbooleanSim
content.scopenull nos exemplosSim
content.summarystring | nullSim
content.termsstring | nullSim
createdAtstring (date-time)Sim
createdBystring (uuid)Sim
currencystringSim
currentVersionintegerSim
customPropertiesobject of anySim
declineCommentnull nos exemplosSim
declineReasonnull nos exemplosSim
declinedAtnull nos exemplosSim
depositPercentinteger | nullSim
firstViewedAtstring | null (date-time)Sim
hasUnpublishedChangesbooleanSim
idstring (uuid)Sim
invoicenull nos exemplosSim
invoiceIdnull nos exemplosSim
languagenull nos exemplosSim
lastViewedAtstring | null (date-time)Sim
lockedbooleanSim
notificationsobjectSim
notifications.acceptedbooleanSim
notifications.declinedbooleanSim
notifications.questionbooleanSim
notifications.viewedbooleanSim
organizationIdstring (uuid)Sim
ownerobjectSim
owner.imagenull nos exemplosSim
owner.memberIdstring (uuid)Sim
owner.namestringSim
owner.userIdstring (uuid)Sim
ownerIdstring (uuid)Sim
paidAtnull nos exemplosSim
paymentnull nos exemplosSim
paymentDueDatenull nos exemplosSim
paymentDueDaysinteger | nullSim
paymentTermsstringSim
primaryContactIdstring | null (uuid)Sim
publicIdstringSim
referencenull nos exemplosSim
reminderSentAtnull nos exemplosSim
sentAtstring (date-time)Sim
shareobjectSim
share.channelsarray of objectSim
share.channels[].availablebooleanSim
share.channels[].idstringSim
share.recipientsarray of objectSim
share.recipients[].channelstringSim
share.recipients[].contactIdstring (uuid)Sim
share.recipients[].createdAtstring (date-time)Sim
share.recipients[].firstNamestringSim
share.recipients[].firstViewedAtstring (date-time)Sim
share.recipients[].idstring (uuid)Sim
share.recipients[].lastNamenull nos exemplosSim
share.recipients[].lastViewedAtstring (date-time)Sim
share.recipients[].mergedContactIdnull nos exemplosSim
share.recipients[].tokenstringSim
share.recipients[].urlstring (uri)Sim
share.recipients[].viewCountintegerSim
share.urlstring (uri)Sim
signatureVerificationnull nos exemplosSim
statusstringSim
titlestringSim
totalAmountintegerSim
updatedAtstring (date-time)Sim
updatedBystring (uuid)Sim
validUntilstring (date-time)Sim
verifySignerEmailbooleanSim
viewCountintegerSim
Exemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/send" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "acceptPayments": true,
  "acceptance": null,
  "acceptedAt": null,
  "archived": true,
  "catalogRequestId": null,
  "clientSelection": {
    "optionalItemIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "company": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima"
  },
  "companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "content": {
    "items": [
      {}
    ],
    "packages": [
      {}
    ],
    "scope": null,
    "summary": "…",
    "terms": "…"
  },
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "currency": "USD",
  "currentVersion": 1,
  "customProperties": {},
  "declineComment": null,
  "declineReason": null,
  "declinedAt": null,
  "depositPercent": 1,
  "firstViewedAt": "2026-11-21T14:00:00.000Z",
  "hasUnpublishedChanges": true,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "invoice": null,
  "invoiceId": null,
  "language": null,
  "lastViewedAt": "2026-11-21T14:00:00.000Z",
  "locked": true,
  "notifications": {
    "accepted": true,
    "declined": true,
    "question": true,
    "viewed": true
  },
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "owner": {
    "image": null,
    "memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "paidAt": null,
  "payment": null,
  "paymentDueDate": null,
  "paymentDueDays": 1,
  "paymentTerms": "…",
  "primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "publicId": "…",
  "reference": null,
  "reminderSentAt": null,
  "sentAt": "2026-11-21T14:00:00.000Z",
  "share": {
    "channels": [
      {}
    ],
    "recipients": [
      {}
    ],
    "url": "https://example.com"
  },
  "signatureVerification": null,
  "status": "…",
  "title": "…",
  "totalAmount": 1,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "validUntil": "2026-11-21T14:00:00.000Z",
  "verifySignerEmail": true,
  "viewCount": 1
}

POST/v1/deals/{id}/signature/resend

Envia a quem assina um novo link para confirmar o e-mail.

Atualizar/{id}/signature/resendEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

6 campos
CampoTipoSempre presente
emailstring (email)Sim
sendCountintegerSim
sentAtstring (date-time)Sim
verifiedAtnull nos exemplosSim
verifiedIpnull nos exemplosSim
verifiedUserAgentnull nos exemplosSim
Exemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/signature/resend" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "email": "[email protected]",
  "sentAt": "2026-11-21T14:00:00.000Z",
  "sendCount": 1,
  "verifiedAt": null,
  "verifiedIp": null,
  "verifiedUserAgent": null
}

GET/v1/deals/board

Propostas agrupadas por status, para um quadro.

Ler/boardEm caso de sucesso: 200.Permissão: Ler.

Parâmetros da consulta

CampoTipoObrigatórioObservações
qstringNãomin length 1 · max length 200
ownerIdstringNão
companyIdstring (uuid)Não
contactIdstring (uuid)Não
dueFromstring (date-time)Não
dueBeforestring (date-time)Não

Resposta

26 campos
CampoTipoSempre presente
columnsarray of objectSim
columns[].amountintegerSim
columns[].countintegerSim
columns[].dealsarray of objectSim
columns[].deals[].acceptedAtnull nos exemplosSim
columns[].deals[].archivedbooleanSim
columns[].deals[].companyIdstring | null (uuid)Sim
columns[].deals[].companyNamestring | nullSim
columns[].deals[].createdAtstring (date-time)Sim
columns[].deals[].currencystringSim
columns[].deals[].hasUnpublishedChangesbooleanSim
columns[].deals[].idstring (uuid)Sim
columns[].deals[].lastViewedAtnull nos exemplosSim
columns[].deals[].ownerIdstring (uuid)Sim
columns[].deals[].ownerImagenull nos exemplosSim
columns[].deals[].ownerNamestringSim
columns[].deals[].paidAtnull nos exemplosSim
columns[].deals[].referencenull nos exemplosSim
columns[].deals[].sentAtstring | null (date-time)Sim
columns[].deals[].statusstringSim
columns[].deals[].titlestringSim
columns[].deals[].totalAmountintegerSim
columns[].deals[].updatedAtstring (date-time)Sim
columns[].deals[].validUntilstring (date-time)Sim
columns[].deals[].viewCountintegerSim
columns[].statusstringSim
Exemplo
curl -X GET "https://api.firmado.app/v1/deals/board" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "columns": [
    {
      "amount": 1,
      "count": 1,
      "deals": [],
      "status": "…"
    }
  ]
}

Eventos de webhook

Mudanças desta funcionalidade que os webhooks podem enviar.

  • deal.createdCriar
  • deal.updatedAtualizar
  • deal.sentAtualizar
  • deal.viewedAtualizar
  • deal.questionAtualizar
  • deal.acceptedAtualizar
  • deal.declinedAtualizar
  • deal.expiredAtualizar
  • deal.paidAtualizar
  • deal.deletedExcluir