Propositions

Propositions : contenu, formules, destinataires, envoi, statut et questions des clients.

Valeurs des exemples

Saisissez-les une fois : tous les exemples de cette page les utilisent. La clé d’API reste sur cette page et n’est jamais enregistrée.

GET/v1/deal-defaults

Ce avec quoi commencent les nouvelles propositions : validité, textes et réglages.

ListerEn cas de succès : 200.Permission : Lire.

Réponse

19 champs
ChampTypeToujours présent
acceptPaymentsbooleanOui
currencystringOui
depositPercentinteger | nullOui
nextReferencestring | nullOui
notificationsobjectOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
notifications.viewedbooleanOui
paymentDueDaysnull dans les exemplesOui
paymentTermsstringOui
referenceobjectOui
reference.autobooleanOui
reference.digitsintegerOui
reference.nextintegerOui
reference.prefixstringOui
termsstring | nullOui
validityDaysintegerOui
verifySignerEmailbooleanOui
Exemple
curl -X GET "https://api.firmado.app/v1/deal-defaults" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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

Modifie ce avec quoi commencent les nouvelles propositions.

Modifier/En cas de succès : 200.Permission : Modifier.

Corps

ChampTypeObligatoireNotes
currencystringOuipattern ^[A-Z]{3}$
validityDaysintegerOuimin 1 · max 365
depositPercentinteger | nullOui
termsstring | nullOui
notificationsobjectOui
notifications.viewedbooleanOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
verifySignerEmailbooleanNondefault false
acceptPaymentsbooleanNondefault false
paymentTerms"on_acceptance" | "days_after"Nondefault "on_acceptance"
paymentDueDaysinteger | nullNondefault null
referenceobjectOui
reference.autobooleanOui
reference.prefixstringOuimax length 20
reference.digitsintegerOuimin 1 · max 8
reference.nextintegerOuimin 1 · max 999999999

Réponse

19 champs
ChampTypeToujours présent
acceptPaymentsbooleanOui
currencystringOui
depositPercentintegerOui
nextReferencestringOui
notificationsobjectOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
notifications.viewedbooleanOui
paymentDueDaysnull dans les exemplesOui
paymentTermsstringOui
referenceobjectOui
reference.autobooleanOui
reference.digitsintegerOui
reference.nextintegerOui
reference.prefixstringOui
termsstringOui
validityDaysintegerOui
verifySignerEmailbooleanOui
Exemple
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
  }
}'

Réponse (200), avec des valeurs d’exemple :

{
  "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

Liste les modèles de proposition pour démarrer une proposition.

ListerEn cas de succès : 200.Permission : Lire.

Réponse

11 champs
ChampTypeToujours présent
[].descriptionstringOui
[].idstringOui
[].namestringOui
[].themeobjectOui
[].theme.accentColorstringOui
[].theme.backgroundColorstringOui
[].theme.bodyFontstringOui
[].theme.cornerRadiusstringOui
[].theme.headingFontstringOui
[].theme.primaryColorstringOui
[].theme.textColorstringOui
Exemple
curl -X GET "https://api.firmado.app/v1/deal-templates" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

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

GET/v1/deals

Liste et recherche les propositions, par statut, responsable, contact ou date.

ListerEn cas de succès : 200.Permission : Lire.

Paramètres de requête

ChampTypeObligatoireNotes
pageintegerNonmin 1 · default 1
pageSizeintegerNonmin 1 · max 100 · default 25
qstringNonmin length 1 · max length 200
archivedstringNon
statusarray of "draft" | "sent" | "viewed" | "negotiating" | "accepted" | "declined" | "expired" | "paid"Nonmax items 8
companyIdstring (uuid)Non
ownerIdstringNon
contactIdstring (uuid)Non
dueFromstring (date-time)Non
dueBeforestring (date-time)Non
sort"createdAt" | "updatedAt" | "title" | "totalAmount" | "validUntil" | "viewCount"Nondefault "createdAt"
order"asc" | "desc"Nondefault "desc"

Réponse

25 champs
ChampTypeToujours présent
dataarray of objectOui
data[].acceptedAtstring | null (date-time)Oui
data[].archivedbooleanOui
data[].companyIdstring | null (uuid)Oui
data[].companyNamestring | nullOui
data[].createdAtstring (date-time)Oui
data[].currencystringOui
data[].hasUnpublishedChangesbooleanOui
data[].idstring (uuid)Oui
data[].lastViewedAtstring | null (date-time)Oui
data[].ownerIdstring (uuid)Oui
data[].ownerImagenull dans les exemplesOui
data[].ownerNamestringOui
data[].paidAtstring | null (date-time)Oui
data[].referencestring | nullOui
data[].sentAtstring | null (date-time)Oui
data[].statusstringOui
data[].titlestringOui
data[].totalAmountintegerOui
data[].updatedAtstring (date-time)Oui
data[].validUntilstring (date-time)Oui
data[].viewCountintegerOui
pageintegerOui
pageSizeintegerOui
totalintegerOui
Exemple
curl -X GET "https://api.firmado.app/v1/deals" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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

Crée un brouillon de proposition.

CréerEn cas de succès : 201.Permission : Créer.

Corps

ChampTypeObligatoireNotes
titlestring | nullNon
referencestring | nullNon
companyIdstring (uuid) | nullNon
primaryContactIdstring (uuid) | nullNon
ownerIdstringNonmin length 1
currencystringNonpattern ^[A-Z]{3}$
validUntilstringNonmin length 1
depositPercentinteger | nullNon
language"pt" | "es" | "en" | "fr" | nullNon
contentobjectNon
content.summarystring | nullNon
content.scopestring | nullNon
content.termsstring | nullNon
content.packagesarray of objectNonmax items 3
content.packages[].idstringNonmin length 1 · max length 64
content.packages[].namestringOuimin length 1 · max length 100
content.packages[].descriptionstring | nullNon
content.packages[].recommendedbooleanNondefault false
content.packages[].itemsarray of objectNonmax items 50
content.packages[].items[].idstringNonmin length 1 · max length 64
content.packages[].items[].serviceIdstring (uuid) | nullNon
content.packages[].items[].namestringOuimin length 1 · max length 200
content.packages[].items[].descriptionstring | nullNon
content.packages[].items[].quantitynumberNonmin 0 · max 100000 · default 1
content.packages[].items[].unitPriceintegerOuimin 0 · max 10000000000000
content.packages[].items[].optionalbooleanNondefault false
content.packages[].discountobject | nullNon
content.itemsarray of objectNonmax items 100
content.items[].idstringNonmin length 1 · max length 64
content.items[].serviceIdstring (uuid) | nullNon
content.items[].namestringOuimin length 1 · max length 200
content.items[].descriptionstring | nullNon
content.items[].quantitynumberNonmin 0 · max 100000 · default 1
content.items[].unitPriceintegerOuimin 0 · max 10000000000000
content.items[].optionalbooleanNondefault false
notificationsobjectNon
notifications.viewedbooleanNon
notifications.acceptedbooleanNon
notifications.declinedbooleanNon
notifications.questionbooleanNon
verifySignerEmailbooleanNon
acceptPaymentsbooleanNon
paymentTerms"on_acceptance" | "on_date" | "days_after"Non
paymentDueDatestring (date) | nullNon
paymentDueDaysinteger | nullNon
customPropertiesobject of anyNon
archivedbooleanNon

Réponse

92 champs
ChampTypeToujours présent
acceptPaymentsbooleanOui
acceptancenull dans les exemplesOui
acceptedAtnull dans les exemplesOui
archivedbooleanOui
catalogRequestIdnull dans les exemplesOui
clientSelectionnull dans les exemplesOui
companyobject | nullOui
company.idstring (uuid)Oui
company.namestringOui
companyIdstring | null (uuid)Oui
contentobjectOui
content.itemsarray of objectOui
content.items[].descriptionnull dans les exemplesOui
content.items[].idstring (uuid)Oui
content.items[].namestringOui
content.items[].optionalbooleanOui
content.items[].quantityintegerOui
content.items[].serviceIdstring | null (uuid)Oui
content.items[].unitPriceintegerOui
content.packagesarray of objectOui
content.packages[].descriptionnull dans les exemplesOui
content.packages[].discountobject | nullOui
content.packages[].discount.typestringOui
content.packages[].discount.valueintegerOui
content.packages[].idstring (uuid)Oui
content.packages[].itemsarray of objectOui
content.packages[].items[].descriptionnull dans les exemplesOui
content.packages[].items[].idstring (uuid)Oui
content.packages[].items[].namestringOui
content.packages[].items[].optionalbooleanOui
content.packages[].items[].quantityintegerOui
content.packages[].items[].serviceIdnull dans les exemplesOui
content.packages[].items[].unitPriceintegerOui
content.packages[].namestringOui
content.packages[].recommendedbooleanOui
content.scopenull dans les exemplesOui
content.summarystring | nullOui
content.termsstring | nullOui
createdAtstring (date-time)Oui
createdBystring | null (uuid)Oui
currencystringOui
currentVersionintegerOui
customPropertiesobject of anyOui
declineCommentnull dans les exemplesOui
declineReasonnull dans les exemplesOui
declinedAtnull dans les exemplesOui
depositPercentinteger | nullOui
firstViewedAtnull dans les exemplesOui
hasUnpublishedChangesbooleanOui
idstring (uuid)Oui
invoicenull dans les exemplesOui
invoiceIdnull dans les exemplesOui
languagestring | nullOui
lastViewedAtnull dans les exemplesOui
lockedbooleanOui
notificationsobjectOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
notifications.viewedbooleanOui
organizationIdstring (uuid)Oui
ownerobjectOui
owner.imagenull dans les exemplesOui
owner.memberIdstring (uuid)Oui
owner.namestringOui
owner.userIdstring (uuid)Oui
ownerIdstring (uuid)Oui
paidAtnull dans les exemplesOui
paymentnull dans les exemplesOui
paymentDueDatenull dans les exemplesOui
paymentDueDaysinteger | nullOui
paymentTermsstringOui
primaryContactIdstring | null (uuid)Oui
publicIdstringOui
referencestring | nullOui
reminderSentAtnull dans les exemplesOui
sentAtnull dans les exemplesOui
shareobjectOui
share.channelsarray of objectOui
share.channels[].availablebooleanOui
share.channels[].idstringOui
share.recipientsarray of anyOui
share.urlnull dans les exemplesOui
signatureVerificationnull dans les exemplesOui
statusstringOui
titlestring | nullOui
totalAmountintegerOui
updatedAtstring (date-time)Oui
updatedBystring | null (uuid)Oui
validUntilstring (date-time)Oui
verifySignerEmailbooleanOui
viewCountintegerOui
Exemple
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"
}'

Réponse (201), avec des valeurs d’exemple :

{
  "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}

Supprime une proposition.

SupprimerEn cas de succès : 204.Permission : Supprimer.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui
Exemple
curl -X DELETE "https://api.firmado.app/v1/deals/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/deals/{id}

Renvoie une proposition avec son contenu, ses formules, ses destinataires et son statut.

Voir unEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Réponse

160 champs
ChampTypeToujours présent
acceptPaymentsbooleanOui
acceptanceobject | nullOui
acceptance.acceptedAtstring (date-time)Oui
acceptance.chosenobjectOui
acceptance.chosen.addOnsarray of objectOui
acceptance.chosen.addOns[].idstring (uuid)Oui
acceptance.chosen.addOns[].namestringOui
acceptance.chosen.addOns[].totalintegerOui
acceptance.chosen.includedarray of objectOui
acceptance.chosen.included[].idstring (uuid)Oui
acceptance.chosen.included[].namestringOui
acceptance.chosen.included[].totalintegerOui
acceptance.chosen.packageobjectOui
acceptance.chosen.package.idstring (uuid)Oui
acceptance.chosen.package.itemsarray of objectOui
acceptance.chosen.package.namestringOui
acceptance.chosen.package.totalintegerOui
acceptance.dealIdstring (uuid)Oui
acceptance.depositAmountinteger | nullOui
acceptance.idstring (uuid)Oui
acceptance.ipAddressstringOui
acceptance.organizationIdstring (uuid)Oui
acceptance.recipientIdstring | null (uuid)Oui
acceptance.selectionobjectOui
acceptance.selection.optionalItemIdsarray of string (uuid)Oui
acceptance.selection.packageIdstring (uuid)Oui
acceptance.signerEmailstring | null (email)Oui
acceptance.signerNamestringOui
acceptance.signerTaxIdstringOui
acceptance.totalAmountintegerOui
acceptance.userAgentstring | nullOui
acceptance.versionintegerOui
acceptance.versionHashstringOui
acceptance.versionIdstring (uuid)Oui
acceptedAtstring | null (date-time)Oui
archivedbooleanOui
catalogRequestIdnull dans les exemplesOui
clientSelectionobject | nullOui
clientSelection.optionalItemIdsarray of string (uuid)Oui
clientSelection.packageIdstring (uuid)Oui
companyobject | nullOui
company.idstring (uuid)Oui
company.namestringOui
companyIdstring | null (uuid)Oui
contentobjectOui
content.itemsarray of objectOui
content.items[].descriptionnull dans les exemplesOui
content.items[].idstring (uuid)Oui
content.items[].namestringOui
content.items[].optionalbooleanOui
content.items[].quantityintegerOui
content.items[].serviceIdnull dans les exemplesOui
content.items[].unitPriceintegerOui
content.packagesarray of objectOui
content.packages[].descriptionnull dans les exemplesOui
content.packages[].discountobject | nullOui
content.packages[].discount.typestringOui
content.packages[].discount.valueintegerOui
content.packages[].idstring (uuid)Oui
content.packages[].itemsarray of objectOui
content.packages[].items[].descriptionnull dans les exemplesOui
content.packages[].items[].idstring (uuid)Oui
content.packages[].items[].namestringOui
content.packages[].items[].optionalbooleanOui
content.packages[].items[].quantityintegerOui
content.packages[].items[].serviceIdnull dans les exemplesOui
content.packages[].items[].unitPriceintegerOui
content.packages[].namestringOui
content.packages[].recommendedbooleanOui
content.scopenull dans les exemplesOui
content.summarystring | nullOui
content.termsstring | nullOui
createdAtstring (date-time)Oui
createdBystring (uuid)Oui
currencystringOui
currentVersionintegerOui
customPropertiesobject of anyOui
declineCommentstring | nullOui
declineReasonstring | nullOui
declinedAtstring | null (date-time)Oui
depositPercentinteger | nullOui
firstViewedAtstring | null (date-time)Oui
hasUnpublishedChangesbooleanOui
idstring (uuid)Oui
invoiceobject | nullOui
invoice.currencystringOui
invoice.dueDatestring (date)Oui
invoice.idstring (uuid)Oui
invoice.numberstringOui
invoice.paidAtstring | null (date-time)Oui
invoice.statusstringOui
invoice.totalintegerOui
invoiceIdstring | null (uuid)Oui
languagenull dans les exemplesOui
lastViewedAtstring | null (date-time)Oui
lockedbooleanOui
notificationsobjectOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
notifications.viewedbooleanOui
organizationIdstring (uuid)Oui
ownerobjectOui
owner.imagenull dans les exemplesOui
owner.memberIdstring (uuid)Oui
owner.namestringOui
owner.userIdstring (uuid)Oui
ownerIdstring (uuid)Oui
paidAtstring | null (date-time)Oui
paymentobject | nullOui
payment.amountintegerOui
payment.applicationFeeintegerOui
payment.createdAtstring (date-time)Oui
payment.currencystringOui
payment.idstring (uuid)Oui
payment.paidAtstring (date-time)Oui
payment.payerEmailstring (email)Oui
payment.payerNamestringOui
payment.statusstringOui
paymentDueDatenull dans les exemplesOui
paymentDueDaysnull dans les exemplesOui
paymentTermsstringOui
primaryContactIdstring | null (uuid)Oui
publicIdstringOui
referencenull dans les exemplesOui
reminderSentAtnull dans les exemplesOui
sentAtstring | null (date-time)Oui
shareobjectOui
share.channelsarray of objectOui
share.channels[].availablebooleanOui
share.channels[].idstringOui
share.recipientsarray of objectOui
share.recipients[].channelstringOui
share.recipients[].contactIdstring (uuid)Oui
share.recipients[].createdAtstring (date-time)Oui
share.recipients[].firstNamestringOui
share.recipients[].firstViewedAtstring | null (date-time)Oui
share.recipients[].idstring (uuid)Oui
share.recipients[].lastNamenull dans les exemplesOui
share.recipients[].lastViewedAtstring | null (date-time)Oui
share.recipients[].mergedContactIdnull dans les exemplesOui
share.recipients[].tokenstringOui
share.recipients[].urlstring (uri)Oui
share.recipients[].viewCountintegerOui
share.urlstring | null (uri)Oui
signatureVerificationobject | nullOui
signatureVerification.emailstring (email)Oui
signatureVerification.sendCountintegerOui
signatureVerification.sentAtstring (date-time)Oui
signatureVerification.verifiedAtstring | null (date-time)Oui
signatureVerification.verifiedIpstring | nullOui
signatureVerification.verifiedUserAgentnull dans les exemplesOui
statusstringOui
titlestringOui
totalAmountintegerOui
updatedAtstring (date-time)Oui
updatedBystring (uuid)Oui
validUntilstring (date-time)Oui
verifySignerEmailbooleanOui
viewCountintegerOui
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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}

Modifie un brouillon de proposition : contenu, articles, formules, client et réglages.

ModifierEn cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
titlestring | nullNon
referencestring | nullNon
companyIdstring (uuid) | nullNon
primaryContactIdstring (uuid) | nullNon
ownerIdstringNonmin length 1
currencystringNonpattern ^[A-Z]{3}$
validUntilstringNonmin length 1
depositPercentinteger | nullNon
language"pt" | "es" | "en" | "fr" | nullNon
contentobjectNon
content.summarystring | nullNon
content.scopestring | nullNon
content.termsstring | nullNon
content.packagesarray of objectNonmax items 3
content.packages[].idstringNonmin length 1 · max length 64
content.packages[].namestringOuimin length 1 · max length 100
content.packages[].descriptionstring | nullNon
content.packages[].recommendedbooleanNondefault false
content.packages[].itemsarray of objectNonmax items 50
content.packages[].items[].idstringNonmin length 1 · max length 64
content.packages[].items[].serviceIdstring (uuid) | nullNon
content.packages[].items[].namestringOuimin length 1 · max length 200
content.packages[].items[].descriptionstring | nullNon
content.packages[].items[].quantitynumberNonmin 0 · max 100000 · default 1
content.packages[].items[].unitPriceintegerOuimin 0 · max 10000000000000
content.packages[].items[].optionalbooleanNondefault false
content.packages[].discountobject | nullNon
content.itemsarray of objectNonmax items 100
content.items[].idstringNonmin length 1 · max length 64
content.items[].serviceIdstring (uuid) | nullNon
content.items[].namestringOuimin length 1 · max length 200
content.items[].descriptionstring | nullNon
content.items[].quantitynumberNonmin 0 · max 100000 · default 1
content.items[].unitPriceintegerOuimin 0 · max 10000000000000
content.items[].optionalbooleanNondefault false
notificationsobjectNon
notifications.viewedbooleanNon
notifications.acceptedbooleanNon
notifications.declinedbooleanNon
notifications.questionbooleanNon
verifySignerEmailbooleanNon
acceptPaymentsbooleanNon
paymentTerms"on_acceptance" | "on_date" | "days_after"Non
paymentDueDatestring (date) | nullNon
paymentDueDaysinteger | nullNon
customPropertiesobject of anyNon
archivedbooleanNon

Réponse

136 champs
ChampTypeToujours présent
acceptPaymentsbooleanOui
acceptanceobject | nullOui
acceptance.acceptedAtstring (date-time)Oui
acceptance.chosenobjectOui
acceptance.chosen.addOnsarray of objectOui
acceptance.chosen.addOns[].idstring (uuid)Oui
acceptance.chosen.addOns[].namestringOui
acceptance.chosen.addOns[].totalintegerOui
acceptance.chosen.includedarray of objectOui
acceptance.chosen.included[].idstring (uuid)Oui
acceptance.chosen.included[].namestringOui
acceptance.chosen.included[].totalintegerOui
acceptance.chosen.packageobjectOui
acceptance.chosen.package.idstring (uuid)Oui
acceptance.chosen.package.itemsarray of objectOui
acceptance.chosen.package.namestringOui
acceptance.chosen.package.totalintegerOui
acceptance.dealIdstring (uuid)Oui
acceptance.depositAmountintegerOui
acceptance.idstring (uuid)Oui
acceptance.ipAddressstringOui
acceptance.organizationIdstring (uuid)Oui
acceptance.recipientIdstring (uuid)Oui
acceptance.selectionobjectOui
acceptance.selection.optionalItemIdsarray of string (uuid)Oui
acceptance.selection.packageIdstring (uuid)Oui
acceptance.signerEmailstring (email)Oui
acceptance.signerNamestringOui
acceptance.signerTaxIdstringOui
acceptance.totalAmountintegerOui
acceptance.userAgentstringOui
acceptance.versionintegerOui
acceptance.versionHashstringOui
acceptance.versionIdstring (uuid)Oui
acceptedAtstring | null (date-time)Oui
archivedbooleanOui
catalogRequestIdnull dans les exemplesOui
clientSelectionobject | nullOui
clientSelection.optionalItemIdsarray of string (uuid)Oui
clientSelection.packageIdstring (uuid)Oui
companyobject | nullOui
company.idstring (uuid)Oui
company.namestringOui
companyIdstring | null (uuid)Oui
contentobjectOui
content.itemsarray of objectOui
content.items[].descriptionnull dans les exemplesOui
content.items[].idstring (uuid)Oui
content.items[].namestringOui
content.items[].optionalbooleanOui
content.items[].quantityintegerOui
content.items[].serviceIdnull dans les exemplesOui
content.items[].unitPriceintegerOui
content.packagesarray of objectOui
content.packages[].descriptionnull dans les exemplesOui
content.packages[].discountnull dans les exemplesOui
content.packages[].idstring (uuid)Oui
content.packages[].itemsarray of objectOui
content.packages[].items[].descriptionnull dans les exemplesOui
content.packages[].items[].idstring (uuid)Oui
content.packages[].items[].namestringOui
content.packages[].items[].optionalbooleanOui
content.packages[].items[].quantityintegerOui
content.packages[].items[].serviceIdnull dans les exemplesOui
content.packages[].items[].unitPriceintegerOui
content.packages[].namestringOui
content.packages[].recommendedbooleanOui
content.scopenull dans les exemplesOui
content.summarystring | nullOui
content.termsstring | nullOui
createdAtstring (date-time)Oui
createdBystring (uuid)Oui
currencystringOui
currentVersionintegerOui
customPropertiesobject of anyOui
declineCommentnull dans les exemplesOui
declineReasonnull dans les exemplesOui
declinedAtnull dans les exemplesOui
depositPercentinteger | nullOui
firstViewedAtstring | null (date-time)Oui
hasUnpublishedChangesbooleanOui
idstring (uuid)Oui
invoicenull dans les exemplesOui
invoiceIdnull dans les exemplesOui
languagestring | nullOui
lastViewedAtstring | null (date-time)Oui
lockedbooleanOui
notificationsobjectOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
notifications.viewedbooleanOui
organizationIdstring (uuid)Oui
ownerobjectOui
owner.imagenull dans les exemplesOui
owner.memberIdstring (uuid)Oui
owner.namestringOui
owner.userIdstring (uuid)Oui
ownerIdstring (uuid)Oui
paidAtnull dans les exemplesOui
paymentnull dans les exemplesOui
paymentDueDatenull dans les exemplesOui
paymentDueDaysnull dans les exemplesOui
paymentTermsstringOui
primaryContactIdstring | null (uuid)Oui
publicIdstringOui
referencenull dans les exemplesOui
reminderSentAtnull dans les exemplesOui
sentAtstring | null (date-time)Oui
shareobjectOui
share.channelsarray of objectOui
share.channels[].availablebooleanOui
share.channels[].idstringOui
share.recipientsarray of objectOui
share.recipients[].channelstringOui
share.recipients[].contactIdstring (uuid)Oui
share.recipients[].createdAtstring (date-time)Oui
share.recipients[].firstNamestringOui
share.recipients[].firstViewedAtstring (date-time)Oui
share.recipients[].idstring (uuid)Oui
share.recipients[].lastNamenull dans les exemplesOui
share.recipients[].lastViewedAtstring (date-time)Oui
share.recipients[].mergedContactIdnull dans les exemplesOui
share.recipients[].tokenstringOui
share.recipients[].urlstring (uri)Oui
share.recipients[].viewCountintegerOui
share.urlstring | null (uri)Oui
signatureVerificationnull dans les exemplesOui
statusstringOui
titlestring | nullOui
totalAmountintegerOui
updatedAtstring (date-time)Oui
updatedBystring (uuid)Oui
validUntilstring (date-time)Oui
verifySignerEmailbooleanOui
viewCountintegerOui
Exemple
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"
}'

Réponse (200), avec des valeurs d’exemple :

{
  "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

La chronologie d’une proposition : envoyée, vue, questions, acceptée ou refusée.

Lire/{id}/activityEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Réponse

50 champs
ChampTypeToujours présent
clientSelectionobject | nullOui
clientSelection.optionalItemIdsarray of string (uuid)Oui
clientSelection.packageIdstring (uuid)Oui
eventsarray of objectOui
events[].actorIdstring | null (uuid)Oui
events[].createdAtstring (date-time)Oui
events[].dataobject of anyOui
events[].dealIdstring (uuid)Oui
events[].idstring (uuid)Oui
events[].organizationIdstring (uuid)Oui
events[].recipientIdstring | null (uuid)Oui
events[].typestringOui
firstViewedAtstring | null (date-time)Oui
lastViewedAtstring | null (date-time)Oui
recipientsarray of objectOui
recipients[].channelstringOui
recipients[].contactIdstring (uuid)Oui
recipients[].createdAtstring (date-time)Oui
recipients[].firstNamestringOui
recipients[].firstViewedAtstring (date-time)Oui
recipients[].idstring (uuid)Oui
recipients[].lastNamenull dans les exemplesOui
recipients[].lastViewedAtstring (date-time)Oui
recipients[].mergedContactIdnull dans les exemplesOui
recipients[].tokenstringOui
recipients[].viewCountintegerOui
sectionSecondsobjectOui
sectionSeconds.pricingintegerNon
sectionSeconds.termsintegerNon
totalSecondsintegerOui
versionsarray of objectOui
versions[].createdAtstring (date-time)Oui
versions[].hashstringOui
versions[].supersededAtstring | null (date-time)Oui
versions[].versionintegerOui
viewCountintegerOui
viewsarray of objectOui
views[].dealIdstring (uuid)Oui
views[].durationSecondsintegerOui
views[].idstring (uuid)Oui
views[].ipAddressstringOui
views[].lastSeenAtstring (date-time)Oui
views[].organizationIdstring (uuid)Oui
views[].recipientIdstring (uuid)Oui
views[].sectionSecondsobjectOui
views[].sectionSeconds.pricingintegerNon
views[].sectionSeconds.termsintegerNon
views[].startedAtstring (date-time)Oui
views[].userAgentnull dans les exemplesOui
views[].versionintegerOui
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}/activity" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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

Marque une proposition comme refusée.

Modifier/{id}/declineEn cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
reason"price" | "timeline" | "scope" | "other"Oui
commentstring | nullNon
Exemple
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

Un nouveau brouillon avec le même contenu.

Créer/{id}/duplicateEn cas de succès : 201.Permission : Créer.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Réponse

68 champs
ChampTypeToujours présent
acceptPaymentsbooleanOui
acceptancenull dans les exemplesOui
acceptedAtnull dans les exemplesOui
archivedbooleanOui
catalogRequestIdnull dans les exemplesOui
clientSelectionnull dans les exemplesOui
companynull dans les exemplesOui
companyIdnull dans les exemplesOui
contentobjectOui
content.itemsarray of anyOui
content.packagesarray of anyOui
content.scopenull dans les exemplesOui
content.summarynull dans les exemplesOui
content.termsstring | nullOui
createdAtstring (date-time)Oui
createdBystring (uuid)Oui
currencystringOui
currentVersionintegerOui
customPropertiesobject of anyOui
declineCommentnull dans les exemplesOui
declineReasonnull dans les exemplesOui
declinedAtnull dans les exemplesOui
depositPercentinteger | nullOui
firstViewedAtnull dans les exemplesOui
hasUnpublishedChangesbooleanOui
idstring (uuid)Oui
invoicenull dans les exemplesOui
invoiceIdnull dans les exemplesOui
languagenull dans les exemplesOui
lastViewedAtnull dans les exemplesOui
lockedbooleanOui
notificationsobjectOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
notifications.viewedbooleanOui
organizationIdstring (uuid)Oui
ownerobjectOui
owner.imagenull dans les exemplesOui
owner.memberIdstring (uuid)Oui
owner.namestringOui
owner.userIdstring (uuid)Oui
ownerIdstring (uuid)Oui
paidAtnull dans les exemplesOui
paymentnull dans les exemplesOui
paymentDueDatenull dans les exemplesOui
paymentDueDaysnull dans les exemplesOui
paymentTermsstringOui
primaryContactIdnull dans les exemplesOui
publicIdstringOui
referencestring | nullOui
reminderSentAtnull dans les exemplesOui
sentAtnull dans les exemplesOui
shareobjectOui
share.channelsarray of objectOui
share.channels[].availablebooleanOui
share.channels[].idstringOui
share.recipientsarray of anyOui
share.urlnull dans les exemplesOui
signatureVerificationnull dans les exemplesOui
statusstringOui
titlestringOui
totalAmountintegerOui
updatedAtstring (date-time)Oui
updatedBystring (uuid)Oui
validUntilstring (date-time)Oui
verifySignerEmailbooleanOui
viewCountintegerOui
Exemple
curl -X POST "https://api.firmado.app/v1/deals/{id}/duplicate" \
  -H "X-Api-Key: fmd_..."

Réponse (201), avec des valeurs d’exemple :

{
  "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

Chaque modification des propriétés d’une proposition, avec son auteur.

Lire/{id}/historyEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Paramètres de requête

ChampTypeObligatoireNotes
fieldstringOuimax length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$

Réponse

13 champs
ChampTypeToujours présent
entriesarray of objectOui
entries[].changedAtstring (date-time)Oui
entries[].changedByobjectOui
entries[].changedBy.idstring (uuid)Oui
entries[].changedBy.namestringOui
entries[].idstring (uuid)Oui
entries[].newLabelstring | nullOui
entries[].newValuestringOui
entries[].oldLabelnull dans les exemplesOui
entries[].oldValuestring | nullOui
fieldstringOui
limitintegerOui
totalintegerOui
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}/history" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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

La proposition telle que le client la verrait.

Lire/{id}/previewEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Réponse

48 champs
ChampTypeToujours présent
selectionobjectOui
selection.optionalItemIdsarray of anyOui
selection.packageIdstring | null (uuid)Oui
snapshotobjectOui
snapshot.companyobject | nullOui
snapshot.company.namestringOui
snapshot.contentobjectOui
snapshot.content.itemsarray of objectOui
snapshot.content.items[].descriptionnull dans les exemplesOui
snapshot.content.items[].idstring (uuid)Oui
snapshot.content.items[].namestringOui
snapshot.content.items[].optionalbooleanOui
snapshot.content.items[].quantityintegerOui
snapshot.content.items[].serviceIdnull dans les exemplesOui
snapshot.content.items[].unitPriceintegerOui
snapshot.content.packagesarray of objectOui
snapshot.content.packages[].descriptionnull dans les exemplesOui
snapshot.content.packages[].discountnull dans les exemplesOui
snapshot.content.packages[].idstring (uuid)Oui
snapshot.content.packages[].itemsarray of objectOui
snapshot.content.packages[].namestringOui
snapshot.content.packages[].recommendedbooleanOui
snapshot.content.scopenull dans les exemplesOui
snapshot.content.summarystring | nullOui
snapshot.content.termsstring | nullOui
snapshot.currencystringOui
snapshot.depositPercentinteger | nullOui
snapshot.languagestringOui
snapshot.organizationobjectOui
snapshot.organization.logonull dans les exemplesOui
snapshot.organization.namestringOui
snapshot.referencestring | nullOui
snapshot.templateIdstringOui
snapshot.themeobjectOui
snapshot.theme.accentColorstringOui
snapshot.theme.backgroundColorstringOui
snapshot.theme.bodyFontstringOui
snapshot.theme.cornerRadiusstringOui
snapshot.theme.headingFontstringOui
snapshot.theme.logoUrlstring (uri)Non
snapshot.theme.primaryColorstringOui
snapshot.theme.textColorstringOui
snapshot.titlestring | nullOui
snapshot.validUntilstring (date-time)Oui
totalsobjectOui
totals.depositAmountinteger | nullOui
totals.totalintegerOui
urlstring (uri)Oui
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}/preview" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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

La proposition telle que le client la verrait, avec des modifications non enregistrées ; n’enregistre rien.

Lire/{id}/previewEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
titlestring | nullNon
referencestring | nullNon
companyIdstring (uuid) | nullNon
primaryContactIdstring (uuid) | nullNon
ownerIdstringNonmin length 1
currencystringNonpattern ^[A-Z]{3}$
validUntilstringNonmin length 1
depositPercentinteger | nullNon
language"pt" | "es" | "en" | "fr" | nullNon
contentobjectNon
content.summarystring | nullNon
content.scopestring | nullNon
content.termsstring | nullNon
content.packagesarray of objectNonmax items 3
content.packages[].idstringNonmin length 1 · max length 64
content.packages[].namestringOuimin length 1 · max length 100
content.packages[].descriptionstring | nullNon
content.packages[].recommendedbooleanNondefault false
content.packages[].itemsarray of objectNonmax items 50
content.packages[].items[].idstringNonmin length 1 · max length 64
content.packages[].items[].serviceIdstring (uuid) | nullNon
content.packages[].items[].namestringOuimin length 1 · max length 200
content.packages[].items[].descriptionstring | nullNon
content.packages[].items[].quantitynumberNonmin 0 · max 100000 · default 1
content.packages[].items[].unitPriceintegerOuimin 0 · max 10000000000000
content.packages[].items[].optionalbooleanNondefault false
content.packages[].discountobject | nullNon
content.itemsarray of objectNonmax items 100
content.items[].idstringNonmin length 1 · max length 64
content.items[].serviceIdstring (uuid) | nullNon
content.items[].namestringOuimin length 1 · max length 200
content.items[].descriptionstring | nullNon
content.items[].quantitynumberNonmin 0 · max 100000 · default 1
content.items[].unitPriceintegerOuimin 0 · max 10000000000000
content.items[].optionalbooleanNondefault false
notificationsobjectNon
notifications.viewedbooleanNon
notifications.acceptedbooleanNon
notifications.declinedbooleanNon
notifications.questionbooleanNon
verifySignerEmailbooleanNon
acceptPaymentsbooleanNon
paymentTerms"on_acceptance" | "on_date" | "days_after"Non
paymentDueDatestring (date) | nullNon
paymentDueDaysinteger | nullNon
customPropertiesobject of anyNon
archivedbooleanNon
templateId"classic" | "modern" | "minimal" | "bold"Non
themeobjectNon
theme.primaryColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nonmax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Non

Réponse

47 champs
ChampTypeToujours présent
selectionobjectOui
selection.optionalItemIdsarray of anyOui
selection.packageIdstring | null (uuid)Oui
snapshotobjectOui
snapshot.companyobject | nullOui
snapshot.company.namestringOui
snapshot.contentobjectOui
snapshot.content.itemsarray of objectOui
snapshot.content.items[].descriptionnull dans les exemplesOui
snapshot.content.items[].idstring (uuid)Oui
snapshot.content.items[].namestringOui
snapshot.content.items[].optionalbooleanOui
snapshot.content.items[].quantityintegerOui
snapshot.content.items[].serviceIdnull dans les exemplesOui
snapshot.content.items[].unitPriceintegerOui
snapshot.content.packagesarray of objectOui
snapshot.content.packages[].descriptionnull dans les exemplesOui
snapshot.content.packages[].discountobjectOui
snapshot.content.packages[].idstring (uuid)Oui
snapshot.content.packages[].itemsarray of objectOui
snapshot.content.packages[].namestringOui
snapshot.content.packages[].recommendedbooleanOui
snapshot.content.scopenull dans les exemplesOui
snapshot.content.summarynull dans les exemplesOui
snapshot.content.termsnull dans les exemplesOui
snapshot.currencystringOui
snapshot.depositPercentinteger | nullOui
snapshot.languagestringOui
snapshot.organizationobjectOui
snapshot.organization.logonull dans les exemplesOui
snapshot.organization.namestringOui
snapshot.referencenull dans les exemplesOui
snapshot.templateIdstringOui
snapshot.themeobjectOui
snapshot.theme.accentColorstringOui
snapshot.theme.backgroundColorstringOui
snapshot.theme.bodyFontstringOui
snapshot.theme.cornerRadiusstringOui
snapshot.theme.headingFontstringOui
snapshot.theme.primaryColorstringOui
snapshot.theme.textColorstringOui
snapshot.titlestringOui
snapshot.validUntilstring (date-time)Oui
totalsobjectOui
totals.depositAmountinteger | nullOui
totals.totalintegerOui
urlstring (uri)Oui
Exemple
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"
}'

Réponse (200), avec des valeurs d’exemple :

{
  "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

Les questions posées par les clients sur la page de la proposition, des plus récentes aux plus anciennes.

Lire/{id}/questionsEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Réponse

16 champs
ChampTypeToujours présent
[].answernull dans les exemplesOui
[].answerSentTonull dans les exemplesOui
[].answeredAtnull dans les exemplesOui
[].answeredBynull dans les exemplesOui
[].contactobjectOui
[].contact.emailsarray of string (email)Oui
[].contact.idstring (uuid)Oui
[].contact.namestringOui
[].contact.phonesarray of anyOui
[].contact.socialProfilesobjectOui
[].createdAtstring (date-time)Oui
[].emailstring (email)Oui
[].fromRecipientLinkbooleanOui
[].idstring (uuid)Oui
[].messagestringOui
[].namestringOui
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}/questions" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

[
  {
    "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}

Marque la question d’un client comme traitée ou non.

Modifier/{id}/questions/{questionId}En cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui
questionIdstringOui

Corps

ChampTypeObligatoireNotes
answeredbooleanOui

Réponse

16 champs
ChampTypeToujours présent
answernull dans les exemplesOui
answerSentTonull dans les exemplesOui
answeredAtstring | null (date-time)Oui
answeredBystring | nullOui
contactobjectOui
contact.emailsarray of string (email)Oui
contact.idstring (uuid)Oui
contact.namestringOui
contact.phonesarray of anyOui
contact.socialProfilesobjectOui
createdAtstring (date-time)Oui
emailstring (email)Oui
fromRecipientLinkbooleanOui
idstring (uuid)Oui
messagestringOui
namestringOui
Exemple
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
}'

Réponse (200), avec des valeurs d’exemple :

{
  "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

Répond par e-mail à l’auteur de la question et garde la réponse avec elle.

Modifier/{id}/questions/{questionId}/replyEn cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui
questionIdstringOui

Corps

ChampTypeObligatoireNotes
messagestringOuimin length 1 · max length 5000

Réponse

16 champs
ChampTypeToujours présent
answerstringOui
answerSentTostring (email)Oui
answeredAtstring (date-time)Oui
answeredBystringOui
contactobjectOui
contact.emailsarray of string (email)Oui
contact.idstring (uuid)Oui
contact.namestringOui
contact.phonesarray of anyOui
contact.socialProfilesobjectOui
createdAtstring (date-time)Oui
emailstring (email)Oui
fromRecipientLinkbooleanOui
idstring (uuid)Oui
messagestringOui
namestringOui
Exemple
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": "…"
}'

Réponse (200), avec des valeurs d’exemple :

{
  "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

Ajoute un contact à qui envoyer la proposition et renvoie son lien suivi.

Modifier/{id}/recipientsEn cas de succès : 201.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
contactIdstring (uuid)Oui
channel"link" | "email" | "whatsapp"Nondefault "link"

Réponse

12 champs
ChampTypeToujours présent
channelstringOui
contactIdstring (uuid)Oui
createdAtstring (date-time)Oui
firstNamestringOui
firstViewedAtnull dans les exemplesOui
idstring (uuid)Oui
lastNamestring | nullOui
lastViewedAtnull dans les exemplesOui
mergedContactIdnull dans les exemplesOui
tokenstringOui
urlstring (uri)Oui
viewCountintegerOui
Exemple
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"
}'

Réponse (201), avec des valeurs d’exemple :

{
  "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}

Retire un destinataire ; son lien cesse de fonctionner.

Modifier/{id}/recipients/{recipientId}En cas de succès : 204.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui
recipientIdstringOui
Exemple
curl -X DELETE "https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}" \
  -H "X-Api-Key: fmd_..."

POST/v1/deals/{id}/reopen

Rouvre une proposition refusée ou expirée, avec une validité future.

Modifier/{id}/reopenEn cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
validUntilstring (date-time) | nullNondefault null

Réponse

88 champs
ChampTypeToujours présent
acceptPaymentsbooleanOui
acceptancenull dans les exemplesOui
acceptedAtnull dans les exemplesOui
archivedbooleanOui
catalogRequestIdnull dans les exemplesOui
clientSelectionnull dans les exemplesOui
companynull dans les exemplesOui
companyIdnull dans les exemplesOui
contentobjectOui
content.itemsarray of objectOui
content.items[].descriptionnull dans les exemplesOui
content.items[].idstring (uuid)Oui
content.items[].namestringOui
content.items[].optionalbooleanOui
content.items[].quantityintegerOui
content.items[].serviceIdnull dans les exemplesOui
content.items[].unitPriceintegerOui
content.packagesarray of objectOui
content.packages[].descriptionnull dans les exemplesOui
content.packages[].discountnull dans les exemplesOui
content.packages[].idstring (uuid)Oui
content.packages[].itemsarray of objectOui
content.packages[].items[].descriptionnull dans les exemplesOui
content.packages[].items[].idstring (uuid)Oui
content.packages[].items[].namestringOui
content.packages[].items[].optionalbooleanOui
content.packages[].items[].quantityintegerOui
content.packages[].items[].serviceIdnull dans les exemplesOui
content.packages[].items[].unitPriceintegerOui
content.packages[].namestringOui
content.packages[].recommendedbooleanOui
content.scopenull dans les exemplesOui
content.summarystringOui
content.termsstringOui
createdAtstring (date-time)Oui
createdBystring (uuid)Oui
currencystringOui
currentVersionintegerOui
customPropertiesobject of anyOui
declineCommentnull dans les exemplesOui
declineReasonnull dans les exemplesOui
declinedAtnull dans les exemplesOui
depositPercentintegerOui
firstViewedAtnull dans les exemplesOui
hasUnpublishedChangesbooleanOui
idstring (uuid)Oui
invoicenull dans les exemplesOui
invoiceIdnull dans les exemplesOui
languagenull dans les exemplesOui
lastViewedAtnull dans les exemplesOui
lockedbooleanOui
notificationsobjectOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
notifications.viewedbooleanOui
organizationIdstring (uuid)Oui
ownerobjectOui
owner.imagenull dans les exemplesOui
owner.memberIdstring (uuid)Oui
owner.namestringOui
owner.userIdstring (uuid)Oui
ownerIdstring (uuid)Oui
paidAtnull dans les exemplesOui
paymentnull dans les exemplesOui
paymentDueDatenull dans les exemplesOui
paymentDueDaysnull dans les exemplesOui
paymentTermsstringOui
primaryContactIdnull dans les exemplesOui
publicIdstringOui
referencenull dans les exemplesOui
reminderSentAtnull dans les exemplesOui
sentAtstring (date-time)Oui
shareobjectOui
share.channelsarray of objectOui
share.channels[].availablebooleanOui
share.channels[].idstringOui
share.recipientsarray of anyOui
share.urlstring (uri)Oui
signatureVerificationnull dans les exemplesOui
statusstringOui
titlestringOui
totalAmountintegerOui
updatedAtstring (date-time)Oui
updatedBystring (uuid)Oui
validUntilstring (date-time)Oui
verifySignerEmailbooleanOui
viewCountintegerOui
Exemple
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"
}'

Réponse (200), avec des valeurs d’exemple :

{
  "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

Envoie la proposition, ou publie le brouillon modifié comme version suivante sur le même lien.

Modifier/{id}/sendEn cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Réponse

106 champs
ChampTypeToujours présent
acceptPaymentsbooleanOui
acceptancenull dans les exemplesOui
acceptedAtnull dans les exemplesOui
archivedbooleanOui
catalogRequestIdnull dans les exemplesOui
clientSelectionobject | nullOui
clientSelection.optionalItemIdsarray of string (uuid)Oui
clientSelection.packageIdstring (uuid)Oui
companyobject | nullOui
company.idstring (uuid)Oui
company.namestringOui
companyIdstring | null (uuid)Oui
contentobjectOui
content.itemsarray of objectOui
content.items[].descriptionnull dans les exemplesOui
content.items[].idstring (uuid)Oui
content.items[].namestringOui
content.items[].optionalbooleanOui
content.items[].quantityintegerOui
content.items[].serviceIdnull dans les exemplesOui
content.items[].unitPriceintegerOui
content.packagesarray of objectOui
content.packages[].descriptionnull dans les exemplesOui
content.packages[].discountobject | nullOui
content.packages[].discount.typestringOui
content.packages[].discount.valueintegerOui
content.packages[].idstring (uuid)Oui
content.packages[].itemsarray of objectOui
content.packages[].items[].descriptionnull dans les exemplesOui
content.packages[].items[].idstring (uuid)Oui
content.packages[].items[].namestringOui
content.packages[].items[].optionalbooleanOui
content.packages[].items[].quantityintegerOui
content.packages[].items[].serviceIdnull dans les exemplesOui
content.packages[].items[].unitPriceintegerOui
content.packages[].namestringOui
content.packages[].recommendedbooleanOui
content.scopenull dans les exemplesOui
content.summarystring | nullOui
content.termsstring | nullOui
createdAtstring (date-time)Oui
createdBystring (uuid)Oui
currencystringOui
currentVersionintegerOui
customPropertiesobject of anyOui
declineCommentnull dans les exemplesOui
declineReasonnull dans les exemplesOui
declinedAtnull dans les exemplesOui
depositPercentinteger | nullOui
firstViewedAtstring | null (date-time)Oui
hasUnpublishedChangesbooleanOui
idstring (uuid)Oui
invoicenull dans les exemplesOui
invoiceIdnull dans les exemplesOui
languagenull dans les exemplesOui
lastViewedAtstring | null (date-time)Oui
lockedbooleanOui
notificationsobjectOui
notifications.acceptedbooleanOui
notifications.declinedbooleanOui
notifications.questionbooleanOui
notifications.viewedbooleanOui
organizationIdstring (uuid)Oui
ownerobjectOui
owner.imagenull dans les exemplesOui
owner.memberIdstring (uuid)Oui
owner.namestringOui
owner.userIdstring (uuid)Oui
ownerIdstring (uuid)Oui
paidAtnull dans les exemplesOui
paymentnull dans les exemplesOui
paymentDueDatenull dans les exemplesOui
paymentDueDaysinteger | nullOui
paymentTermsstringOui
primaryContactIdstring | null (uuid)Oui
publicIdstringOui
referencenull dans les exemplesOui
reminderSentAtnull dans les exemplesOui
sentAtstring (date-time)Oui
shareobjectOui
share.channelsarray of objectOui
share.channels[].availablebooleanOui
share.channels[].idstringOui
share.recipientsarray of objectOui
share.recipients[].channelstringOui
share.recipients[].contactIdstring (uuid)Oui
share.recipients[].createdAtstring (date-time)Oui
share.recipients[].firstNamestringOui
share.recipients[].firstViewedAtstring (date-time)Oui
share.recipients[].idstring (uuid)Oui
share.recipients[].lastNamenull dans les exemplesOui
share.recipients[].lastViewedAtstring (date-time)Oui
share.recipients[].mergedContactIdnull dans les exemplesOui
share.recipients[].tokenstringOui
share.recipients[].urlstring (uri)Oui
share.recipients[].viewCountintegerOui
share.urlstring (uri)Oui
signatureVerificationnull dans les exemplesOui
statusstringOui
titlestringOui
totalAmountintegerOui
updatedAtstring (date-time)Oui
updatedBystring (uuid)Oui
validUntilstring (date-time)Oui
verifySignerEmailbooleanOui
viewCountintegerOui
Exemple
curl -X POST "https://api.firmado.app/v1/deals/{id}/send" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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

Envoie au signataire un nouveau lien pour confirmer son e-mail.

Modifier/{id}/signature/resendEn cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Réponse

6 champs
ChampTypeToujours présent
emailstring (email)Oui
sendCountintegerOui
sentAtstring (date-time)Oui
verifiedAtnull dans les exemplesOui
verifiedIpnull dans les exemplesOui
verifiedUserAgentnull dans les exemplesOui
Exemple
curl -X POST "https://api.firmado.app/v1/deals/{id}/signature/resend" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

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

GET/v1/deals/board

Les propositions regroupées par statut, pour un tableau.

Lire/boardEn cas de succès : 200.Permission : Lire.

Paramètres de requête

ChampTypeObligatoireNotes
qstringNonmin length 1 · max length 200
ownerIdstringNon
companyIdstring (uuid)Non
contactIdstring (uuid)Non
dueFromstring (date-time)Non
dueBeforestring (date-time)Non

Réponse

26 champs
ChampTypeToujours présent
columnsarray of objectOui
columns[].amountintegerOui
columns[].countintegerOui
columns[].dealsarray of objectOui
columns[].deals[].acceptedAtnull dans les exemplesOui
columns[].deals[].archivedbooleanOui
columns[].deals[].companyIdstring | null (uuid)Oui
columns[].deals[].companyNamestring | nullOui
columns[].deals[].createdAtstring (date-time)Oui
columns[].deals[].currencystringOui
columns[].deals[].hasUnpublishedChangesbooleanOui
columns[].deals[].idstring (uuid)Oui
columns[].deals[].lastViewedAtnull dans les exemplesOui
columns[].deals[].ownerIdstring (uuid)Oui
columns[].deals[].ownerImagenull dans les exemplesOui
columns[].deals[].ownerNamestringOui
columns[].deals[].paidAtnull dans les exemplesOui
columns[].deals[].referencenull dans les exemplesOui
columns[].deals[].sentAtstring | null (date-time)Oui
columns[].deals[].statusstringOui
columns[].deals[].titlestringOui
columns[].deals[].totalAmountintegerOui
columns[].deals[].updatedAtstring (date-time)Oui
columns[].deals[].validUntilstring (date-time)Oui
columns[].deals[].viewCountintegerOui
columns[].statusstringOui
Exemple
curl -X GET "https://api.firmado.app/v1/deals/board" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

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

Événements de webhook

Les changements de cette fonctionnalité que les webhooks peuvent envoyer.

  • deal.createdCréer
  • deal.updatedModifier
  • deal.sentModifier
  • deal.viewedModifier
  • deal.questionModifier
  • deal.acceptedModifier
  • deal.declinedModifier
  • deal.expiredModifier
  • deal.paidModifier
  • deal.deletedSupprimer