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
| Champ | Type | Toujours présent |
|---|---|---|
acceptPayments | boolean | Oui |
currency | string | Oui |
depositPercent | integer | null | Oui |
nextReference | string | null | Oui |
notifications | object | Oui |
notifications.accepted | boolean | Oui |
notifications.declined | boolean | Oui |
notifications.question | boolean | Oui |
notifications.viewed | boolean | Oui |
paymentDueDays | null dans les exemples | Oui |
paymentTerms | string | Oui |
reference | object | Oui |
reference.auto | boolean | Oui |
reference.digits | integer | Oui |
reference.next | integer | Oui |
reference.prefix | string | Oui |
terms | string | null | Oui |
validityDays | integer | Oui |
verifySignerEmail | boolean | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deal-defaults" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deal-defaults", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deal-defaults",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deal-defaults");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deal-defaults")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deal-defaults", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deal-defaults"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deal-defaults");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
currency | string | Oui | pattern ^[A-Z]{3}$ |
validityDays | integer | Oui | min 1 · max 365 |
depositPercent | integer | null | Oui | |
terms | string | null | Oui | |
notifications | object | Oui | |
notifications.viewed | boolean | Oui | |
notifications.accepted | boolean | Oui | |
notifications.declined | boolean | Oui | |
notifications.question | boolean | Oui | |
verifySignerEmail | boolean | Non | default false |
acceptPayments | boolean | Non | default false |
paymentTerms | "on_acceptance" | "days_after" | Non | default "on_acceptance" |
paymentDueDays | integer | null | Non | default null |
reference | object | Oui | |
reference.auto | boolean | Oui | |
reference.prefix | string | Oui | max length 20 |
reference.digits | integer | Oui | min 1 · max 8 |
reference.next | integer | Oui | min 1 · max 999999999 |
Réponse
19 champs
| Champ | Type | Toujours présent |
|---|---|---|
acceptPayments | boolean | Oui |
currency | string | Oui |
depositPercent | integer | Oui |
nextReference | string | Oui |
notifications | object | Oui |
notifications.accepted | boolean | Oui |
notifications.declined | boolean | Oui |
notifications.question | boolean | Oui |
notifications.viewed | boolean | Oui |
paymentDueDays | null dans les exemples | Oui |
paymentTerms | string | Oui |
reference | object | Oui |
reference.auto | boolean | Oui |
reference.digits | integer | Oui |
reference.next | integer | Oui |
reference.prefix | string | Oui |
terms | string | Oui |
validityDays | integer | Oui |
verifySignerEmail | boolean | Oui |
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
}
}'const res = await fetch("https://api.firmado.app/v1/deal-defaults", {
method: "PUT",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"currency": "USD",
"validityDays": 1,
"depositPercent": 0,
"terms": "…",
"notifications": {
"viewed": true,
"accepted": true,
"declined": true,
"question": true
},
"reference": {
"auto": true,
"prefix": "…",
"digits": 1,
"next": 1
}
}),
})
const data = await res.json()import requests
res = requests.put(
"https://api.firmado.app/v1/deal-defaults",
headers={"X-Api-Key": "fmd_..."},
json={
"currency": "USD",
"validityDays": 1,
"depositPercent": 0,
"terms": "…",
"notifications": {
"viewed": True,
"accepted": True,
"declined": True,
"question": True,
},
"reference": {
"auto": True,
"prefix": "…",
"digits": 1,
"next": 1,
},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deal-defaults");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"currency": "USD",
"validityDays": 1,
"depositPercent": 0,
"terms": "…",
"notifications": {
"viewed": true,
"accepted": true,
"declined": true,
"question": true
},
"reference": {
"auto": true,
"prefix": "…",
"digits": 1,
"next": 1
}
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deal-defaults")
req = Net::HTTP::Put.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"currency": "USD",
"validityDays": 1,
"depositPercent": 0,
"terms": "…",
"notifications": {
"viewed": true,
"accepted": true,
"declined": true,
"question": true
},
"reference": {
"auto": true,
"prefix": "…",
"digits": 1,
"next": 1
}
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"currency": "USD",
"validityDays": 1,
"depositPercent": 0,
"terms": "…",
"notifications": {
"viewed": true,
"accepted": true,
"declined": true,
"question": true
},
"reference": {
"auto": true,
"prefix": "…",
"digits": 1,
"next": 1
}
}`)
req, _ := http.NewRequest("PUT", "https://api.firmado.app/v1/deal-defaults", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deal-defaults"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PUT", HttpRequest.BodyPublishers.ofString("""
{
"currency": "USD",
"validityDays": 1,
"depositPercent": 0,
"terms": "…",
"notifications": {
"viewed": true,
"accepted": true,
"declined": true,
"question": true
},
"reference": {
"auto": true,
"prefix": "…",
"digits": 1,
"next": 1
}
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PUT"), "https://api.firmado.app/v1/deal-defaults");
request.Content = new StringContent(""""
{
"currency": "USD",
"validityDays": 1,
"depositPercent": 0,
"terms": "…",
"notifications": {
"viewed": true,
"accepted": true,
"declined": true,
"question": true
},
"reference": {
"auto": true,
"prefix": "…",
"digits": 1,
"next": 1
}
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Toujours présent |
|---|---|---|
[].description | string | Oui |
[].id | string | Oui |
[].name | string | Oui |
[].theme | object | Oui |
[].theme.accentColor | string | Oui |
[].theme.backgroundColor | string | Oui |
[].theme.bodyFont | string | Oui |
[].theme.cornerRadius | string | Oui |
[].theme.headingFont | string | Oui |
[].theme.primaryColor | string | Oui |
[].theme.textColor | string | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deal-templates" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deal-templates", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deal-templates",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deal-templates");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deal-templates")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deal-templates", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deal-templates"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deal-templates");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
page | integer | Non | min 1 · default 1 |
pageSize | integer | Non | min 1 · max 100 · default 25 |
q | string | Non | min length 1 · max length 200 |
archived | string | Non | |
status | array of "draft" | "sent" | "viewed" | "negotiating" | "accepted" | "declined" | "expired" | "paid" | Non | max items 8 |
companyId | string (uuid) | Non | |
ownerId | string | Non | |
contactId | string (uuid) | Non | |
dueFrom | string (date-time) | Non | |
dueBefore | string (date-time) | Non | |
sort | "createdAt" | "updatedAt" | "title" | "totalAmount" | "validUntil" | "viewCount" | Non | default "createdAt" |
order | "asc" | "desc" | Non | default "desc" |
Réponse
25 champs
| Champ | Type | Toujours présent |
|---|---|---|
data | array of object | Oui |
data[].acceptedAt | string | null (date-time) | Oui |
data[].archived | boolean | Oui |
data[].companyId | string | null (uuid) | Oui |
data[].companyName | string | null | Oui |
data[].createdAt | string (date-time) | Oui |
data[].currency | string | Oui |
data[].hasUnpublishedChanges | boolean | Oui |
data[].id | string (uuid) | Oui |
data[].lastViewedAt | string | null (date-time) | Oui |
data[].ownerId | string (uuid) | Oui |
data[].ownerImage | null dans les exemples | Oui |
data[].ownerName | string | Oui |
data[].paidAt | string | null (date-time) | Oui |
data[].reference | string | null | Oui |
data[].sentAt | string | null (date-time) | Oui |
data[].status | string | Oui |
data[].title | string | Oui |
data[].totalAmount | integer | Oui |
data[].updatedAt | string (date-time) | Oui |
data[].validUntil | string (date-time) | Oui |
data[].viewCount | integer | Oui |
page | integer | Oui |
pageSize | integer | Oui |
total | integer | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deals" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deals",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deals", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deals");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
title | string | null | Non | |
reference | string | null | Non | |
companyId | string (uuid) | null | Non | |
primaryContactId | string (uuid) | null | Non | |
ownerId | string | Non | min length 1 |
currency | string | Non | pattern ^[A-Z]{3}$ |
validUntil | string | Non | min length 1 |
depositPercent | integer | null | Non | |
language | "pt" | "es" | "en" | "fr" | null | Non | |
content | object | Non | |
content.summary | string | null | Non | |
content.scope | string | null | Non | |
content.terms | string | null | Non | |
content.packages | array of object | Non | max items 3 |
content.packages[].id | string | Non | min length 1 · max length 64 |
content.packages[].name | string | Oui | min length 1 · max length 100 |
content.packages[].description | string | null | Non | |
content.packages[].recommended | boolean | Non | default false |
content.packages[].items | array of object | Non | max items 50 |
content.packages[].items[].id | string | Non | min length 1 · max length 64 |
content.packages[].items[].serviceId | string (uuid) | null | Non | |
content.packages[].items[].name | string | Oui | min length 1 · max length 200 |
content.packages[].items[].description | string | null | Non | |
content.packages[].items[].quantity | number | Non | min 0 · max 100000 · default 1 |
content.packages[].items[].unitPrice | integer | Oui | min 0 · max 10000000000000 |
content.packages[].items[].optional | boolean | Non | default false |
content.packages[].discount | object | null | Non | |
content.items | array of object | Non | max items 100 |
content.items[].id | string | Non | min length 1 · max length 64 |
content.items[].serviceId | string (uuid) | null | Non | |
content.items[].name | string | Oui | min length 1 · max length 200 |
content.items[].description | string | null | Non | |
content.items[].quantity | number | Non | min 0 · max 100000 · default 1 |
content.items[].unitPrice | integer | Oui | min 0 · max 10000000000000 |
content.items[].optional | boolean | Non | default false |
notifications | object | Non | |
notifications.viewed | boolean | Non | |
notifications.accepted | boolean | Non | |
notifications.declined | boolean | Non | |
notifications.question | boolean | Non | |
verifySignerEmail | boolean | Non | |
acceptPayments | boolean | Non | |
paymentTerms | "on_acceptance" | "on_date" | "days_after" | Non | |
paymentDueDate | string (date) | null | Non | |
paymentDueDays | integer | null | Non | |
customProperties | object of any | Non | |
archived | boolean | Non |
Réponse
92 champs
| Champ | Type | Toujours présent |
|---|---|---|
acceptPayments | boolean | Oui |
acceptance | null dans les exemples | Oui |
acceptedAt | null dans les exemples | Oui |
archived | boolean | Oui |
catalogRequestId | null dans les exemples | Oui |
clientSelection | null dans les exemples | Oui |
company | object | null | Oui |
company.id | string (uuid) | Oui |
company.name | string | Oui |
companyId | string | null (uuid) | Oui |
content | object | Oui |
content.items | array of object | Oui |
content.items[].description | null dans les exemples | Oui |
content.items[].id | string (uuid) | Oui |
content.items[].name | string | Oui |
content.items[].optional | boolean | Oui |
content.items[].quantity | integer | Oui |
content.items[].serviceId | string | null (uuid) | Oui |
content.items[].unitPrice | integer | Oui |
content.packages | array of object | Oui |
content.packages[].description | null dans les exemples | Oui |
content.packages[].discount | object | null | Oui |
content.packages[].discount.type | string | Oui |
content.packages[].discount.value | integer | Oui |
content.packages[].id | string (uuid) | Oui |
content.packages[].items | array of object | Oui |
content.packages[].items[].description | null dans les exemples | Oui |
content.packages[].items[].id | string (uuid) | Oui |
content.packages[].items[].name | string | Oui |
content.packages[].items[].optional | boolean | Oui |
content.packages[].items[].quantity | integer | Oui |
content.packages[].items[].serviceId | null dans les exemples | Oui |
content.packages[].items[].unitPrice | integer | Oui |
content.packages[].name | string | Oui |
content.packages[].recommended | boolean | Oui |
content.scope | null dans les exemples | Oui |
content.summary | string | null | Oui |
content.terms | string | null | Oui |
createdAt | string (date-time) | Oui |
createdBy | string | null (uuid) | Oui |
currency | string | Oui |
currentVersion | integer | Oui |
customProperties | object of any | Oui |
declineComment | null dans les exemples | Oui |
declineReason | null dans les exemples | Oui |
declinedAt | null dans les exemples | Oui |
depositPercent | integer | null | Oui |
firstViewedAt | null dans les exemples | Oui |
hasUnpublishedChanges | boolean | Oui |
id | string (uuid) | Oui |
invoice | null dans les exemples | Oui |
invoiceId | null dans les exemples | Oui |
language | string | null | Oui |
lastViewedAt | null dans les exemples | Oui |
locked | boolean | Oui |
notifications | object | Oui |
notifications.accepted | boolean | Oui |
notifications.declined | boolean | Oui |
notifications.question | boolean | Oui |
notifications.viewed | boolean | Oui |
organizationId | string (uuid) | Oui |
owner | object | Oui |
owner.image | null dans les exemples | Oui |
owner.memberId | string (uuid) | Oui |
owner.name | string | Oui |
owner.userId | string (uuid) | Oui |
ownerId | string (uuid) | Oui |
paidAt | null dans les exemples | Oui |
payment | null dans les exemples | Oui |
paymentDueDate | null dans les exemples | Oui |
paymentDueDays | integer | null | Oui |
paymentTerms | string | Oui |
primaryContactId | string | null (uuid) | Oui |
publicId | string | Oui |
reference | string | null | Oui |
reminderSentAt | null dans les exemples | Oui |
sentAt | null dans les exemples | Oui |
share | object | Oui |
share.channels | array of object | Oui |
share.channels[].available | boolean | Oui |
share.channels[].id | string | Oui |
share.recipients | array of any | Oui |
share.url | null dans les exemples | Oui |
signatureVerification | null dans les exemples | Oui |
status | string | Oui |
title | string | null | Oui |
totalAmount | integer | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string | null (uuid) | Oui |
validUntil | string (date-time) | Oui |
verifySignerEmail | boolean | Oui |
viewCount | integer | Oui |
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"
}'const res = await fetch("https://api.firmado.app/v1/deals", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals");
request.Content = new StringContent(""""
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Exemple
curl -X DELETE "https://api.firmado.app/v1/deals/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}", {
method: "DELETE",
headers: { "X-Api-Key": "fmd_..." },
})
if (!res.ok) throw new Error(await res.text())import requests
res = requests.delete(
"https://api.firmado.app/v1/deals/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}")
req = Net::HTTP::Delete.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }req, _ := http.NewRequest("DELETE", "https://api.firmado.app/v1/deals/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}"))
.header("X-Api-Key", "fmd_...")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://api.firmado.app/v1/deals/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
160 champs
| Champ | Type | Toujours présent |
|---|---|---|
acceptPayments | boolean | Oui |
acceptance | object | null | Oui |
acceptance.acceptedAt | string (date-time) | Oui |
acceptance.chosen | object | Oui |
acceptance.chosen.addOns | array of object | Oui |
acceptance.chosen.addOns[].id | string (uuid) | Oui |
acceptance.chosen.addOns[].name | string | Oui |
acceptance.chosen.addOns[].total | integer | Oui |
acceptance.chosen.included | array of object | Oui |
acceptance.chosen.included[].id | string (uuid) | Oui |
acceptance.chosen.included[].name | string | Oui |
acceptance.chosen.included[].total | integer | Oui |
acceptance.chosen.package | object | Oui |
acceptance.chosen.package.id | string (uuid) | Oui |
acceptance.chosen.package.items | array of object | Oui |
acceptance.chosen.package.name | string | Oui |
acceptance.chosen.package.total | integer | Oui |
acceptance.dealId | string (uuid) | Oui |
acceptance.depositAmount | integer | null | Oui |
acceptance.id | string (uuid) | Oui |
acceptance.ipAddress | string | Oui |
acceptance.organizationId | string (uuid) | Oui |
acceptance.recipientId | string | null (uuid) | Oui |
acceptance.selection | object | Oui |
acceptance.selection.optionalItemIds | array of string (uuid) | Oui |
acceptance.selection.packageId | string (uuid) | Oui |
acceptance.signerEmail | string | null (email) | Oui |
acceptance.signerName | string | Oui |
acceptance.signerTaxId | string | Oui |
acceptance.totalAmount | integer | Oui |
acceptance.userAgent | string | null | Oui |
acceptance.version | integer | Oui |
acceptance.versionHash | string | Oui |
acceptance.versionId | string (uuid) | Oui |
acceptedAt | string | null (date-time) | Oui |
archived | boolean | Oui |
catalogRequestId | null dans les exemples | Oui |
clientSelection | object | null | Oui |
clientSelection.optionalItemIds | array of string (uuid) | Oui |
clientSelection.packageId | string (uuid) | Oui |
company | object | null | Oui |
company.id | string (uuid) | Oui |
company.name | string | Oui |
companyId | string | null (uuid) | Oui |
content | object | Oui |
content.items | array of object | Oui |
content.items[].description | null dans les exemples | Oui |
content.items[].id | string (uuid) | Oui |
content.items[].name | string | Oui |
content.items[].optional | boolean | Oui |
content.items[].quantity | integer | Oui |
content.items[].serviceId | null dans les exemples | Oui |
content.items[].unitPrice | integer | Oui |
content.packages | array of object | Oui |
content.packages[].description | null dans les exemples | Oui |
content.packages[].discount | object | null | Oui |
content.packages[].discount.type | string | Oui |
content.packages[].discount.value | integer | Oui |
content.packages[].id | string (uuid) | Oui |
content.packages[].items | array of object | Oui |
content.packages[].items[].description | null dans les exemples | Oui |
content.packages[].items[].id | string (uuid) | Oui |
content.packages[].items[].name | string | Oui |
content.packages[].items[].optional | boolean | Oui |
content.packages[].items[].quantity | integer | Oui |
content.packages[].items[].serviceId | null dans les exemples | Oui |
content.packages[].items[].unitPrice | integer | Oui |
content.packages[].name | string | Oui |
content.packages[].recommended | boolean | Oui |
content.scope | null dans les exemples | Oui |
content.summary | string | null | Oui |
content.terms | string | null | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
currency | string | Oui |
currentVersion | integer | Oui |
customProperties | object of any | Oui |
declineComment | string | null | Oui |
declineReason | string | null | Oui |
declinedAt | string | null (date-time) | Oui |
depositPercent | integer | null | Oui |
firstViewedAt | string | null (date-time) | Oui |
hasUnpublishedChanges | boolean | Oui |
id | string (uuid) | Oui |
invoice | object | null | Oui |
invoice.currency | string | Oui |
invoice.dueDate | string (date) | Oui |
invoice.id | string (uuid) | Oui |
invoice.number | string | Oui |
invoice.paidAt | string | null (date-time) | Oui |
invoice.status | string | Oui |
invoice.total | integer | Oui |
invoiceId | string | null (uuid) | Oui |
language | null dans les exemples | Oui |
lastViewedAt | string | null (date-time) | Oui |
locked | boolean | Oui |
notifications | object | Oui |
notifications.accepted | boolean | Oui |
notifications.declined | boolean | Oui |
notifications.question | boolean | Oui |
notifications.viewed | boolean | Oui |
organizationId | string (uuid) | Oui |
owner | object | Oui |
owner.image | null dans les exemples | Oui |
owner.memberId | string (uuid) | Oui |
owner.name | string | Oui |
owner.userId | string (uuid) | Oui |
ownerId | string (uuid) | Oui |
paidAt | string | null (date-time) | Oui |
payment | object | null | Oui |
payment.amount | integer | Oui |
payment.applicationFee | integer | Oui |
payment.createdAt | string (date-time) | Oui |
payment.currency | string | Oui |
payment.id | string (uuid) | Oui |
payment.paidAt | string (date-time) | Oui |
payment.payerEmail | string (email) | Oui |
payment.payerName | string | Oui |
payment.status | string | Oui |
paymentDueDate | null dans les exemples | Oui |
paymentDueDays | null dans les exemples | Oui |
paymentTerms | string | Oui |
primaryContactId | string | null (uuid) | Oui |
publicId | string | Oui |
reference | null dans les exemples | Oui |
reminderSentAt | null dans les exemples | Oui |
sentAt | string | null (date-time) | Oui |
share | object | Oui |
share.channels | array of object | Oui |
share.channels[].available | boolean | Oui |
share.channels[].id | string | Oui |
share.recipients | array of object | Oui |
share.recipients[].channel | string | Oui |
share.recipients[].contactId | string (uuid) | Oui |
share.recipients[].createdAt | string (date-time) | Oui |
share.recipients[].firstName | string | Oui |
share.recipients[].firstViewedAt | string | null (date-time) | Oui |
share.recipients[].id | string (uuid) | Oui |
share.recipients[].lastName | null dans les exemples | Oui |
share.recipients[].lastViewedAt | string | null (date-time) | Oui |
share.recipients[].mergedContactId | null dans les exemples | Oui |
share.recipients[].token | string | Oui |
share.recipients[].url | string (uri) | Oui |
share.recipients[].viewCount | integer | Oui |
share.url | string | null (uri) | Oui |
signatureVerification | object | null | Oui |
signatureVerification.email | string (email) | Oui |
signatureVerification.sendCount | integer | Oui |
signatureVerification.sentAt | string (date-time) | Oui |
signatureVerification.verifiedAt | string | null (date-time) | Oui |
signatureVerification.verifiedIp | string | null | Oui |
signatureVerification.verifiedUserAgent | null dans les exemples | Oui |
status | string | Oui |
title | string | Oui |
totalAmount | integer | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
validUntil | string (date-time) | Oui |
verifySignerEmail | boolean | Oui |
viewCount | integer | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deals/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deals/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deals/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
title | string | null | Non | |
reference | string | null | Non | |
companyId | string (uuid) | null | Non | |
primaryContactId | string (uuid) | null | Non | |
ownerId | string | Non | min length 1 |
currency | string | Non | pattern ^[A-Z]{3}$ |
validUntil | string | Non | min length 1 |
depositPercent | integer | null | Non | |
language | "pt" | "es" | "en" | "fr" | null | Non | |
content | object | Non | |
content.summary | string | null | Non | |
content.scope | string | null | Non | |
content.terms | string | null | Non | |
content.packages | array of object | Non | max items 3 |
content.packages[].id | string | Non | min length 1 · max length 64 |
content.packages[].name | string | Oui | min length 1 · max length 100 |
content.packages[].description | string | null | Non | |
content.packages[].recommended | boolean | Non | default false |
content.packages[].items | array of object | Non | max items 50 |
content.packages[].items[].id | string | Non | min length 1 · max length 64 |
content.packages[].items[].serviceId | string (uuid) | null | Non | |
content.packages[].items[].name | string | Oui | min length 1 · max length 200 |
content.packages[].items[].description | string | null | Non | |
content.packages[].items[].quantity | number | Non | min 0 · max 100000 · default 1 |
content.packages[].items[].unitPrice | integer | Oui | min 0 · max 10000000000000 |
content.packages[].items[].optional | boolean | Non | default false |
content.packages[].discount | object | null | Non | |
content.items | array of object | Non | max items 100 |
content.items[].id | string | Non | min length 1 · max length 64 |
content.items[].serviceId | string (uuid) | null | Non | |
content.items[].name | string | Oui | min length 1 · max length 200 |
content.items[].description | string | null | Non | |
content.items[].quantity | number | Non | min 0 · max 100000 · default 1 |
content.items[].unitPrice | integer | Oui | min 0 · max 10000000000000 |
content.items[].optional | boolean | Non | default false |
notifications | object | Non | |
notifications.viewed | boolean | Non | |
notifications.accepted | boolean | Non | |
notifications.declined | boolean | Non | |
notifications.question | boolean | Non | |
verifySignerEmail | boolean | Non | |
acceptPayments | boolean | Non | |
paymentTerms | "on_acceptance" | "on_date" | "days_after" | Non | |
paymentDueDate | string (date) | null | Non | |
paymentDueDays | integer | null | Non | |
customProperties | object of any | Non | |
archived | boolean | Non |
Réponse
136 champs
| Champ | Type | Toujours présent |
|---|---|---|
acceptPayments | boolean | Oui |
acceptance | object | null | Oui |
acceptance.acceptedAt | string (date-time) | Oui |
acceptance.chosen | object | Oui |
acceptance.chosen.addOns | array of object | Oui |
acceptance.chosen.addOns[].id | string (uuid) | Oui |
acceptance.chosen.addOns[].name | string | Oui |
acceptance.chosen.addOns[].total | integer | Oui |
acceptance.chosen.included | array of object | Oui |
acceptance.chosen.included[].id | string (uuid) | Oui |
acceptance.chosen.included[].name | string | Oui |
acceptance.chosen.included[].total | integer | Oui |
acceptance.chosen.package | object | Oui |
acceptance.chosen.package.id | string (uuid) | Oui |
acceptance.chosen.package.items | array of object | Oui |
acceptance.chosen.package.name | string | Oui |
acceptance.chosen.package.total | integer | Oui |
acceptance.dealId | string (uuid) | Oui |
acceptance.depositAmount | integer | Oui |
acceptance.id | string (uuid) | Oui |
acceptance.ipAddress | string | Oui |
acceptance.organizationId | string (uuid) | Oui |
acceptance.recipientId | string (uuid) | Oui |
acceptance.selection | object | Oui |
acceptance.selection.optionalItemIds | array of string (uuid) | Oui |
acceptance.selection.packageId | string (uuid) | Oui |
acceptance.signerEmail | string (email) | Oui |
acceptance.signerName | string | Oui |
acceptance.signerTaxId | string | Oui |
acceptance.totalAmount | integer | Oui |
acceptance.userAgent | string | Oui |
acceptance.version | integer | Oui |
acceptance.versionHash | string | Oui |
acceptance.versionId | string (uuid) | Oui |
acceptedAt | string | null (date-time) | Oui |
archived | boolean | Oui |
catalogRequestId | null dans les exemples | Oui |
clientSelection | object | null | Oui |
clientSelection.optionalItemIds | array of string (uuid) | Oui |
clientSelection.packageId | string (uuid) | Oui |
company | object | null | Oui |
company.id | string (uuid) | Oui |
company.name | string | Oui |
companyId | string | null (uuid) | Oui |
content | object | Oui |
content.items | array of object | Oui |
content.items[].description | null dans les exemples | Oui |
content.items[].id | string (uuid) | Oui |
content.items[].name | string | Oui |
content.items[].optional | boolean | Oui |
content.items[].quantity | integer | Oui |
content.items[].serviceId | null dans les exemples | Oui |
content.items[].unitPrice | integer | Oui |
content.packages | array of object | Oui |
content.packages[].description | null dans les exemples | Oui |
content.packages[].discount | null dans les exemples | Oui |
content.packages[].id | string (uuid) | Oui |
content.packages[].items | array of object | Oui |
content.packages[].items[].description | null dans les exemples | Oui |
content.packages[].items[].id | string (uuid) | Oui |
content.packages[].items[].name | string | Oui |
content.packages[].items[].optional | boolean | Oui |
content.packages[].items[].quantity | integer | Oui |
content.packages[].items[].serviceId | null dans les exemples | Oui |
content.packages[].items[].unitPrice | integer | Oui |
content.packages[].name | string | Oui |
content.packages[].recommended | boolean | Oui |
content.scope | null dans les exemples | Oui |
content.summary | string | null | Oui |
content.terms | string | null | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
currency | string | Oui |
currentVersion | integer | Oui |
customProperties | object of any | Oui |
declineComment | null dans les exemples | Oui |
declineReason | null dans les exemples | Oui |
declinedAt | null dans les exemples | Oui |
depositPercent | integer | null | Oui |
firstViewedAt | string | null (date-time) | Oui |
hasUnpublishedChanges | boolean | Oui |
id | string (uuid) | Oui |
invoice | null dans les exemples | Oui |
invoiceId | null dans les exemples | Oui |
language | string | null | Oui |
lastViewedAt | string | null (date-time) | Oui |
locked | boolean | Oui |
notifications | object | Oui |
notifications.accepted | boolean | Oui |
notifications.declined | boolean | Oui |
notifications.question | boolean | Oui |
notifications.viewed | boolean | Oui |
organizationId | string (uuid) | Oui |
owner | object | Oui |
owner.image | null dans les exemples | Oui |
owner.memberId | string (uuid) | Oui |
owner.name | string | Oui |
owner.userId | string (uuid) | Oui |
ownerId | string (uuid) | Oui |
paidAt | null dans les exemples | Oui |
payment | null dans les exemples | Oui |
paymentDueDate | null dans les exemples | Oui |
paymentDueDays | null dans les exemples | Oui |
paymentTerms | string | Oui |
primaryContactId | string | null (uuid) | Oui |
publicId | string | Oui |
reference | null dans les exemples | Oui |
reminderSentAt | null dans les exemples | Oui |
sentAt | string | null (date-time) | Oui |
share | object | Oui |
share.channels | array of object | Oui |
share.channels[].available | boolean | Oui |
share.channels[].id | string | Oui |
share.recipients | array of object | Oui |
share.recipients[].channel | string | Oui |
share.recipients[].contactId | string (uuid) | Oui |
share.recipients[].createdAt | string (date-time) | Oui |
share.recipients[].firstName | string | Oui |
share.recipients[].firstViewedAt | string (date-time) | Oui |
share.recipients[].id | string (uuid) | Oui |
share.recipients[].lastName | null dans les exemples | Oui |
share.recipients[].lastViewedAt | string (date-time) | Oui |
share.recipients[].mergedContactId | null dans les exemples | Oui |
share.recipients[].token | string | Oui |
share.recipients[].url | string (uri) | Oui |
share.recipients[].viewCount | integer | Oui |
share.url | string | null (uri) | Oui |
signatureVerification | null dans les exemples | Oui |
status | string | Oui |
title | string | null | Oui |
totalAmount | integer | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
validUntil | string (date-time) | Oui |
verifySignerEmail | boolean | Oui |
viewCount | integer | Oui |
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"
}'const res = await fetch("https://api.firmado.app/v1/deals/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/deals/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/deals/{id}", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PATCH"), "https://api.firmado.app/v1/deals/{id}");
request.Content = new StringContent(""""
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
50 champs
| Champ | Type | Toujours présent |
|---|---|---|
clientSelection | object | null | Oui |
clientSelection.optionalItemIds | array of string (uuid) | Oui |
clientSelection.packageId | string (uuid) | Oui |
events | array of object | Oui |
events[].actorId | string | null (uuid) | Oui |
events[].createdAt | string (date-time) | Oui |
events[].data | object of any | Oui |
events[].dealId | string (uuid) | Oui |
events[].id | string (uuid) | Oui |
events[].organizationId | string (uuid) | Oui |
events[].recipientId | string | null (uuid) | Oui |
events[].type | string | Oui |
firstViewedAt | string | null (date-time) | Oui |
lastViewedAt | string | null (date-time) | Oui |
recipients | array of object | Oui |
recipients[].channel | string | Oui |
recipients[].contactId | string (uuid) | Oui |
recipients[].createdAt | string (date-time) | Oui |
recipients[].firstName | string | Oui |
recipients[].firstViewedAt | string (date-time) | Oui |
recipients[].id | string (uuid) | Oui |
recipients[].lastName | null dans les exemples | Oui |
recipients[].lastViewedAt | string (date-time) | Oui |
recipients[].mergedContactId | null dans les exemples | Oui |
recipients[].token | string | Oui |
recipients[].viewCount | integer | Oui |
sectionSeconds | object | Oui |
sectionSeconds.pricing | integer | Non |
sectionSeconds.terms | integer | Non |
totalSeconds | integer | Oui |
versions | array of object | Oui |
versions[].createdAt | string (date-time) | Oui |
versions[].hash | string | Oui |
versions[].supersededAt | string | null (date-time) | Oui |
versions[].version | integer | Oui |
viewCount | integer | Oui |
views | array of object | Oui |
views[].dealId | string (uuid) | Oui |
views[].durationSeconds | integer | Oui |
views[].id | string (uuid) | Oui |
views[].ipAddress | string | Oui |
views[].lastSeenAt | string (date-time) | Oui |
views[].organizationId | string (uuid) | Oui |
views[].recipientId | string (uuid) | Oui |
views[].sectionSeconds | object | Oui |
views[].sectionSeconds.pricing | integer | Non |
views[].sectionSeconds.terms | integer | Non |
views[].startedAt | string (date-time) | Oui |
views[].userAgent | null dans les exemples | Oui |
views[].version | integer | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}/activity" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}/activity", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deals/{id}/activity",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/activity");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/activity")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deals/{id}/activity", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/activity"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deals/{id}/activity");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
reason | "price" | "timeline" | "scope" | "other" | Oui | |
comment | string | null | Non |
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": "…"
}'const res = await fetch("https://api.firmado.app/v1/deals/{id}/decline", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"reason": "price",
"comment": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/decline",
headers={"X-Api-Key": "fmd_..."},
json={
"reason": "price",
"comment": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/decline");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"reason": "price",
"comment": "…"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/decline")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"reason": "price",
"comment": "…"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"reason": "price",
"comment": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/decline", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/decline"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"reason": "price",
"comment": "…"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/decline");
request.Content = new StringContent(""""
{
"reason": "price",
"comment": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
68 champs
| Champ | Type | Toujours présent |
|---|---|---|
acceptPayments | boolean | Oui |
acceptance | null dans les exemples | Oui |
acceptedAt | null dans les exemples | Oui |
archived | boolean | Oui |
catalogRequestId | null dans les exemples | Oui |
clientSelection | null dans les exemples | Oui |
company | null dans les exemples | Oui |
companyId | null dans les exemples | Oui |
content | object | Oui |
content.items | array of any | Oui |
content.packages | array of any | Oui |
content.scope | null dans les exemples | Oui |
content.summary | null dans les exemples | Oui |
content.terms | string | null | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
currency | string | Oui |
currentVersion | integer | Oui |
customProperties | object of any | Oui |
declineComment | null dans les exemples | Oui |
declineReason | null dans les exemples | Oui |
declinedAt | null dans les exemples | Oui |
depositPercent | integer | null | Oui |
firstViewedAt | null dans les exemples | Oui |
hasUnpublishedChanges | boolean | Oui |
id | string (uuid) | Oui |
invoice | null dans les exemples | Oui |
invoiceId | null dans les exemples | Oui |
language | null dans les exemples | Oui |
lastViewedAt | null dans les exemples | Oui |
locked | boolean | Oui |
notifications | object | Oui |
notifications.accepted | boolean | Oui |
notifications.declined | boolean | Oui |
notifications.question | boolean | Oui |
notifications.viewed | boolean | Oui |
organizationId | string (uuid) | Oui |
owner | object | Oui |
owner.image | null dans les exemples | Oui |
owner.memberId | string (uuid) | Oui |
owner.name | string | Oui |
owner.userId | string (uuid) | Oui |
ownerId | string (uuid) | Oui |
paidAt | null dans les exemples | Oui |
payment | null dans les exemples | Oui |
paymentDueDate | null dans les exemples | Oui |
paymentDueDays | null dans les exemples | Oui |
paymentTerms | string | Oui |
primaryContactId | null dans les exemples | Oui |
publicId | string | Oui |
reference | string | null | Oui |
reminderSentAt | null dans les exemples | Oui |
sentAt | null dans les exemples | Oui |
share | object | Oui |
share.channels | array of object | Oui |
share.channels[].available | boolean | Oui |
share.channels[].id | string | Oui |
share.recipients | array of any | Oui |
share.url | null dans les exemples | Oui |
signatureVerification | null dans les exemples | Oui |
status | string | Oui |
title | string | Oui |
totalAmount | integer | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
validUntil | string (date-time) | Oui |
verifySignerEmail | boolean | Oui |
viewCount | integer | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/deals/{id}/duplicate" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}/duplicate", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/duplicate",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/duplicate");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/duplicate")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/duplicate", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/duplicate"))
.header("X-Api-Key", "fmd_...")
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/duplicate");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
field | string | Oui | max length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$ |
Réponse
13 champs
| Champ | Type | Toujours présent |
|---|---|---|
entries | array of object | Oui |
entries[].changedAt | string (date-time) | Oui |
entries[].changedBy | object | Oui |
entries[].changedBy.id | string (uuid) | Oui |
entries[].changedBy.name | string | Oui |
entries[].id | string (uuid) | Oui |
entries[].newLabel | string | null | Oui |
entries[].newValue | string | Oui |
entries[].oldLabel | null dans les exemples | Oui |
entries[].oldValue | string | null | Oui |
field | string | Oui |
limit | integer | Oui |
total | integer | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}/history" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}/history", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deals/{id}/history",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/history");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/history")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deals/{id}/history", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/history"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deals/{id}/history");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
48 champs
| Champ | Type | Toujours présent |
|---|---|---|
selection | object | Oui |
selection.optionalItemIds | array of any | Oui |
selection.packageId | string | null (uuid) | Oui |
snapshot | object | Oui |
snapshot.company | object | null | Oui |
snapshot.company.name | string | Oui |
snapshot.content | object | Oui |
snapshot.content.items | array of object | Oui |
snapshot.content.items[].description | null dans les exemples | Oui |
snapshot.content.items[].id | string (uuid) | Oui |
snapshot.content.items[].name | string | Oui |
snapshot.content.items[].optional | boolean | Oui |
snapshot.content.items[].quantity | integer | Oui |
snapshot.content.items[].serviceId | null dans les exemples | Oui |
snapshot.content.items[].unitPrice | integer | Oui |
snapshot.content.packages | array of object | Oui |
snapshot.content.packages[].description | null dans les exemples | Oui |
snapshot.content.packages[].discount | null dans les exemples | Oui |
snapshot.content.packages[].id | string (uuid) | Oui |
snapshot.content.packages[].items | array of object | Oui |
snapshot.content.packages[].name | string | Oui |
snapshot.content.packages[].recommended | boolean | Oui |
snapshot.content.scope | null dans les exemples | Oui |
snapshot.content.summary | string | null | Oui |
snapshot.content.terms | string | null | Oui |
snapshot.currency | string | Oui |
snapshot.depositPercent | integer | null | Oui |
snapshot.language | string | Oui |
snapshot.organization | object | Oui |
snapshot.organization.logo | null dans les exemples | Oui |
snapshot.organization.name | string | Oui |
snapshot.reference | string | null | Oui |
snapshot.templateId | string | Oui |
snapshot.theme | object | Oui |
snapshot.theme.accentColor | string | Oui |
snapshot.theme.backgroundColor | string | Oui |
snapshot.theme.bodyFont | string | Oui |
snapshot.theme.cornerRadius | string | Oui |
snapshot.theme.headingFont | string | Oui |
snapshot.theme.logoUrl | string (uri) | Non |
snapshot.theme.primaryColor | string | Oui |
snapshot.theme.textColor | string | Oui |
snapshot.title | string | null | Oui |
snapshot.validUntil | string (date-time) | Oui |
totals | object | Oui |
totals.depositAmount | integer | null | Oui |
totals.total | integer | Oui |
url | string (uri) | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}/preview" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}/preview", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deals/{id}/preview",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/preview");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/preview")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deals/{id}/preview", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/preview"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deals/{id}/preview");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
title | string | null | Non | |
reference | string | null | Non | |
companyId | string (uuid) | null | Non | |
primaryContactId | string (uuid) | null | Non | |
ownerId | string | Non | min length 1 |
currency | string | Non | pattern ^[A-Z]{3}$ |
validUntil | string | Non | min length 1 |
depositPercent | integer | null | Non | |
language | "pt" | "es" | "en" | "fr" | null | Non | |
content | object | Non | |
content.summary | string | null | Non | |
content.scope | string | null | Non | |
content.terms | string | null | Non | |
content.packages | array of object | Non | max items 3 |
content.packages[].id | string | Non | min length 1 · max length 64 |
content.packages[].name | string | Oui | min length 1 · max length 100 |
content.packages[].description | string | null | Non | |
content.packages[].recommended | boolean | Non | default false |
content.packages[].items | array of object | Non | max items 50 |
content.packages[].items[].id | string | Non | min length 1 · max length 64 |
content.packages[].items[].serviceId | string (uuid) | null | Non | |
content.packages[].items[].name | string | Oui | min length 1 · max length 200 |
content.packages[].items[].description | string | null | Non | |
content.packages[].items[].quantity | number | Non | min 0 · max 100000 · default 1 |
content.packages[].items[].unitPrice | integer | Oui | min 0 · max 10000000000000 |
content.packages[].items[].optional | boolean | Non | default false |
content.packages[].discount | object | null | Non | |
content.items | array of object | Non | max items 100 |
content.items[].id | string | Non | min length 1 · max length 64 |
content.items[].serviceId | string (uuid) | null | Non | |
content.items[].name | string | Oui | min length 1 · max length 200 |
content.items[].description | string | null | Non | |
content.items[].quantity | number | Non | min 0 · max 100000 · default 1 |
content.items[].unitPrice | integer | Oui | min 0 · max 10000000000000 |
content.items[].optional | boolean | Non | default false |
notifications | object | Non | |
notifications.viewed | boolean | Non | |
notifications.accepted | boolean | Non | |
notifications.declined | boolean | Non | |
notifications.question | boolean | Non | |
verifySignerEmail | boolean | Non | |
acceptPayments | boolean | Non | |
paymentTerms | "on_acceptance" | "on_date" | "days_after" | Non | |
paymentDueDate | string (date) | null | Non | |
paymentDueDays | integer | null | Non | |
customProperties | object of any | Non | |
archived | boolean | Non | |
templateId | "classic" | "modern" | "minimal" | "bold" | Non | |
theme | object | Non | |
theme.primaryColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.accentColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.backgroundColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.textColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.headingFont | string | Non | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.bodyFont | string | Non | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.coverImageUrl | string (uri) | Non | max length 2000 |
theme.cornerRadius | "none" | "small" | "medium" | "large" | Non |
Réponse
47 champs
| Champ | Type | Toujours présent |
|---|---|---|
selection | object | Oui |
selection.optionalItemIds | array of any | Oui |
selection.packageId | string | null (uuid) | Oui |
snapshot | object | Oui |
snapshot.company | object | null | Oui |
snapshot.company.name | string | Oui |
snapshot.content | object | Oui |
snapshot.content.items | array of object | Oui |
snapshot.content.items[].description | null dans les exemples | Oui |
snapshot.content.items[].id | string (uuid) | Oui |
snapshot.content.items[].name | string | Oui |
snapshot.content.items[].optional | boolean | Oui |
snapshot.content.items[].quantity | integer | Oui |
snapshot.content.items[].serviceId | null dans les exemples | Oui |
snapshot.content.items[].unitPrice | integer | Oui |
snapshot.content.packages | array of object | Oui |
snapshot.content.packages[].description | null dans les exemples | Oui |
snapshot.content.packages[].discount | object | Oui |
snapshot.content.packages[].id | string (uuid) | Oui |
snapshot.content.packages[].items | array of object | Oui |
snapshot.content.packages[].name | string | Oui |
snapshot.content.packages[].recommended | boolean | Oui |
snapshot.content.scope | null dans les exemples | Oui |
snapshot.content.summary | null dans les exemples | Oui |
snapshot.content.terms | null dans les exemples | Oui |
snapshot.currency | string | Oui |
snapshot.depositPercent | integer | null | Oui |
snapshot.language | string | Oui |
snapshot.organization | object | Oui |
snapshot.organization.logo | null dans les exemples | Oui |
snapshot.organization.name | string | Oui |
snapshot.reference | null dans les exemples | Oui |
snapshot.templateId | string | Oui |
snapshot.theme | object | Oui |
snapshot.theme.accentColor | string | Oui |
snapshot.theme.backgroundColor | string | Oui |
snapshot.theme.bodyFont | string | Oui |
snapshot.theme.cornerRadius | string | Oui |
snapshot.theme.headingFont | string | Oui |
snapshot.theme.primaryColor | string | Oui |
snapshot.theme.textColor | string | Oui |
snapshot.title | string | Oui |
snapshot.validUntil | string (date-time) | Oui |
totals | object | Oui |
totals.depositAmount | integer | null | Oui |
totals.total | integer | Oui |
url | string (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"
}'const res = await fetch("https://api.firmado.app/v1/deals/{id}/preview", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/preview",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/preview");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/preview")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/preview", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/preview"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/preview");
request.Content = new StringContent(""""
{
"title": "…",
"reference": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
16 champs
| Champ | Type | Toujours présent |
|---|---|---|
[].answer | null dans les exemples | Oui |
[].answerSentTo | null dans les exemples | Oui |
[].answeredAt | null dans les exemples | Oui |
[].answeredBy | null dans les exemples | Oui |
[].contact | object | Oui |
[].contact.emails | array of string (email) | Oui |
[].contact.id | string (uuid) | Oui |
[].contact.name | string | Oui |
[].contact.phones | array of any | Oui |
[].contact.socialProfiles | object | Oui |
[].createdAt | string (date-time) | Oui |
[].email | string (email) | Oui |
[].fromRecipientLink | boolean | Oui |
[].id | string (uuid) | Oui |
[].message | string | Oui |
[].name | string | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deals/{id}/questions" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}/questions", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deals/{id}/questions",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/questions");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/questions")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deals/{id}/questions", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/questions"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deals/{id}/questions");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui | |
questionId | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
answered | boolean | Oui |
Réponse
16 champs
| Champ | Type | Toujours présent |
|---|---|---|
answer | null dans les exemples | Oui |
answerSentTo | null dans les exemples | Oui |
answeredAt | string | null (date-time) | Oui |
answeredBy | string | null | Oui |
contact | object | Oui |
contact.emails | array of string (email) | Oui |
contact.id | string (uuid) | Oui |
contact.name | string | Oui |
contact.phones | array of any | Oui |
contact.socialProfiles | object | Oui |
createdAt | string (date-time) | Oui |
email | string (email) | Oui |
fromRecipientLink | boolean | Oui |
id | string (uuid) | Oui |
message | string | Oui |
name | string | Oui |
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
}'const res = await fetch("https://api.firmado.app/v1/deals/{id}/questions/{questionId}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"answered": true
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/deals/{id}/questions/{questionId}",
headers={"X-Api-Key": "fmd_..."},
json={
"answered": True,
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/questions/{questionId}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"answered": true
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/questions/{questionId}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"answered": true
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"answered": true
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/deals/{id}/questions/{questionId}", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/questions/{questionId}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"answered": true
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PATCH"), "https://api.firmado.app/v1/deals/{id}/questions/{questionId}");
request.Content = new StringContent(""""
{
"answered": true
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui | |
questionId | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
message | string | Oui | min length 1 · max length 5000 |
Réponse
16 champs
| Champ | Type | Toujours présent |
|---|---|---|
answer | string | Oui |
answerSentTo | string (email) | Oui |
answeredAt | string (date-time) | Oui |
answeredBy | string | Oui |
contact | object | Oui |
contact.emails | array of string (email) | Oui |
contact.id | string (uuid) | Oui |
contact.name | string | Oui |
contact.phones | array of any | Oui |
contact.socialProfiles | object | Oui |
createdAt | string (date-time) | Oui |
email | string (email) | Oui |
fromRecipientLink | boolean | Oui |
id | string (uuid) | Oui |
message | string | Oui |
name | string | Oui |
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": "…"
}'const res = await fetch("https://api.firmado.app/v1/deals/{id}/questions/{questionId}/reply", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"message": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/questions/{questionId}/reply",
headers={"X-Api-Key": "fmd_..."},
json={
"message": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/questions/{questionId}/reply");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"message": "…"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/questions/{questionId}/reply")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"message": "…"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"message": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/questions/{questionId}/reply", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/questions/{questionId}/reply"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"message": "…"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/questions/{questionId}/reply");
request.Content = new StringContent(""""
{
"message": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
contactId | string (uuid) | Oui | |
channel | "link" | "email" | "whatsapp" | Non | default "link" |
Réponse
12 champs
| Champ | Type | Toujours présent |
|---|---|---|
channel | string | Oui |
contactId | string (uuid) | Oui |
createdAt | string (date-time) | Oui |
firstName | string | Oui |
firstViewedAt | null dans les exemples | Oui |
id | string (uuid) | Oui |
lastName | string | null | Oui |
lastViewedAt | null dans les exemples | Oui |
mergedContactId | null dans les exemples | Oui |
token | string | Oui |
url | string (uri) | Oui |
viewCount | integer | Oui |
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"
}'const res = await fetch("https://api.firmado.app/v1/deals/{id}/recipients", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"channel": "link"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/recipients",
headers={"X-Api-Key": "fmd_..."},
json={
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"channel": "link",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/recipients");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"channel": "link"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/recipients")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"channel": "link"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"channel": "link"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/recipients", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/recipients"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"channel": "link"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/recipients");
request.Content = new StringContent(""""
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"channel": "link"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui | |
recipientId | string | Oui |
Exemple
curl -X DELETE "https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}", {
method: "DELETE",
headers: { "X-Api-Key": "fmd_..." },
})
if (!res.ok) throw new Error(await res.text())import requests
res = requests.delete(
"https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}")
req = Net::HTTP::Delete.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }req, _ := http.NewRequest("DELETE", "https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}"))
.header("X-Api-Key", "fmd_...")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://api.firmado.app/v1/deals/{id}/recipients/{recipientId}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
validUntil | string (date-time) | null | Non | default null |
Réponse
88 champs
| Champ | Type | Toujours présent |
|---|---|---|
acceptPayments | boolean | Oui |
acceptance | null dans les exemples | Oui |
acceptedAt | null dans les exemples | Oui |
archived | boolean | Oui |
catalogRequestId | null dans les exemples | Oui |
clientSelection | null dans les exemples | Oui |
company | null dans les exemples | Oui |
companyId | null dans les exemples | Oui |
content | object | Oui |
content.items | array of object | Oui |
content.items[].description | null dans les exemples | Oui |
content.items[].id | string (uuid) | Oui |
content.items[].name | string | Oui |
content.items[].optional | boolean | Oui |
content.items[].quantity | integer | Oui |
content.items[].serviceId | null dans les exemples | Oui |
content.items[].unitPrice | integer | Oui |
content.packages | array of object | Oui |
content.packages[].description | null dans les exemples | Oui |
content.packages[].discount | null dans les exemples | Oui |
content.packages[].id | string (uuid) | Oui |
content.packages[].items | array of object | Oui |
content.packages[].items[].description | null dans les exemples | Oui |
content.packages[].items[].id | string (uuid) | Oui |
content.packages[].items[].name | string | Oui |
content.packages[].items[].optional | boolean | Oui |
content.packages[].items[].quantity | integer | Oui |
content.packages[].items[].serviceId | null dans les exemples | Oui |
content.packages[].items[].unitPrice | integer | Oui |
content.packages[].name | string | Oui |
content.packages[].recommended | boolean | Oui |
content.scope | null dans les exemples | Oui |
content.summary | string | Oui |
content.terms | string | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
currency | string | Oui |
currentVersion | integer | Oui |
customProperties | object of any | Oui |
declineComment | null dans les exemples | Oui |
declineReason | null dans les exemples | Oui |
declinedAt | null dans les exemples | Oui |
depositPercent | integer | Oui |
firstViewedAt | null dans les exemples | Oui |
hasUnpublishedChanges | boolean | Oui |
id | string (uuid) | Oui |
invoice | null dans les exemples | Oui |
invoiceId | null dans les exemples | Oui |
language | null dans les exemples | Oui |
lastViewedAt | null dans les exemples | Oui |
locked | boolean | Oui |
notifications | object | Oui |
notifications.accepted | boolean | Oui |
notifications.declined | boolean | Oui |
notifications.question | boolean | Oui |
notifications.viewed | boolean | Oui |
organizationId | string (uuid) | Oui |
owner | object | Oui |
owner.image | null dans les exemples | Oui |
owner.memberId | string (uuid) | Oui |
owner.name | string | Oui |
owner.userId | string (uuid) | Oui |
ownerId | string (uuid) | Oui |
paidAt | null dans les exemples | Oui |
payment | null dans les exemples | Oui |
paymentDueDate | null dans les exemples | Oui |
paymentDueDays | null dans les exemples | Oui |
paymentTerms | string | Oui |
primaryContactId | null dans les exemples | Oui |
publicId | string | Oui |
reference | null dans les exemples | Oui |
reminderSentAt | null dans les exemples | Oui |
sentAt | string (date-time) | Oui |
share | object | Oui |
share.channels | array of object | Oui |
share.channels[].available | boolean | Oui |
share.channels[].id | string | Oui |
share.recipients | array of any | Oui |
share.url | string (uri) | Oui |
signatureVerification | null dans les exemples | Oui |
status | string | Oui |
title | string | Oui |
totalAmount | integer | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
validUntil | string (date-time) | Oui |
verifySignerEmail | boolean | Oui |
viewCount | integer | Oui |
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"
}'const res = await fetch("https://api.firmado.app/v1/deals/{id}/reopen", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"validUntil": "2026-11-21T14:00:00.000Z"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/reopen",
headers={"X-Api-Key": "fmd_..."},
json={
"validUntil": "2026-11-21T14:00:00.000Z",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/reopen");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"validUntil": "2026-11-21T14:00:00.000Z"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/reopen")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"validUntil": "2026-11-21T14:00:00.000Z"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"validUntil": "2026-11-21T14:00:00.000Z"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/reopen", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/reopen"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"validUntil": "2026-11-21T14:00:00.000Z"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/reopen");
request.Content = new StringContent(""""
{
"validUntil": "2026-11-21T14:00:00.000Z"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
106 champs
| Champ | Type | Toujours présent |
|---|---|---|
acceptPayments | boolean | Oui |
acceptance | null dans les exemples | Oui |
acceptedAt | null dans les exemples | Oui |
archived | boolean | Oui |
catalogRequestId | null dans les exemples | Oui |
clientSelection | object | null | Oui |
clientSelection.optionalItemIds | array of string (uuid) | Oui |
clientSelection.packageId | string (uuid) | Oui |
company | object | null | Oui |
company.id | string (uuid) | Oui |
company.name | string | Oui |
companyId | string | null (uuid) | Oui |
content | object | Oui |
content.items | array of object | Oui |
content.items[].description | null dans les exemples | Oui |
content.items[].id | string (uuid) | Oui |
content.items[].name | string | Oui |
content.items[].optional | boolean | Oui |
content.items[].quantity | integer | Oui |
content.items[].serviceId | null dans les exemples | Oui |
content.items[].unitPrice | integer | Oui |
content.packages | array of object | Oui |
content.packages[].description | null dans les exemples | Oui |
content.packages[].discount | object | null | Oui |
content.packages[].discount.type | string | Oui |
content.packages[].discount.value | integer | Oui |
content.packages[].id | string (uuid) | Oui |
content.packages[].items | array of object | Oui |
content.packages[].items[].description | null dans les exemples | Oui |
content.packages[].items[].id | string (uuid) | Oui |
content.packages[].items[].name | string | Oui |
content.packages[].items[].optional | boolean | Oui |
content.packages[].items[].quantity | integer | Oui |
content.packages[].items[].serviceId | null dans les exemples | Oui |
content.packages[].items[].unitPrice | integer | Oui |
content.packages[].name | string | Oui |
content.packages[].recommended | boolean | Oui |
content.scope | null dans les exemples | Oui |
content.summary | string | null | Oui |
content.terms | string | null | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
currency | string | Oui |
currentVersion | integer | Oui |
customProperties | object of any | Oui |
declineComment | null dans les exemples | Oui |
declineReason | null dans les exemples | Oui |
declinedAt | null dans les exemples | Oui |
depositPercent | integer | null | Oui |
firstViewedAt | string | null (date-time) | Oui |
hasUnpublishedChanges | boolean | Oui |
id | string (uuid) | Oui |
invoice | null dans les exemples | Oui |
invoiceId | null dans les exemples | Oui |
language | null dans les exemples | Oui |
lastViewedAt | string | null (date-time) | Oui |
locked | boolean | Oui |
notifications | object | Oui |
notifications.accepted | boolean | Oui |
notifications.declined | boolean | Oui |
notifications.question | boolean | Oui |
notifications.viewed | boolean | Oui |
organizationId | string (uuid) | Oui |
owner | object | Oui |
owner.image | null dans les exemples | Oui |
owner.memberId | string (uuid) | Oui |
owner.name | string | Oui |
owner.userId | string (uuid) | Oui |
ownerId | string (uuid) | Oui |
paidAt | null dans les exemples | Oui |
payment | null dans les exemples | Oui |
paymentDueDate | null dans les exemples | Oui |
paymentDueDays | integer | null | Oui |
paymentTerms | string | Oui |
primaryContactId | string | null (uuid) | Oui |
publicId | string | Oui |
reference | null dans les exemples | Oui |
reminderSentAt | null dans les exemples | Oui |
sentAt | string (date-time) | Oui |
share | object | Oui |
share.channels | array of object | Oui |
share.channels[].available | boolean | Oui |
share.channels[].id | string | Oui |
share.recipients | array of object | Oui |
share.recipients[].channel | string | Oui |
share.recipients[].contactId | string (uuid) | Oui |
share.recipients[].createdAt | string (date-time) | Oui |
share.recipients[].firstName | string | Oui |
share.recipients[].firstViewedAt | string (date-time) | Oui |
share.recipients[].id | string (uuid) | Oui |
share.recipients[].lastName | null dans les exemples | Oui |
share.recipients[].lastViewedAt | string (date-time) | Oui |
share.recipients[].mergedContactId | null dans les exemples | Oui |
share.recipients[].token | string | Oui |
share.recipients[].url | string (uri) | Oui |
share.recipients[].viewCount | integer | Oui |
share.url | string (uri) | Oui |
signatureVerification | null dans les exemples | Oui |
status | string | Oui |
title | string | Oui |
totalAmount | integer | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
validUntil | string (date-time) | Oui |
verifySignerEmail | boolean | Oui |
viewCount | integer | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/deals/{id}/send" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}/send", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/send",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/send");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/send")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/send", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/send"))
.header("X-Api-Key", "fmd_...")
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/send");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
6 champs
| Champ | Type | Toujours présent |
|---|---|---|
email | string (email) | Oui |
sendCount | integer | Oui |
sentAt | string (date-time) | Oui |
verifiedAt | null dans les exemples | Oui |
verifiedIp | null dans les exemples | Oui |
verifiedUserAgent | null dans les exemples | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/deals/{id}/signature/resend" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/{id}/signature/resend", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/signature/resend",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/signature/resend");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/signature/resend")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/signature/resend", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/signature/resend"))
.header("X-Api-Key", "fmd_...")
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/signature/resend");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
q | string | Non | min length 1 · max length 200 |
ownerId | string | Non | |
companyId | string (uuid) | Non | |
contactId | string (uuid) | Non | |
dueFrom | string (date-time) | Non | |
dueBefore | string (date-time) | Non |
Réponse
26 champs
| Champ | Type | Toujours présent |
|---|---|---|
columns | array of object | Oui |
columns[].amount | integer | Oui |
columns[].count | integer | Oui |
columns[].deals | array of object | Oui |
columns[].deals[].acceptedAt | null dans les exemples | Oui |
columns[].deals[].archived | boolean | Oui |
columns[].deals[].companyId | string | null (uuid) | Oui |
columns[].deals[].companyName | string | null | Oui |
columns[].deals[].createdAt | string (date-time) | Oui |
columns[].deals[].currency | string | Oui |
columns[].deals[].hasUnpublishedChanges | boolean | Oui |
columns[].deals[].id | string (uuid) | Oui |
columns[].deals[].lastViewedAt | null dans les exemples | Oui |
columns[].deals[].ownerId | string (uuid) | Oui |
columns[].deals[].ownerImage | null dans les exemples | Oui |
columns[].deals[].ownerName | string | Oui |
columns[].deals[].paidAt | null dans les exemples | Oui |
columns[].deals[].reference | null dans les exemples | Oui |
columns[].deals[].sentAt | string | null (date-time) | Oui |
columns[].deals[].status | string | Oui |
columns[].deals[].title | string | Oui |
columns[].deals[].totalAmount | integer | Oui |
columns[].deals[].updatedAt | string (date-time) | Oui |
columns[].deals[].validUntil | string (date-time) | Oui |
columns[].deals[].viewCount | integer | Oui |
columns[].status | string | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/deals/board" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/deals/board", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/deals/board",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/board");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/board")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/deals/board", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/board"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/deals/board");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();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éerdeal.updatedModifierdeal.sentModifierdeal.viewedModifierdeal.questionModifierdeal.acceptedModifierdeal.declinedModifierdeal.expiredModifierdeal.paidModifierdeal.deletedSupprimer