Proposals
Proposals: content, packages, recipients, sending, status and clients' questions.
Values for the examples
Type them once and every example on this page uses them. The API key stays on this page only and is never saved.
GET/v1/deal-defaults
What new proposals start with: validity, texts, settings.
ListOn success: 200.Permission: Read.
Response
19 fields
| Field | Type | Always there |
|---|---|---|
acceptPayments | boolean | Yes |
currency | string | Yes |
depositPercent | integer | null | Yes |
nextReference | string | null | Yes |
notifications | object | Yes |
notifications.accepted | boolean | Yes |
notifications.declined | boolean | Yes |
notifications.question | boolean | Yes |
notifications.viewed | boolean | Yes |
paymentDueDays | null in the examples | Yes |
paymentTerms | string | Yes |
reference | object | Yes |
reference.auto | boolean | Yes |
reference.digits | integer | Yes |
reference.next | integer | Yes |
reference.prefix | string | Yes |
terms | string | null | Yes |
validityDays | integer | Yes |
verifySignerEmail | boolean | Yes |
Example
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();Response (200), with sample values:
{
"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
Changes what new proposals start with.
Update/On success: 200.Permission: Update.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
currency | string | Yes | pattern ^[A-Z]{3}$ |
validityDays | integer | Yes | min 1 · max 365 |
depositPercent | integer | null | Yes | |
terms | string | null | Yes | |
notifications | object | Yes | |
notifications.viewed | boolean | Yes | |
notifications.accepted | boolean | Yes | |
notifications.declined | boolean | Yes | |
notifications.question | boolean | Yes | |
verifySignerEmail | boolean | No | default false |
acceptPayments | boolean | No | default false |
paymentTerms | "on_acceptance" | "days_after" | No | default "on_acceptance" |
paymentDueDays | integer | null | No | default null |
reference | object | Yes | |
reference.auto | boolean | Yes | |
reference.prefix | string | Yes | max length 20 |
reference.digits | integer | Yes | min 1 · max 8 |
reference.next | integer | Yes | min 1 · max 999999999 |
Response
19 fields
| Field | Type | Always there |
|---|---|---|
acceptPayments | boolean | Yes |
currency | string | Yes |
depositPercent | integer | Yes |
nextReference | string | Yes |
notifications | object | Yes |
notifications.accepted | boolean | Yes |
notifications.declined | boolean | Yes |
notifications.question | boolean | Yes |
notifications.viewed | boolean | Yes |
paymentDueDays | null in the examples | Yes |
paymentTerms | string | Yes |
reference | object | Yes |
reference.auto | boolean | Yes |
reference.digits | integer | Yes |
reference.next | integer | Yes |
reference.prefix | string | Yes |
terms | string | Yes |
validityDays | integer | Yes |
verifySignerEmail | boolean | Yes |
Example
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();Response (200), with sample values:
{
"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
Lists the proposal templates to start a proposal from.
ListOn success: 200.Permission: Read.
Response
11 fields
| Field | Type | Always there |
|---|---|---|
[].description | string | Yes |
[].id | string | Yes |
[].name | string | Yes |
[].theme | object | Yes |
[].theme.accentColor | string | Yes |
[].theme.backgroundColor | string | Yes |
[].theme.bodyFont | string | Yes |
[].theme.cornerRadius | string | Yes |
[].theme.headingFont | string | Yes |
[].theme.primaryColor | string | Yes |
[].theme.textColor | string | Yes |
Example
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();Response (200), with sample values:
[
{
"id": "…",
"name": "Ana Lima",
"description": "…",
"theme": {
"primaryColor": "…",
"accentColor": "…",
"backgroundColor": "…",
"textColor": "…",
"headingFont": "…",
"bodyFont": "…",
"cornerRadius": "…"
}
}
]GET/v1/deals
Lists and searches proposals, by status, owner, contact or date.
ListOn success: 200.Permission: Read.
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No | min 1 · default 1 |
pageSize | integer | No | min 1 · max 100 · default 25 |
q | string | No | min length 1 · max length 200 |
archived | string | No | |
status | array of "draft" | "sent" | "viewed" | "negotiating" | "accepted" | "declined" | "expired" | "paid" | No | max items 8 |
companyId | string (uuid) | No | |
ownerId | string | No | |
contactId | string (uuid) | No | |
dueFrom | string (date-time) | No | |
dueBefore | string (date-time) | No | |
sort | "createdAt" | "updatedAt" | "title" | "totalAmount" | "validUntil" | "viewCount" | No | default "createdAt" |
order | "asc" | "desc" | No | default "desc" |
Response
25 fields
| Field | Type | Always there |
|---|---|---|
data | array of object | Yes |
data[].acceptedAt | string | null (date-time) | Yes |
data[].archived | boolean | Yes |
data[].companyId | string | null (uuid) | Yes |
data[].companyName | string | null | Yes |
data[].createdAt | string (date-time) | Yes |
data[].currency | string | Yes |
data[].hasUnpublishedChanges | boolean | Yes |
data[].id | string (uuid) | Yes |
data[].lastViewedAt | string | null (date-time) | Yes |
data[].ownerId | string (uuid) | Yes |
data[].ownerImage | null in the examples | Yes |
data[].ownerName | string | Yes |
data[].paidAt | string | null (date-time) | Yes |
data[].reference | string | null | Yes |
data[].sentAt | string | null (date-time) | Yes |
data[].status | string | Yes |
data[].title | string | Yes |
data[].totalAmount | integer | Yes |
data[].updatedAt | string (date-time) | Yes |
data[].validUntil | string (date-time) | Yes |
data[].viewCount | integer | Yes |
page | integer | Yes |
pageSize | integer | Yes |
total | integer | Yes |
Example
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();Response (200), with sample values:
{
"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
Creates a proposal draft.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | null | No | |
reference | string | null | No | |
companyId | string (uuid) | null | No | |
primaryContactId | string (uuid) | null | No | |
ownerId | string | No | min length 1 |
currency | string | No | pattern ^[A-Z]{3}$ |
validUntil | string | No | min length 1 |
depositPercent | integer | null | No | |
language | "pt" | "es" | "en" | "fr" | null | No | |
content | object | No | |
content.summary | string | null | No | |
content.scope | string | null | No | |
content.terms | string | null | No | |
content.packages | array of object | No | max items 3 |
content.packages[].id | string | No | min length 1 · max length 64 |
content.packages[].name | string | Yes | min length 1 · max length 100 |
content.packages[].description | string | null | No | |
content.packages[].recommended | boolean | No | default false |
content.packages[].items | array of object | No | max items 50 |
content.packages[].items[].id | string | No | min length 1 · max length 64 |
content.packages[].items[].serviceId | string (uuid) | null | No | |
content.packages[].items[].name | string | Yes | min length 1 · max length 200 |
content.packages[].items[].description | string | null | No | |
content.packages[].items[].quantity | number | No | min 0 · max 100000 · default 1 |
content.packages[].items[].unitPrice | integer | Yes | min 0 · max 10000000000000 |
content.packages[].items[].optional | boolean | No | default false |
content.packages[].discount | object | null | No | |
content.items | array of object | No | max items 100 |
content.items[].id | string | No | min length 1 · max length 64 |
content.items[].serviceId | string (uuid) | null | No | |
content.items[].name | string | Yes | min length 1 · max length 200 |
content.items[].description | string | null | No | |
content.items[].quantity | number | No | min 0 · max 100000 · default 1 |
content.items[].unitPrice | integer | Yes | min 0 · max 10000000000000 |
content.items[].optional | boolean | No | default false |
notifications | object | No | |
notifications.viewed | boolean | No | |
notifications.accepted | boolean | No | |
notifications.declined | boolean | No | |
notifications.question | boolean | No | |
verifySignerEmail | boolean | No | |
acceptPayments | boolean | No | |
paymentTerms | "on_acceptance" | "on_date" | "days_after" | No | |
paymentDueDate | string (date) | null | No | |
paymentDueDays | integer | null | No | |
customProperties | object of any | No | |
archived | boolean | No |
Response
92 fields
| Field | Type | Always there |
|---|---|---|
acceptPayments | boolean | Yes |
acceptance | null in the examples | Yes |
acceptedAt | null in the examples | Yes |
archived | boolean | Yes |
catalogRequestId | null in the examples | Yes |
clientSelection | null in the examples | Yes |
company | object | null | Yes |
company.id | string (uuid) | Yes |
company.name | string | Yes |
companyId | string | null (uuid) | Yes |
content | object | Yes |
content.items | array of object | Yes |
content.items[].description | null in the examples | Yes |
content.items[].id | string (uuid) | Yes |
content.items[].name | string | Yes |
content.items[].optional | boolean | Yes |
content.items[].quantity | integer | Yes |
content.items[].serviceId | string | null (uuid) | Yes |
content.items[].unitPrice | integer | Yes |
content.packages | array of object | Yes |
content.packages[].description | null in the examples | Yes |
content.packages[].discount | object | null | Yes |
content.packages[].discount.type | string | Yes |
content.packages[].discount.value | integer | Yes |
content.packages[].id | string (uuid) | Yes |
content.packages[].items | array of object | Yes |
content.packages[].items[].description | null in the examples | Yes |
content.packages[].items[].id | string (uuid) | Yes |
content.packages[].items[].name | string | Yes |
content.packages[].items[].optional | boolean | Yes |
content.packages[].items[].quantity | integer | Yes |
content.packages[].items[].serviceId | null in the examples | Yes |
content.packages[].items[].unitPrice | integer | Yes |
content.packages[].name | string | Yes |
content.packages[].recommended | boolean | Yes |
content.scope | null in the examples | Yes |
content.summary | string | null | Yes |
content.terms | string | null | Yes |
createdAt | string (date-time) | Yes |
createdBy | string | null (uuid) | Yes |
currency | string | Yes |
currentVersion | integer | Yes |
customProperties | object of any | Yes |
declineComment | null in the examples | Yes |
declineReason | null in the examples | Yes |
declinedAt | null in the examples | Yes |
depositPercent | integer | null | Yes |
firstViewedAt | null in the examples | Yes |
hasUnpublishedChanges | boolean | Yes |
id | string (uuid) | Yes |
invoice | null in the examples | Yes |
invoiceId | null in the examples | Yes |
language | string | null | Yes |
lastViewedAt | null in the examples | Yes |
locked | boolean | Yes |
notifications | object | Yes |
notifications.accepted | boolean | Yes |
notifications.declined | boolean | Yes |
notifications.question | boolean | Yes |
notifications.viewed | boolean | Yes |
organizationId | string (uuid) | Yes |
owner | object | Yes |
owner.image | null in the examples | Yes |
owner.memberId | string (uuid) | Yes |
owner.name | string | Yes |
owner.userId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
paidAt | null in the examples | Yes |
payment | null in the examples | Yes |
paymentDueDate | null in the examples | Yes |
paymentDueDays | integer | null | Yes |
paymentTerms | string | Yes |
primaryContactId | string | null (uuid) | Yes |
publicId | string | Yes |
reference | string | null | Yes |
reminderSentAt | null in the examples | Yes |
sentAt | null in the examples | Yes |
share | object | Yes |
share.channels | array of object | Yes |
share.channels[].available | boolean | Yes |
share.channels[].id | string | Yes |
share.recipients | array of any | Yes |
share.url | null in the examples | Yes |
signatureVerification | null in the examples | Yes |
status | string | Yes |
title | string | null | Yes |
totalAmount | integer | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string | null (uuid) | Yes |
validUntil | string (date-time) | Yes |
verifySignerEmail | boolean | Yes |
viewCount | integer | Yes |
Example
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();Response (201), with sample values:
{
"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}
Deletes a proposal.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
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}
Returns a proposal with its content, packages, recipients and status.
Get oneOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
160 fields
| Field | Type | Always there |
|---|---|---|
acceptPayments | boolean | Yes |
acceptance | object | null | Yes |
acceptance.acceptedAt | string (date-time) | Yes |
acceptance.chosen | object | Yes |
acceptance.chosen.addOns | array of object | Yes |
acceptance.chosen.addOns[].id | string (uuid) | Yes |
acceptance.chosen.addOns[].name | string | Yes |
acceptance.chosen.addOns[].total | integer | Yes |
acceptance.chosen.included | array of object | Yes |
acceptance.chosen.included[].id | string (uuid) | Yes |
acceptance.chosen.included[].name | string | Yes |
acceptance.chosen.included[].total | integer | Yes |
acceptance.chosen.package | object | Yes |
acceptance.chosen.package.id | string (uuid) | Yes |
acceptance.chosen.package.items | array of object | Yes |
acceptance.chosen.package.name | string | Yes |
acceptance.chosen.package.total | integer | Yes |
acceptance.dealId | string (uuid) | Yes |
acceptance.depositAmount | integer | null | Yes |
acceptance.id | string (uuid) | Yes |
acceptance.ipAddress | string | Yes |
acceptance.organizationId | string (uuid) | Yes |
acceptance.recipientId | string | null (uuid) | Yes |
acceptance.selection | object | Yes |
acceptance.selection.optionalItemIds | array of string (uuid) | Yes |
acceptance.selection.packageId | string (uuid) | Yes |
acceptance.signerEmail | string | null (email) | Yes |
acceptance.signerName | string | Yes |
acceptance.signerTaxId | string | Yes |
acceptance.totalAmount | integer | Yes |
acceptance.userAgent | string | null | Yes |
acceptance.version | integer | Yes |
acceptance.versionHash | string | Yes |
acceptance.versionId | string (uuid) | Yes |
acceptedAt | string | null (date-time) | Yes |
archived | boolean | Yes |
catalogRequestId | null in the examples | Yes |
clientSelection | object | null | Yes |
clientSelection.optionalItemIds | array of string (uuid) | Yes |
clientSelection.packageId | string (uuid) | Yes |
company | object | null | Yes |
company.id | string (uuid) | Yes |
company.name | string | Yes |
companyId | string | null (uuid) | Yes |
content | object | Yes |
content.items | array of object | Yes |
content.items[].description | null in the examples | Yes |
content.items[].id | string (uuid) | Yes |
content.items[].name | string | Yes |
content.items[].optional | boolean | Yes |
content.items[].quantity | integer | Yes |
content.items[].serviceId | null in the examples | Yes |
content.items[].unitPrice | integer | Yes |
content.packages | array of object | Yes |
content.packages[].description | null in the examples | Yes |
content.packages[].discount | object | null | Yes |
content.packages[].discount.type | string | Yes |
content.packages[].discount.value | integer | Yes |
content.packages[].id | string (uuid) | Yes |
content.packages[].items | array of object | Yes |
content.packages[].items[].description | null in the examples | Yes |
content.packages[].items[].id | string (uuid) | Yes |
content.packages[].items[].name | string | Yes |
content.packages[].items[].optional | boolean | Yes |
content.packages[].items[].quantity | integer | Yes |
content.packages[].items[].serviceId | null in the examples | Yes |
content.packages[].items[].unitPrice | integer | Yes |
content.packages[].name | string | Yes |
content.packages[].recommended | boolean | Yes |
content.scope | null in the examples | Yes |
content.summary | string | null | Yes |
content.terms | string | null | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
currentVersion | integer | Yes |
customProperties | object of any | Yes |
declineComment | string | null | Yes |
declineReason | string | null | Yes |
declinedAt | string | null (date-time) | Yes |
depositPercent | integer | null | Yes |
firstViewedAt | string | null (date-time) | Yes |
hasUnpublishedChanges | boolean | Yes |
id | string (uuid) | Yes |
invoice | object | null | Yes |
invoice.currency | string | Yes |
invoice.dueDate | string (date) | Yes |
invoice.id | string (uuid) | Yes |
invoice.number | string | Yes |
invoice.paidAt | string | null (date-time) | Yes |
invoice.status | string | Yes |
invoice.total | integer | Yes |
invoiceId | string | null (uuid) | Yes |
language | null in the examples | Yes |
lastViewedAt | string | null (date-time) | Yes |
locked | boolean | Yes |
notifications | object | Yes |
notifications.accepted | boolean | Yes |
notifications.declined | boolean | Yes |
notifications.question | boolean | Yes |
notifications.viewed | boolean | Yes |
organizationId | string (uuid) | Yes |
owner | object | Yes |
owner.image | null in the examples | Yes |
owner.memberId | string (uuid) | Yes |
owner.name | string | Yes |
owner.userId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
paidAt | string | null (date-time) | Yes |
payment | object | null | Yes |
payment.amount | integer | Yes |
payment.applicationFee | integer | Yes |
payment.createdAt | string (date-time) | Yes |
payment.currency | string | Yes |
payment.id | string (uuid) | Yes |
payment.paidAt | string (date-time) | Yes |
payment.payerEmail | string (email) | Yes |
payment.payerName | string | Yes |
payment.status | string | Yes |
paymentDueDate | null in the examples | Yes |
paymentDueDays | null in the examples | Yes |
paymentTerms | string | Yes |
primaryContactId | string | null (uuid) | Yes |
publicId | string | Yes |
reference | null in the examples | Yes |
reminderSentAt | null in the examples | Yes |
sentAt | string | null (date-time) | Yes |
share | object | Yes |
share.channels | array of object | Yes |
share.channels[].available | boolean | Yes |
share.channels[].id | string | Yes |
share.recipients | array of object | Yes |
share.recipients[].channel | string | Yes |
share.recipients[].contactId | string (uuid) | Yes |
share.recipients[].createdAt | string (date-time) | Yes |
share.recipients[].firstName | string | Yes |
share.recipients[].firstViewedAt | string | null (date-time) | Yes |
share.recipients[].id | string (uuid) | Yes |
share.recipients[].lastName | null in the examples | Yes |
share.recipients[].lastViewedAt | string | null (date-time) | Yes |
share.recipients[].mergedContactId | null in the examples | Yes |
share.recipients[].token | string | Yes |
share.recipients[].url | string (uri) | Yes |
share.recipients[].viewCount | integer | Yes |
share.url | string | null (uri) | Yes |
signatureVerification | object | null | Yes |
signatureVerification.email | string (email) | Yes |
signatureVerification.sendCount | integer | Yes |
signatureVerification.sentAt | string (date-time) | Yes |
signatureVerification.verifiedAt | string | null (date-time) | Yes |
signatureVerification.verifiedIp | string | null | Yes |
signatureVerification.verifiedUserAgent | null in the examples | Yes |
status | string | Yes |
title | string | Yes |
totalAmount | integer | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
validUntil | string (date-time) | Yes |
verifySignerEmail | boolean | Yes |
viewCount | integer | Yes |
Example
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();Response (200), with sample values:
{
"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}
Changes a proposal draft: content, items, packages, client and settings.
UpdateOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | null | No | |
reference | string | null | No | |
companyId | string (uuid) | null | No | |
primaryContactId | string (uuid) | null | No | |
ownerId | string | No | min length 1 |
currency | string | No | pattern ^[A-Z]{3}$ |
validUntil | string | No | min length 1 |
depositPercent | integer | null | No | |
language | "pt" | "es" | "en" | "fr" | null | No | |
content | object | No | |
content.summary | string | null | No | |
content.scope | string | null | No | |
content.terms | string | null | No | |
content.packages | array of object | No | max items 3 |
content.packages[].id | string | No | min length 1 · max length 64 |
content.packages[].name | string | Yes | min length 1 · max length 100 |
content.packages[].description | string | null | No | |
content.packages[].recommended | boolean | No | default false |
content.packages[].items | array of object | No | max items 50 |
content.packages[].items[].id | string | No | min length 1 · max length 64 |
content.packages[].items[].serviceId | string (uuid) | null | No | |
content.packages[].items[].name | string | Yes | min length 1 · max length 200 |
content.packages[].items[].description | string | null | No | |
content.packages[].items[].quantity | number | No | min 0 · max 100000 · default 1 |
content.packages[].items[].unitPrice | integer | Yes | min 0 · max 10000000000000 |
content.packages[].items[].optional | boolean | No | default false |
content.packages[].discount | object | null | No | |
content.items | array of object | No | max items 100 |
content.items[].id | string | No | min length 1 · max length 64 |
content.items[].serviceId | string (uuid) | null | No | |
content.items[].name | string | Yes | min length 1 · max length 200 |
content.items[].description | string | null | No | |
content.items[].quantity | number | No | min 0 · max 100000 · default 1 |
content.items[].unitPrice | integer | Yes | min 0 · max 10000000000000 |
content.items[].optional | boolean | No | default false |
notifications | object | No | |
notifications.viewed | boolean | No | |
notifications.accepted | boolean | No | |
notifications.declined | boolean | No | |
notifications.question | boolean | No | |
verifySignerEmail | boolean | No | |
acceptPayments | boolean | No | |
paymentTerms | "on_acceptance" | "on_date" | "days_after" | No | |
paymentDueDate | string (date) | null | No | |
paymentDueDays | integer | null | No | |
customProperties | object of any | No | |
archived | boolean | No |
Response
136 fields
| Field | Type | Always there |
|---|---|---|
acceptPayments | boolean | Yes |
acceptance | object | null | Yes |
acceptance.acceptedAt | string (date-time) | Yes |
acceptance.chosen | object | Yes |
acceptance.chosen.addOns | array of object | Yes |
acceptance.chosen.addOns[].id | string (uuid) | Yes |
acceptance.chosen.addOns[].name | string | Yes |
acceptance.chosen.addOns[].total | integer | Yes |
acceptance.chosen.included | array of object | Yes |
acceptance.chosen.included[].id | string (uuid) | Yes |
acceptance.chosen.included[].name | string | Yes |
acceptance.chosen.included[].total | integer | Yes |
acceptance.chosen.package | object | Yes |
acceptance.chosen.package.id | string (uuid) | Yes |
acceptance.chosen.package.items | array of object | Yes |
acceptance.chosen.package.name | string | Yes |
acceptance.chosen.package.total | integer | Yes |
acceptance.dealId | string (uuid) | Yes |
acceptance.depositAmount | integer | Yes |
acceptance.id | string (uuid) | Yes |
acceptance.ipAddress | string | Yes |
acceptance.organizationId | string (uuid) | Yes |
acceptance.recipientId | string (uuid) | Yes |
acceptance.selection | object | Yes |
acceptance.selection.optionalItemIds | array of string (uuid) | Yes |
acceptance.selection.packageId | string (uuid) | Yes |
acceptance.signerEmail | string (email) | Yes |
acceptance.signerName | string | Yes |
acceptance.signerTaxId | string | Yes |
acceptance.totalAmount | integer | Yes |
acceptance.userAgent | string | Yes |
acceptance.version | integer | Yes |
acceptance.versionHash | string | Yes |
acceptance.versionId | string (uuid) | Yes |
acceptedAt | string | null (date-time) | Yes |
archived | boolean | Yes |
catalogRequestId | null in the examples | Yes |
clientSelection | object | null | Yes |
clientSelection.optionalItemIds | array of string (uuid) | Yes |
clientSelection.packageId | string (uuid) | Yes |
company | object | null | Yes |
company.id | string (uuid) | Yes |
company.name | string | Yes |
companyId | string | null (uuid) | Yes |
content | object | Yes |
content.items | array of object | Yes |
content.items[].description | null in the examples | Yes |
content.items[].id | string (uuid) | Yes |
content.items[].name | string | Yes |
content.items[].optional | boolean | Yes |
content.items[].quantity | integer | Yes |
content.items[].serviceId | null in the examples | Yes |
content.items[].unitPrice | integer | Yes |
content.packages | array of object | Yes |
content.packages[].description | null in the examples | Yes |
content.packages[].discount | null in the examples | Yes |
content.packages[].id | string (uuid) | Yes |
content.packages[].items | array of object | Yes |
content.packages[].items[].description | null in the examples | Yes |
content.packages[].items[].id | string (uuid) | Yes |
content.packages[].items[].name | string | Yes |
content.packages[].items[].optional | boolean | Yes |
content.packages[].items[].quantity | integer | Yes |
content.packages[].items[].serviceId | null in the examples | Yes |
content.packages[].items[].unitPrice | integer | Yes |
content.packages[].name | string | Yes |
content.packages[].recommended | boolean | Yes |
content.scope | null in the examples | Yes |
content.summary | string | null | Yes |
content.terms | string | null | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
currentVersion | integer | Yes |
customProperties | object of any | Yes |
declineComment | null in the examples | Yes |
declineReason | null in the examples | Yes |
declinedAt | null in the examples | Yes |
depositPercent | integer | null | Yes |
firstViewedAt | string | null (date-time) | Yes |
hasUnpublishedChanges | boolean | Yes |
id | string (uuid) | Yes |
invoice | null in the examples | Yes |
invoiceId | null in the examples | Yes |
language | string | null | Yes |
lastViewedAt | string | null (date-time) | Yes |
locked | boolean | Yes |
notifications | object | Yes |
notifications.accepted | boolean | Yes |
notifications.declined | boolean | Yes |
notifications.question | boolean | Yes |
notifications.viewed | boolean | Yes |
organizationId | string (uuid) | Yes |
owner | object | Yes |
owner.image | null in the examples | Yes |
owner.memberId | string (uuid) | Yes |
owner.name | string | Yes |
owner.userId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
paidAt | null in the examples | Yes |
payment | null in the examples | Yes |
paymentDueDate | null in the examples | Yes |
paymentDueDays | null in the examples | Yes |
paymentTerms | string | Yes |
primaryContactId | string | null (uuid) | Yes |
publicId | string | Yes |
reference | null in the examples | Yes |
reminderSentAt | null in the examples | Yes |
sentAt | string | null (date-time) | Yes |
share | object | Yes |
share.channels | array of object | Yes |
share.channels[].available | boolean | Yes |
share.channels[].id | string | Yes |
share.recipients | array of object | Yes |
share.recipients[].channel | string | Yes |
share.recipients[].contactId | string (uuid) | Yes |
share.recipients[].createdAt | string (date-time) | Yes |
share.recipients[].firstName | string | Yes |
share.recipients[].firstViewedAt | string (date-time) | Yes |
share.recipients[].id | string (uuid) | Yes |
share.recipients[].lastName | null in the examples | Yes |
share.recipients[].lastViewedAt | string (date-time) | Yes |
share.recipients[].mergedContactId | null in the examples | Yes |
share.recipients[].token | string | Yes |
share.recipients[].url | string (uri) | Yes |
share.recipients[].viewCount | integer | Yes |
share.url | string | null (uri) | Yes |
signatureVerification | null in the examples | Yes |
status | string | Yes |
title | string | null | Yes |
totalAmount | integer | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
validUntil | string (date-time) | Yes |
verifySignerEmail | boolean | Yes |
viewCount | integer | Yes |
Example
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();Response (200), with sample values:
{
"acceptPayments": true,
"acceptance": {
"acceptedAt": "2026-11-21T14:00:00.000Z",
"chosen": {
"package": {},
"included": [],
"addOns": []
},
"dealId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"depositAmount": 1,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ipAddress": "…",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"selection": {
"packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"optionalItemIds": []
},
"signerEmail": "[email protected]",
"signerName": "Ana Lima",
"signerTaxId": "…",
"totalAmount": 1,
"userAgent": "…",
"version": 1,
"versionHash": "…",
"versionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"acceptedAt": "2026-11-21T14:00:00.000Z",
"archived": true,
"catalogRequestId": null,
"clientSelection": {
"optionalItemIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"company": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
},
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"content": {
"items": [
{}
],
"packages": [
{}
],
"scope": null,
"summary": "…",
"terms": "…"
},
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"currency": "USD",
"currentVersion": 1,
"customProperties": {},
"declineComment": null,
"declineReason": null,
"declinedAt": null,
"depositPercent": 1,
"firstViewedAt": "2026-11-21T14:00:00.000Z",
"hasUnpublishedChanges": true,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"invoice": null,
"invoiceId": null,
"language": "…",
"lastViewedAt": "2026-11-21T14:00:00.000Z",
"locked": true,
"notifications": {
"accepted": true,
"declined": true,
"question": true,
"viewed": true
},
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"owner": {
"image": null,
"memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"paidAt": null,
"payment": null,
"paymentDueDate": null,
"paymentDueDays": null,
"paymentTerms": "…",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"publicId": "…",
"reference": null,
"reminderSentAt": null,
"sentAt": "2026-11-21T14:00:00.000Z",
"share": {
"channels": [
{}
],
"recipients": [
{}
],
"url": "https://example.com"
},
"signatureVerification": null,
"status": "…",
"title": "…",
"totalAmount": 1,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"validUntil": "2026-11-21T14:00:00.000Z",
"verifySignerEmail": true,
"viewCount": 1
}GET/v1/deals/{id}/activity
A proposal’s timeline: sent, viewed, questions, accepted or declined.
Read/{id}/activityOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
50 fields
| Field | Type | Always there |
|---|---|---|
clientSelection | object | null | Yes |
clientSelection.optionalItemIds | array of string (uuid) | Yes |
clientSelection.packageId | string (uuid) | Yes |
events | array of object | Yes |
events[].actorId | string | null (uuid) | Yes |
events[].createdAt | string (date-time) | Yes |
events[].data | object of any | Yes |
events[].dealId | string (uuid) | Yes |
events[].id | string (uuid) | Yes |
events[].organizationId | string (uuid) | Yes |
events[].recipientId | string | null (uuid) | Yes |
events[].type | string | Yes |
firstViewedAt | string | null (date-time) | Yes |
lastViewedAt | string | null (date-time) | Yes |
recipients | array of object | Yes |
recipients[].channel | string | Yes |
recipients[].contactId | string (uuid) | Yes |
recipients[].createdAt | string (date-time) | Yes |
recipients[].firstName | string | Yes |
recipients[].firstViewedAt | string (date-time) | Yes |
recipients[].id | string (uuid) | Yes |
recipients[].lastName | null in the examples | Yes |
recipients[].lastViewedAt | string (date-time) | Yes |
recipients[].mergedContactId | null in the examples | Yes |
recipients[].token | string | Yes |
recipients[].viewCount | integer | Yes |
sectionSeconds | object | Yes |
sectionSeconds.pricing | integer | No |
sectionSeconds.terms | integer | No |
totalSeconds | integer | Yes |
versions | array of object | Yes |
versions[].createdAt | string (date-time) | Yes |
versions[].hash | string | Yes |
versions[].supersededAt | string | null (date-time) | Yes |
versions[].version | integer | Yes |
viewCount | integer | Yes |
views | array of object | Yes |
views[].dealId | string (uuid) | Yes |
views[].durationSeconds | integer | Yes |
views[].id | string (uuid) | Yes |
views[].ipAddress | string | Yes |
views[].lastSeenAt | string (date-time) | Yes |
views[].organizationId | string (uuid) | Yes |
views[].recipientId | string (uuid) | Yes |
views[].sectionSeconds | object | Yes |
views[].sectionSeconds.pricing | integer | No |
views[].sectionSeconds.terms | integer | No |
views[].startedAt | string (date-time) | Yes |
views[].userAgent | null in the examples | Yes |
views[].version | integer | Yes |
Example
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();Response (200), with sample values:
{
"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
Marks a proposal as declined.
Update/{id}/declineOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
reason | "price" | "timeline" | "scope" | "other" | Yes | |
comment | string | null | No |
Example
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
A new draft with the same content.
Create/{id}/duplicateOn success: 201.Permission: Create.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
68 fields
| Field | Type | Always there |
|---|---|---|
acceptPayments | boolean | Yes |
acceptance | null in the examples | Yes |
acceptedAt | null in the examples | Yes |
archived | boolean | Yes |
catalogRequestId | null in the examples | Yes |
clientSelection | null in the examples | Yes |
company | null in the examples | Yes |
companyId | null in the examples | Yes |
content | object | Yes |
content.items | array of any | Yes |
content.packages | array of any | Yes |
content.scope | null in the examples | Yes |
content.summary | null in the examples | Yes |
content.terms | string | null | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
currentVersion | integer | Yes |
customProperties | object of any | Yes |
declineComment | null in the examples | Yes |
declineReason | null in the examples | Yes |
declinedAt | null in the examples | Yes |
depositPercent | integer | null | Yes |
firstViewedAt | null in the examples | Yes |
hasUnpublishedChanges | boolean | Yes |
id | string (uuid) | Yes |
invoice | null in the examples | Yes |
invoiceId | null in the examples | Yes |
language | null in the examples | Yes |
lastViewedAt | null in the examples | Yes |
locked | boolean | Yes |
notifications | object | Yes |
notifications.accepted | boolean | Yes |
notifications.declined | boolean | Yes |
notifications.question | boolean | Yes |
notifications.viewed | boolean | Yes |
organizationId | string (uuid) | Yes |
owner | object | Yes |
owner.image | null in the examples | Yes |
owner.memberId | string (uuid) | Yes |
owner.name | string | Yes |
owner.userId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
paidAt | null in the examples | Yes |
payment | null in the examples | Yes |
paymentDueDate | null in the examples | Yes |
paymentDueDays | null in the examples | Yes |
paymentTerms | string | Yes |
primaryContactId | null in the examples | Yes |
publicId | string | Yes |
reference | string | null | Yes |
reminderSentAt | null in the examples | Yes |
sentAt | null in the examples | Yes |
share | object | Yes |
share.channels | array of object | Yes |
share.channels[].available | boolean | Yes |
share.channels[].id | string | Yes |
share.recipients | array of any | Yes |
share.url | null in the examples | Yes |
signatureVerification | null in the examples | Yes |
status | string | Yes |
title | string | Yes |
totalAmount | integer | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
validUntil | string (date-time) | Yes |
verifySignerEmail | boolean | Yes |
viewCount | integer | Yes |
Example
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();Response (201), with sample values:
{
"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
Every change to a proposal’s properties, with who made it.
Read/{id}/historyOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
field | string | Yes | max length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$ |
Response
13 fields
| Field | Type | Always there |
|---|---|---|
entries | array of object | Yes |
entries[].changedAt | string (date-time) | Yes |
entries[].changedBy | object | Yes |
entries[].changedBy.id | string (uuid) | Yes |
entries[].changedBy.name | string | Yes |
entries[].id | string (uuid) | Yes |
entries[].newLabel | string | null | Yes |
entries[].newValue | string | Yes |
entries[].oldLabel | null in the examples | Yes |
entries[].oldValue | string | null | Yes |
field | string | Yes |
limit | integer | Yes |
total | integer | Yes |
Example
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();Response (200), with sample values:
{
"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
The proposal as the client would see it.
Read/{id}/previewOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
48 fields
| Field | Type | Always there |
|---|---|---|
selection | object | Yes |
selection.optionalItemIds | array of any | Yes |
selection.packageId | string | null (uuid) | Yes |
snapshot | object | Yes |
snapshot.company | object | null | Yes |
snapshot.company.name | string | Yes |
snapshot.content | object | Yes |
snapshot.content.items | array of object | Yes |
snapshot.content.items[].description | null in the examples | Yes |
snapshot.content.items[].id | string (uuid) | Yes |
snapshot.content.items[].name | string | Yes |
snapshot.content.items[].optional | boolean | Yes |
snapshot.content.items[].quantity | integer | Yes |
snapshot.content.items[].serviceId | null in the examples | Yes |
snapshot.content.items[].unitPrice | integer | Yes |
snapshot.content.packages | array of object | Yes |
snapshot.content.packages[].description | null in the examples | Yes |
snapshot.content.packages[].discount | null in the examples | Yes |
snapshot.content.packages[].id | string (uuid) | Yes |
snapshot.content.packages[].items | array of object | Yes |
snapshot.content.packages[].name | string | Yes |
snapshot.content.packages[].recommended | boolean | Yes |
snapshot.content.scope | null in the examples | Yes |
snapshot.content.summary | string | null | Yes |
snapshot.content.terms | string | null | Yes |
snapshot.currency | string | Yes |
snapshot.depositPercent | integer | null | Yes |
snapshot.language | string | Yes |
snapshot.organization | object | Yes |
snapshot.organization.logo | null in the examples | Yes |
snapshot.organization.name | string | Yes |
snapshot.reference | string | null | Yes |
snapshot.templateId | string | Yes |
snapshot.theme | object | Yes |
snapshot.theme.accentColor | string | Yes |
snapshot.theme.backgroundColor | string | Yes |
snapshot.theme.bodyFont | string | Yes |
snapshot.theme.cornerRadius | string | Yes |
snapshot.theme.headingFont | string | Yes |
snapshot.theme.logoUrl | string (uri) | No |
snapshot.theme.primaryColor | string | Yes |
snapshot.theme.textColor | string | Yes |
snapshot.title | string | null | Yes |
snapshot.validUntil | string (date-time) | Yes |
totals | object | Yes |
totals.depositAmount | integer | null | Yes |
totals.total | integer | Yes |
url | string (uri) | Yes |
Example
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();Response (200), with sample values:
{
"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
The proposal as the client would see it with unsaved edits; saves nothing.
Read/{id}/previewOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | null | No | |
reference | string | null | No | |
companyId | string (uuid) | null | No | |
primaryContactId | string (uuid) | null | No | |
ownerId | string | No | min length 1 |
currency | string | No | pattern ^[A-Z]{3}$ |
validUntil | string | No | min length 1 |
depositPercent | integer | null | No | |
language | "pt" | "es" | "en" | "fr" | null | No | |
content | object | No | |
content.summary | string | null | No | |
content.scope | string | null | No | |
content.terms | string | null | No | |
content.packages | array of object | No | max items 3 |
content.packages[].id | string | No | min length 1 · max length 64 |
content.packages[].name | string | Yes | min length 1 · max length 100 |
content.packages[].description | string | null | No | |
content.packages[].recommended | boolean | No | default false |
content.packages[].items | array of object | No | max items 50 |
content.packages[].items[].id | string | No | min length 1 · max length 64 |
content.packages[].items[].serviceId | string (uuid) | null | No | |
content.packages[].items[].name | string | Yes | min length 1 · max length 200 |
content.packages[].items[].description | string | null | No | |
content.packages[].items[].quantity | number | No | min 0 · max 100000 · default 1 |
content.packages[].items[].unitPrice | integer | Yes | min 0 · max 10000000000000 |
content.packages[].items[].optional | boolean | No | default false |
content.packages[].discount | object | null | No | |
content.items | array of object | No | max items 100 |
content.items[].id | string | No | min length 1 · max length 64 |
content.items[].serviceId | string (uuid) | null | No | |
content.items[].name | string | Yes | min length 1 · max length 200 |
content.items[].description | string | null | No | |
content.items[].quantity | number | No | min 0 · max 100000 · default 1 |
content.items[].unitPrice | integer | Yes | min 0 · max 10000000000000 |
content.items[].optional | boolean | No | default false |
notifications | object | No | |
notifications.viewed | boolean | No | |
notifications.accepted | boolean | No | |
notifications.declined | boolean | No | |
notifications.question | boolean | No | |
verifySignerEmail | boolean | No | |
acceptPayments | boolean | No | |
paymentTerms | "on_acceptance" | "on_date" | "days_after" | No | |
paymentDueDate | string (date) | null | No | |
paymentDueDays | integer | null | No | |
customProperties | object of any | No | |
archived | boolean | No | |
templateId | "classic" | "modern" | "minimal" | "bold" | No | |
theme | object | No | |
theme.primaryColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.accentColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.backgroundColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.textColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.headingFont | string | No | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.bodyFont | string | No | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.coverImageUrl | string (uri) | No | max length 2000 |
theme.cornerRadius | "none" | "small" | "medium" | "large" | No |
Response
47 fields
| Field | Type | Always there |
|---|---|---|
selection | object | Yes |
selection.optionalItemIds | array of any | Yes |
selection.packageId | string | null (uuid) | Yes |
snapshot | object | Yes |
snapshot.company | object | null | Yes |
snapshot.company.name | string | Yes |
snapshot.content | object | Yes |
snapshot.content.items | array of object | Yes |
snapshot.content.items[].description | null in the examples | Yes |
snapshot.content.items[].id | string (uuid) | Yes |
snapshot.content.items[].name | string | Yes |
snapshot.content.items[].optional | boolean | Yes |
snapshot.content.items[].quantity | integer | Yes |
snapshot.content.items[].serviceId | null in the examples | Yes |
snapshot.content.items[].unitPrice | integer | Yes |
snapshot.content.packages | array of object | Yes |
snapshot.content.packages[].description | null in the examples | Yes |
snapshot.content.packages[].discount | object | Yes |
snapshot.content.packages[].id | string (uuid) | Yes |
snapshot.content.packages[].items | array of object | Yes |
snapshot.content.packages[].name | string | Yes |
snapshot.content.packages[].recommended | boolean | Yes |
snapshot.content.scope | null in the examples | Yes |
snapshot.content.summary | null in the examples | Yes |
snapshot.content.terms | null in the examples | Yes |
snapshot.currency | string | Yes |
snapshot.depositPercent | integer | null | Yes |
snapshot.language | string | Yes |
snapshot.organization | object | Yes |
snapshot.organization.logo | null in the examples | Yes |
snapshot.organization.name | string | Yes |
snapshot.reference | null in the examples | Yes |
snapshot.templateId | string | Yes |
snapshot.theme | object | Yes |
snapshot.theme.accentColor | string | Yes |
snapshot.theme.backgroundColor | string | Yes |
snapshot.theme.bodyFont | string | Yes |
snapshot.theme.cornerRadius | string | Yes |
snapshot.theme.headingFont | string | Yes |
snapshot.theme.primaryColor | string | Yes |
snapshot.theme.textColor | string | Yes |
snapshot.title | string | Yes |
snapshot.validUntil | string (date-time) | Yes |
totals | object | Yes |
totals.depositAmount | integer | null | Yes |
totals.total | integer | Yes |
url | string (uri) | Yes |
Example
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();Response (200), with sample values:
{
"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
Questions clients asked on the proposal’s page, newest first.
Read/{id}/questionsOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
16 fields
| Field | Type | Always there |
|---|---|---|
[].answer | null in the examples | Yes |
[].answerSentTo | null in the examples | Yes |
[].answeredAt | null in the examples | Yes |
[].answeredBy | null in the examples | Yes |
[].contact | object | Yes |
[].contact.emails | array of string (email) | Yes |
[].contact.id | string (uuid) | Yes |
[].contact.name | string | Yes |
[].contact.phones | array of any | Yes |
[].contact.socialProfiles | object | Yes |
[].createdAt | string (date-time) | Yes |
[].email | string (email) | Yes |
[].fromRecipientLink | boolean | Yes |
[].id | string (uuid) | Yes |
[].message | string | Yes |
[].name | string | Yes |
Example
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();Response (200), with sample values:
[
{
"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}
Marks a client’s question as answered or not.
Update/{id}/questions/{questionId}On success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
questionId | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
answered | boolean | Yes |
Response
16 fields
| Field | Type | Always there |
|---|---|---|
answer | null in the examples | Yes |
answerSentTo | null in the examples | Yes |
answeredAt | string | null (date-time) | Yes |
answeredBy | string | null | Yes |
contact | object | Yes |
contact.emails | array of string (email) | Yes |
contact.id | string (uuid) | Yes |
contact.name | string | Yes |
contact.phones | array of any | Yes |
contact.socialProfiles | object | Yes |
createdAt | string (date-time) | Yes |
email | string (email) | Yes |
fromRecipientLink | boolean | Yes |
id | string (uuid) | Yes |
message | string | Yes |
name | string | Yes |
Example
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();Response (200), with sample values:
{
"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
Emails a reply to whoever asked the question, and keeps it with it.
Update/{id}/questions/{questionId}/replyOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
questionId | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
message | string | Yes | min length 1 · max length 5000 |
Response
16 fields
| Field | Type | Always there |
|---|---|---|
answer | string | Yes |
answerSentTo | string (email) | Yes |
answeredAt | string (date-time) | Yes |
answeredBy | string | Yes |
contact | object | Yes |
contact.emails | array of string (email) | Yes |
contact.id | string (uuid) | Yes |
contact.name | string | Yes |
contact.phones | array of any | Yes |
contact.socialProfiles | object | Yes |
createdAt | string (date-time) | Yes |
email | string (email) | Yes |
fromRecipientLink | boolean | Yes |
id | string (uuid) | Yes |
message | string | Yes |
name | string | Yes |
Example
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();Response (200), with sample values:
{
"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
Adds a contact to send the proposal to and returns their tracked link.
Update/{id}/recipientsOn success: 201.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
contactId | string (uuid) | Yes | |
channel | "link" | "email" | "whatsapp" | No | default "link" |
Response
12 fields
| Field | Type | Always there |
|---|---|---|
channel | string | Yes |
contactId | string (uuid) | Yes |
createdAt | string (date-time) | Yes |
firstName | string | Yes |
firstViewedAt | null in the examples | Yes |
id | string (uuid) | Yes |
lastName | string | null | Yes |
lastViewedAt | null in the examples | Yes |
mergedContactId | null in the examples | Yes |
token | string | Yes |
url | string (uri) | Yes |
viewCount | integer | Yes |
Example
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();Response (201), with sample values:
{
"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}
Removes a recipient; their link stops working.
Update/{id}/recipients/{recipientId}On success: 204.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
recipientId | string | Yes |
Example
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
Reopens a declined or expired proposal, with a validity date ahead.
Update/{id}/reopenOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
validUntil | string (date-time) | null | No | default null |
Response
88 fields
| Field | Type | Always there |
|---|---|---|
acceptPayments | boolean | Yes |
acceptance | null in the examples | Yes |
acceptedAt | null in the examples | Yes |
archived | boolean | Yes |
catalogRequestId | null in the examples | Yes |
clientSelection | null in the examples | Yes |
company | null in the examples | Yes |
companyId | null in the examples | Yes |
content | object | Yes |
content.items | array of object | Yes |
content.items[].description | null in the examples | Yes |
content.items[].id | string (uuid) | Yes |
content.items[].name | string | Yes |
content.items[].optional | boolean | Yes |
content.items[].quantity | integer | Yes |
content.items[].serviceId | null in the examples | Yes |
content.items[].unitPrice | integer | Yes |
content.packages | array of object | Yes |
content.packages[].description | null in the examples | Yes |
content.packages[].discount | null in the examples | Yes |
content.packages[].id | string (uuid) | Yes |
content.packages[].items | array of object | Yes |
content.packages[].items[].description | null in the examples | Yes |
content.packages[].items[].id | string (uuid) | Yes |
content.packages[].items[].name | string | Yes |
content.packages[].items[].optional | boolean | Yes |
content.packages[].items[].quantity | integer | Yes |
content.packages[].items[].serviceId | null in the examples | Yes |
content.packages[].items[].unitPrice | integer | Yes |
content.packages[].name | string | Yes |
content.packages[].recommended | boolean | Yes |
content.scope | null in the examples | Yes |
content.summary | string | Yes |
content.terms | string | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
currentVersion | integer | Yes |
customProperties | object of any | Yes |
declineComment | null in the examples | Yes |
declineReason | null in the examples | Yes |
declinedAt | null in the examples | Yes |
depositPercent | integer | Yes |
firstViewedAt | null in the examples | Yes |
hasUnpublishedChanges | boolean | Yes |
id | string (uuid) | Yes |
invoice | null in the examples | Yes |
invoiceId | null in the examples | Yes |
language | null in the examples | Yes |
lastViewedAt | null in the examples | Yes |
locked | boolean | Yes |
notifications | object | Yes |
notifications.accepted | boolean | Yes |
notifications.declined | boolean | Yes |
notifications.question | boolean | Yes |
notifications.viewed | boolean | Yes |
organizationId | string (uuid) | Yes |
owner | object | Yes |
owner.image | null in the examples | Yes |
owner.memberId | string (uuid) | Yes |
owner.name | string | Yes |
owner.userId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
paidAt | null in the examples | Yes |
payment | null in the examples | Yes |
paymentDueDate | null in the examples | Yes |
paymentDueDays | null in the examples | Yes |
paymentTerms | string | Yes |
primaryContactId | null in the examples | Yes |
publicId | string | Yes |
reference | null in the examples | Yes |
reminderSentAt | null in the examples | Yes |
sentAt | string (date-time) | Yes |
share | object | Yes |
share.channels | array of object | Yes |
share.channels[].available | boolean | Yes |
share.channels[].id | string | Yes |
share.recipients | array of any | Yes |
share.url | string (uri) | Yes |
signatureVerification | null in the examples | Yes |
status | string | Yes |
title | string | Yes |
totalAmount | integer | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
validUntil | string (date-time) | Yes |
verifySignerEmail | boolean | Yes |
viewCount | integer | Yes |
Example
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();Response (200), with sample values:
{
"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
Sends the proposal, or publishes the edited draft as the next version on the same link.
Update/{id}/sendOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
106 fields
| Field | Type | Always there |
|---|---|---|
acceptPayments | boolean | Yes |
acceptance | null in the examples | Yes |
acceptedAt | null in the examples | Yes |
archived | boolean | Yes |
catalogRequestId | null in the examples | Yes |
clientSelection | object | null | Yes |
clientSelection.optionalItemIds | array of string (uuid) | Yes |
clientSelection.packageId | string (uuid) | Yes |
company | object | null | Yes |
company.id | string (uuid) | Yes |
company.name | string | Yes |
companyId | string | null (uuid) | Yes |
content | object | Yes |
content.items | array of object | Yes |
content.items[].description | null in the examples | Yes |
content.items[].id | string (uuid) | Yes |
content.items[].name | string | Yes |
content.items[].optional | boolean | Yes |
content.items[].quantity | integer | Yes |
content.items[].serviceId | null in the examples | Yes |
content.items[].unitPrice | integer | Yes |
content.packages | array of object | Yes |
content.packages[].description | null in the examples | Yes |
content.packages[].discount | object | null | Yes |
content.packages[].discount.type | string | Yes |
content.packages[].discount.value | integer | Yes |
content.packages[].id | string (uuid) | Yes |
content.packages[].items | array of object | Yes |
content.packages[].items[].description | null in the examples | Yes |
content.packages[].items[].id | string (uuid) | Yes |
content.packages[].items[].name | string | Yes |
content.packages[].items[].optional | boolean | Yes |
content.packages[].items[].quantity | integer | Yes |
content.packages[].items[].serviceId | null in the examples | Yes |
content.packages[].items[].unitPrice | integer | Yes |
content.packages[].name | string | Yes |
content.packages[].recommended | boolean | Yes |
content.scope | null in the examples | Yes |
content.summary | string | null | Yes |
content.terms | string | null | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
currentVersion | integer | Yes |
customProperties | object of any | Yes |
declineComment | null in the examples | Yes |
declineReason | null in the examples | Yes |
declinedAt | null in the examples | Yes |
depositPercent | integer | null | Yes |
firstViewedAt | string | null (date-time) | Yes |
hasUnpublishedChanges | boolean | Yes |
id | string (uuid) | Yes |
invoice | null in the examples | Yes |
invoiceId | null in the examples | Yes |
language | null in the examples | Yes |
lastViewedAt | string | null (date-time) | Yes |
locked | boolean | Yes |
notifications | object | Yes |
notifications.accepted | boolean | Yes |
notifications.declined | boolean | Yes |
notifications.question | boolean | Yes |
notifications.viewed | boolean | Yes |
organizationId | string (uuid) | Yes |
owner | object | Yes |
owner.image | null in the examples | Yes |
owner.memberId | string (uuid) | Yes |
owner.name | string | Yes |
owner.userId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
paidAt | null in the examples | Yes |
payment | null in the examples | Yes |
paymentDueDate | null in the examples | Yes |
paymentDueDays | integer | null | Yes |
paymentTerms | string | Yes |
primaryContactId | string | null (uuid) | Yes |
publicId | string | Yes |
reference | null in the examples | Yes |
reminderSentAt | null in the examples | Yes |
sentAt | string (date-time) | Yes |
share | object | Yes |
share.channels | array of object | Yes |
share.channels[].available | boolean | Yes |
share.channels[].id | string | Yes |
share.recipients | array of object | Yes |
share.recipients[].channel | string | Yes |
share.recipients[].contactId | string (uuid) | Yes |
share.recipients[].createdAt | string (date-time) | Yes |
share.recipients[].firstName | string | Yes |
share.recipients[].firstViewedAt | string (date-time) | Yes |
share.recipients[].id | string (uuid) | Yes |
share.recipients[].lastName | null in the examples | Yes |
share.recipients[].lastViewedAt | string (date-time) | Yes |
share.recipients[].mergedContactId | null in the examples | Yes |
share.recipients[].token | string | Yes |
share.recipients[].url | string (uri) | Yes |
share.recipients[].viewCount | integer | Yes |
share.url | string (uri) | Yes |
signatureVerification | null in the examples | Yes |
status | string | Yes |
title | string | Yes |
totalAmount | integer | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
validUntil | string (date-time) | Yes |
verifySignerEmail | boolean | Yes |
viewCount | integer | Yes |
Example
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();Response (200), with sample values:
{
"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
Sends the signer a new link to confirm their email address.
Update/{id}/signature/resendOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
6 fields
| Field | Type | Always there |
|---|---|---|
email | string (email) | Yes |
sendCount | integer | Yes |
sentAt | string (date-time) | Yes |
verifiedAt | null in the examples | Yes |
verifiedIp | null in the examples | Yes |
verifiedUserAgent | null in the examples | Yes |
Example
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();Response (200), with sample values:
{
"email": "[email protected]",
"sentAt": "2026-11-21T14:00:00.000Z",
"sendCount": 1,
"verifiedAt": null,
"verifiedIp": null,
"verifiedUserAgent": null
}GET/v1/deals/board
Proposals grouped by status, for a board.
Read/boardOn success: 200.Permission: Read.
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
q | string | No | min length 1 · max length 200 |
ownerId | string | No | |
companyId | string (uuid) | No | |
contactId | string (uuid) | No | |
dueFrom | string (date-time) | No | |
dueBefore | string (date-time) | No |
Response
26 fields
| Field | Type | Always there |
|---|---|---|
columns | array of object | Yes |
columns[].amount | integer | Yes |
columns[].count | integer | Yes |
columns[].deals | array of object | Yes |
columns[].deals[].acceptedAt | null in the examples | Yes |
columns[].deals[].archived | boolean | Yes |
columns[].deals[].companyId | string | null (uuid) | Yes |
columns[].deals[].companyName | string | null | Yes |
columns[].deals[].createdAt | string (date-time) | Yes |
columns[].deals[].currency | string | Yes |
columns[].deals[].hasUnpublishedChanges | boolean | Yes |
columns[].deals[].id | string (uuid) | Yes |
columns[].deals[].lastViewedAt | null in the examples | Yes |
columns[].deals[].ownerId | string (uuid) | Yes |
columns[].deals[].ownerImage | null in the examples | Yes |
columns[].deals[].ownerName | string | Yes |
columns[].deals[].paidAt | null in the examples | Yes |
columns[].deals[].reference | null in the examples | Yes |
columns[].deals[].sentAt | string | null (date-time) | Yes |
columns[].deals[].status | string | Yes |
columns[].deals[].title | string | Yes |
columns[].deals[].totalAmount | integer | Yes |
columns[].deals[].updatedAt | string (date-time) | Yes |
columns[].deals[].validUntil | string (date-time) | Yes |
columns[].deals[].viewCount | integer | Yes |
columns[].status | string | Yes |
Example
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();Response (200), with sample values:
{
"columns": [
{
"amount": 1,
"count": 1,
"deals": [],
"status": "…"
}
]
}Webhook events
Changes of this feature that webhooks can send.
deal.createdCreatedeal.updatedUpdatedeal.sentUpdatedeal.viewedUpdatedeal.questionUpdatedeal.acceptedUpdatedeal.declinedUpdatedeal.expiredUpdatedeal.paidUpdatedeal.deletedDelete