Propuestas
Propuestas: contenido, paquetes, destinatarios, envío, estado y preguntas de los clientes.
Valores de los ejemplos
Escríbelos una vez y todos los ejemplos de esta página los usan. La clave de API se queda solo en esta página y nunca se guarda.
GET/v1/deal-defaults
Con qué empiezan las propuestas nuevas: validez, textos y ajustes.
ListarSi va bien: 200.Permiso: Leer.
Respuesta
19 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
acceptPayments | boolean | Sí |
currency | string | Sí |
depositPercent | integer | null | Sí |
nextReference | string | null | Sí |
notifications | object | Sí |
notifications.accepted | boolean | Sí |
notifications.declined | boolean | Sí |
notifications.question | boolean | Sí |
notifications.viewed | boolean | Sí |
paymentDueDays | null en los ejemplos | Sí |
paymentTerms | string | Sí |
reference | object | Sí |
reference.auto | boolean | Sí |
reference.digits | integer | Sí |
reference.next | integer | Sí |
reference.prefix | string | Sí |
terms | string | null | Sí |
validityDays | integer | Sí |
verifySignerEmail | boolean | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Cambia con qué empiezan las propuestas nuevas.
Actualizar/Si va bien: 200.Permiso: Actualizar.
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
currency | string | Sí | pattern ^[A-Z]{3}$ |
validityDays | integer | Sí | min 1 · max 365 |
depositPercent | integer | null | Sí | |
terms | string | null | Sí | |
notifications | object | Sí | |
notifications.viewed | boolean | Sí | |
notifications.accepted | boolean | Sí | |
notifications.declined | boolean | Sí | |
notifications.question | boolean | Sí | |
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 | Sí | |
reference.auto | boolean | Sí | |
reference.prefix | string | Sí | max length 20 |
reference.digits | integer | Sí | min 1 · max 8 |
reference.next | integer | Sí | min 1 · max 999999999 |
Respuesta
19 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
acceptPayments | boolean | Sí |
currency | string | Sí |
depositPercent | integer | Sí |
nextReference | string | Sí |
notifications | object | Sí |
notifications.accepted | boolean | Sí |
notifications.declined | boolean | Sí |
notifications.question | boolean | Sí |
notifications.viewed | boolean | Sí |
paymentDueDays | null en los ejemplos | Sí |
paymentTerms | string | Sí |
reference | object | Sí |
reference.auto | boolean | Sí |
reference.digits | integer | Sí |
reference.next | integer | Sí |
reference.prefix | string | Sí |
terms | string | Sí |
validityDays | integer | Sí |
verifySignerEmail | boolean | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"currency": "USD",
"validityDays": 1,
"depositPercent": 1,
"terms": "…",
"notifications": {
"viewed": true,
"accepted": true,
"declined": true,
"question": true
},
"reference": {
"auto": true,
"prefix": "…",
"digits": 1,
"next": 1
},
"verifySignerEmail": true,
"acceptPayments": true,
"paymentTerms": "…",
"paymentDueDays": null,
"nextReference": "…"
}GET/v1/deal-templates
Lista las plantillas de propuesta para empezar una propuesta.
ListarSi va bien: 200.Permiso: Leer.
Respuesta
11 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
[].description | string | Sí |
[].id | string | Sí |
[].name | string | Sí |
[].theme | object | Sí |
[].theme.accentColor | string | Sí |
[].theme.backgroundColor | string | Sí |
[].theme.bodyFont | string | Sí |
[].theme.cornerRadius | string | Sí |
[].theme.headingFont | string | Sí |
[].theme.primaryColor | string | Sí |
[].theme.textColor | string | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
[
{
"id": "…",
"name": "Ana Lima",
"description": "…",
"theme": {
"primaryColor": "…",
"accentColor": "…",
"backgroundColor": "…",
"textColor": "…",
"headingFont": "…",
"bodyFont": "…",
"cornerRadius": "…"
}
}
]GET/v1/deals
Lista y busca propuestas, por estado, responsable, contacto o fecha.
ListarSi va bien: 200.Permiso: Leer.
Parámetros de consulta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
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" |
Respuesta
25 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
data | array of object | Sí |
data[].acceptedAt | string | null (date-time) | Sí |
data[].archived | boolean | Sí |
data[].companyId | string | null (uuid) | Sí |
data[].companyName | string | null | Sí |
data[].createdAt | string (date-time) | Sí |
data[].currency | string | Sí |
data[].hasUnpublishedChanges | boolean | Sí |
data[].id | string (uuid) | Sí |
data[].lastViewedAt | string | null (date-time) | Sí |
data[].ownerId | string (uuid) | Sí |
data[].ownerImage | null en los ejemplos | Sí |
data[].ownerName | string | Sí |
data[].paidAt | string | null (date-time) | Sí |
data[].reference | string | null | Sí |
data[].sentAt | string | null (date-time) | Sí |
data[].status | string | Sí |
data[].title | string | Sí |
data[].totalAmount | integer | Sí |
data[].updatedAt | string (date-time) | Sí |
data[].validUntil | string (date-time) | Sí |
data[].viewCount | integer | Sí |
page | integer | Sí |
pageSize | integer | Sí |
total | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Crea un borrador de propuesta.
CrearSi va bien: 201.Permiso: Crear.
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
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 | Sí | 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 | Sí | 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 | Sí | 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 | Sí | 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 | Sí | 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 |
Respuesta
92 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
acceptPayments | boolean | Sí |
acceptance | null en los ejemplos | Sí |
acceptedAt | null en los ejemplos | Sí |
archived | boolean | Sí |
catalogRequestId | null en los ejemplos | Sí |
clientSelection | null en los ejemplos | Sí |
company | object | null | Sí |
company.id | string (uuid) | Sí |
company.name | string | Sí |
companyId | string | null (uuid) | Sí |
content | object | Sí |
content.items | array of object | Sí |
content.items[].description | null en los ejemplos | Sí |
content.items[].id | string (uuid) | Sí |
content.items[].name | string | Sí |
content.items[].optional | boolean | Sí |
content.items[].quantity | integer | Sí |
content.items[].serviceId | string | null (uuid) | Sí |
content.items[].unitPrice | integer | Sí |
content.packages | array of object | Sí |
content.packages[].description | null en los ejemplos | Sí |
content.packages[].discount | object | null | Sí |
content.packages[].discount.type | string | Sí |
content.packages[].discount.value | integer | Sí |
content.packages[].id | string (uuid) | Sí |
content.packages[].items | array of object | Sí |
content.packages[].items[].description | null en los ejemplos | Sí |
content.packages[].items[].id | string (uuid) | Sí |
content.packages[].items[].name | string | Sí |
content.packages[].items[].optional | boolean | Sí |
content.packages[].items[].quantity | integer | Sí |
content.packages[].items[].serviceId | null en los ejemplos | Sí |
content.packages[].items[].unitPrice | integer | Sí |
content.packages[].name | string | Sí |
content.packages[].recommended | boolean | Sí |
content.scope | null en los ejemplos | Sí |
content.summary | string | null | Sí |
content.terms | string | null | Sí |
createdAt | string (date-time) | Sí |
createdBy | string | null (uuid) | Sí |
currency | string | Sí |
currentVersion | integer | Sí |
customProperties | object of any | Sí |
declineComment | null en los ejemplos | Sí |
declineReason | null en los ejemplos | Sí |
declinedAt | null en los ejemplos | Sí |
depositPercent | integer | null | Sí |
firstViewedAt | null en los ejemplos | Sí |
hasUnpublishedChanges | boolean | Sí |
id | string (uuid) | Sí |
invoice | null en los ejemplos | Sí |
invoiceId | null en los ejemplos | Sí |
language | string | null | Sí |
lastViewedAt | null en los ejemplos | Sí |
locked | boolean | Sí |
notifications | object | Sí |
notifications.accepted | boolean | Sí |
notifications.declined | boolean | Sí |
notifications.question | boolean | Sí |
notifications.viewed | boolean | Sí |
organizationId | string (uuid) | Sí |
owner | object | Sí |
owner.image | null en los ejemplos | Sí |
owner.memberId | string (uuid) | Sí |
owner.name | string | Sí |
owner.userId | string (uuid) | Sí |
ownerId | string (uuid) | Sí |
paidAt | null en los ejemplos | Sí |
payment | null en los ejemplos | Sí |
paymentDueDate | null en los ejemplos | Sí |
paymentDueDays | integer | null | Sí |
paymentTerms | string | Sí |
primaryContactId | string | null (uuid) | Sí |
publicId | string | Sí |
reference | string | null | Sí |
reminderSentAt | null en los ejemplos | Sí |
sentAt | null en los ejemplos | Sí |
share | object | Sí |
share.channels | array of object | Sí |
share.channels[].available | boolean | Sí |
share.channels[].id | string | Sí |
share.recipients | array of any | Sí |
share.url | null en los ejemplos | Sí |
signatureVerification | null en los ejemplos | Sí |
status | string | Sí |
title | string | null | Sí |
totalAmount | integer | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string | null (uuid) | Sí |
validUntil | string (date-time) | Sí |
verifySignerEmail | boolean | Sí |
viewCount | integer | Sí |
Ejemplo
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();Respuesta (201), con valores de ejemplo:
{
"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}
Elimina una propuesta.
EliminarSi va bien: 204.Permiso: Eliminar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Ejemplo
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}
Devuelve una propuesta con su contenido, paquetes, destinatarios y estado.
Ver unoSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
160 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
acceptPayments | boolean | Sí |
acceptance | object | null | Sí |
acceptance.acceptedAt | string (date-time) | Sí |
acceptance.chosen | object | Sí |
acceptance.chosen.addOns | array of object | Sí |
acceptance.chosen.addOns[].id | string (uuid) | Sí |
acceptance.chosen.addOns[].name | string | Sí |
acceptance.chosen.addOns[].total | integer | Sí |
acceptance.chosen.included | array of object | Sí |
acceptance.chosen.included[].id | string (uuid) | Sí |
acceptance.chosen.included[].name | string | Sí |
acceptance.chosen.included[].total | integer | Sí |
acceptance.chosen.package | object | Sí |
acceptance.chosen.package.id | string (uuid) | Sí |
acceptance.chosen.package.items | array of object | Sí |
acceptance.chosen.package.name | string | Sí |
acceptance.chosen.package.total | integer | Sí |
acceptance.dealId | string (uuid) | Sí |
acceptance.depositAmount | integer | null | Sí |
acceptance.id | string (uuid) | Sí |
acceptance.ipAddress | string | Sí |
acceptance.organizationId | string (uuid) | Sí |
acceptance.recipientId | string | null (uuid) | Sí |
acceptance.selection | object | Sí |
acceptance.selection.optionalItemIds | array of string (uuid) | Sí |
acceptance.selection.packageId | string (uuid) | Sí |
acceptance.signerEmail | string | null (email) | Sí |
acceptance.signerName | string | Sí |
acceptance.signerTaxId | string | Sí |
acceptance.totalAmount | integer | Sí |
acceptance.userAgent | string | null | Sí |
acceptance.version | integer | Sí |
acceptance.versionHash | string | Sí |
acceptance.versionId | string (uuid) | Sí |
acceptedAt | string | null (date-time) | Sí |
archived | boolean | Sí |
catalogRequestId | null en los ejemplos | Sí |
clientSelection | object | null | Sí |
clientSelection.optionalItemIds | array of string (uuid) | Sí |
clientSelection.packageId | string (uuid) | Sí |
company | object | null | Sí |
company.id | string (uuid) | Sí |
company.name | string | Sí |
companyId | string | null (uuid) | Sí |
content | object | Sí |
content.items | array of object | Sí |
content.items[].description | null en los ejemplos | Sí |
content.items[].id | string (uuid) | Sí |
content.items[].name | string | Sí |
content.items[].optional | boolean | Sí |
content.items[].quantity | integer | Sí |
content.items[].serviceId | null en los ejemplos | Sí |
content.items[].unitPrice | integer | Sí |
content.packages | array of object | Sí |
content.packages[].description | null en los ejemplos | Sí |
content.packages[].discount | object | null | Sí |
content.packages[].discount.type | string | Sí |
content.packages[].discount.value | integer | Sí |
content.packages[].id | string (uuid) | Sí |
content.packages[].items | array of object | Sí |
content.packages[].items[].description | null en los ejemplos | Sí |
content.packages[].items[].id | string (uuid) | Sí |
content.packages[].items[].name | string | Sí |
content.packages[].items[].optional | boolean | Sí |
content.packages[].items[].quantity | integer | Sí |
content.packages[].items[].serviceId | null en los ejemplos | Sí |
content.packages[].items[].unitPrice | integer | Sí |
content.packages[].name | string | Sí |
content.packages[].recommended | boolean | Sí |
content.scope | null en los ejemplos | Sí |
content.summary | string | null | Sí |
content.terms | string | null | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
currency | string | Sí |
currentVersion | integer | Sí |
customProperties | object of any | Sí |
declineComment | string | null | Sí |
declineReason | string | null | Sí |
declinedAt | string | null (date-time) | Sí |
depositPercent | integer | null | Sí |
firstViewedAt | string | null (date-time) | Sí |
hasUnpublishedChanges | boolean | Sí |
id | string (uuid) | Sí |
invoice | object | null | Sí |
invoice.currency | string | Sí |
invoice.dueDate | string (date) | Sí |
invoice.id | string (uuid) | Sí |
invoice.number | string | Sí |
invoice.paidAt | string | null (date-time) | Sí |
invoice.status | string | Sí |
invoice.total | integer | Sí |
invoiceId | string | null (uuid) | Sí |
language | null en los ejemplos | Sí |
lastViewedAt | string | null (date-time) | Sí |
locked | boolean | Sí |
notifications | object | Sí |
notifications.accepted | boolean | Sí |
notifications.declined | boolean | Sí |
notifications.question | boolean | Sí |
notifications.viewed | boolean | Sí |
organizationId | string (uuid) | Sí |
owner | object | Sí |
owner.image | null en los ejemplos | Sí |
owner.memberId | string (uuid) | Sí |
owner.name | string | Sí |
owner.userId | string (uuid) | Sí |
ownerId | string (uuid) | Sí |
paidAt | string | null (date-time) | Sí |
payment | object | null | Sí |
payment.amount | integer | Sí |
payment.applicationFee | integer | Sí |
payment.createdAt | string (date-time) | Sí |
payment.currency | string | Sí |
payment.id | string (uuid) | Sí |
payment.paidAt | string (date-time) | Sí |
payment.payerEmail | string (email) | Sí |
payment.payerName | string | Sí |
payment.status | string | Sí |
paymentDueDate | null en los ejemplos | Sí |
paymentDueDays | null en los ejemplos | Sí |
paymentTerms | string | Sí |
primaryContactId | string | null (uuid) | Sí |
publicId | string | Sí |
reference | null en los ejemplos | Sí |
reminderSentAt | null en los ejemplos | Sí |
sentAt | string | null (date-time) | Sí |
share | object | Sí |
share.channels | array of object | Sí |
share.channels[].available | boolean | Sí |
share.channels[].id | string | Sí |
share.recipients | array of object | Sí |
share.recipients[].channel | string | Sí |
share.recipients[].contactId | string (uuid) | Sí |
share.recipients[].createdAt | string (date-time) | Sí |
share.recipients[].firstName | string | Sí |
share.recipients[].firstViewedAt | string | null (date-time) | Sí |
share.recipients[].id | string (uuid) | Sí |
share.recipients[].lastName | null en los ejemplos | Sí |
share.recipients[].lastViewedAt | string | null (date-time) | Sí |
share.recipients[].mergedContactId | null en los ejemplos | Sí |
share.recipients[].token | string | Sí |
share.recipients[].url | string (uri) | Sí |
share.recipients[].viewCount | integer | Sí |
share.url | string | null (uri) | Sí |
signatureVerification | object | null | Sí |
signatureVerification.email | string (email) | Sí |
signatureVerification.sendCount | integer | Sí |
signatureVerification.sentAt | string (date-time) | Sí |
signatureVerification.verifiedAt | string | null (date-time) | Sí |
signatureVerification.verifiedIp | string | null | Sí |
signatureVerification.verifiedUserAgent | null en los ejemplos | Sí |
status | string | Sí |
title | string | Sí |
totalAmount | integer | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
validUntil | string (date-time) | Sí |
verifySignerEmail | boolean | Sí |
viewCount | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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}
Cambia un borrador de propuesta: contenido, artículos, paquetes, cliente y ajustes.
ActualizarSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
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 | Sí | 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 | Sí | 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 | Sí | 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 | Sí | 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 | Sí | 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 |
Respuesta
136 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
acceptPayments | boolean | Sí |
acceptance | object | null | Sí |
acceptance.acceptedAt | string (date-time) | Sí |
acceptance.chosen | object | Sí |
acceptance.chosen.addOns | array of object | Sí |
acceptance.chosen.addOns[].id | string (uuid) | Sí |
acceptance.chosen.addOns[].name | string | Sí |
acceptance.chosen.addOns[].total | integer | Sí |
acceptance.chosen.included | array of object | Sí |
acceptance.chosen.included[].id | string (uuid) | Sí |
acceptance.chosen.included[].name | string | Sí |
acceptance.chosen.included[].total | integer | Sí |
acceptance.chosen.package | object | Sí |
acceptance.chosen.package.id | string (uuid) | Sí |
acceptance.chosen.package.items | array of object | Sí |
acceptance.chosen.package.name | string | Sí |
acceptance.chosen.package.total | integer | Sí |
acceptance.dealId | string (uuid) | Sí |
acceptance.depositAmount | integer | Sí |
acceptance.id | string (uuid) | Sí |
acceptance.ipAddress | string | Sí |
acceptance.organizationId | string (uuid) | Sí |
acceptance.recipientId | string (uuid) | Sí |
acceptance.selection | object | Sí |
acceptance.selection.optionalItemIds | array of string (uuid) | Sí |
acceptance.selection.packageId | string (uuid) | Sí |
acceptance.signerEmail | string (email) | Sí |
acceptance.signerName | string | Sí |
acceptance.signerTaxId | string | Sí |
acceptance.totalAmount | integer | Sí |
acceptance.userAgent | string | Sí |
acceptance.version | integer | Sí |
acceptance.versionHash | string | Sí |
acceptance.versionId | string (uuid) | Sí |
acceptedAt | string | null (date-time) | Sí |
archived | boolean | Sí |
catalogRequestId | null en los ejemplos | Sí |
clientSelection | object | null | Sí |
clientSelection.optionalItemIds | array of string (uuid) | Sí |
clientSelection.packageId | string (uuid) | Sí |
company | object | null | Sí |
company.id | string (uuid) | Sí |
company.name | string | Sí |
companyId | string | null (uuid) | Sí |
content | object | Sí |
content.items | array of object | Sí |
content.items[].description | null en los ejemplos | Sí |
content.items[].id | string (uuid) | Sí |
content.items[].name | string | Sí |
content.items[].optional | boolean | Sí |
content.items[].quantity | integer | Sí |
content.items[].serviceId | null en los ejemplos | Sí |
content.items[].unitPrice | integer | Sí |
content.packages | array of object | Sí |
content.packages[].description | null en los ejemplos | Sí |
content.packages[].discount | null en los ejemplos | Sí |
content.packages[].id | string (uuid) | Sí |
content.packages[].items | array of object | Sí |
content.packages[].items[].description | null en los ejemplos | Sí |
content.packages[].items[].id | string (uuid) | Sí |
content.packages[].items[].name | string | Sí |
content.packages[].items[].optional | boolean | Sí |
content.packages[].items[].quantity | integer | Sí |
content.packages[].items[].serviceId | null en los ejemplos | Sí |
content.packages[].items[].unitPrice | integer | Sí |
content.packages[].name | string | Sí |
content.packages[].recommended | boolean | Sí |
content.scope | null en los ejemplos | Sí |
content.summary | string | null | Sí |
content.terms | string | null | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
currency | string | Sí |
currentVersion | integer | Sí |
customProperties | object of any | Sí |
declineComment | null en los ejemplos | Sí |
declineReason | null en los ejemplos | Sí |
declinedAt | null en los ejemplos | Sí |
depositPercent | integer | null | Sí |
firstViewedAt | string | null (date-time) | Sí |
hasUnpublishedChanges | boolean | Sí |
id | string (uuid) | Sí |
invoice | null en los ejemplos | Sí |
invoiceId | null en los ejemplos | Sí |
language | string | null | Sí |
lastViewedAt | string | null (date-time) | Sí |
locked | boolean | Sí |
notifications | object | Sí |
notifications.accepted | boolean | Sí |
notifications.declined | boolean | Sí |
notifications.question | boolean | Sí |
notifications.viewed | boolean | Sí |
organizationId | string (uuid) | Sí |
owner | object | Sí |
owner.image | null en los ejemplos | Sí |
owner.memberId | string (uuid) | Sí |
owner.name | string | Sí |
owner.userId | string (uuid) | Sí |
ownerId | string (uuid) | Sí |
paidAt | null en los ejemplos | Sí |
payment | null en los ejemplos | Sí |
paymentDueDate | null en los ejemplos | Sí |
paymentDueDays | null en los ejemplos | Sí |
paymentTerms | string | Sí |
primaryContactId | string | null (uuid) | Sí |
publicId | string | Sí |
reference | null en los ejemplos | Sí |
reminderSentAt | null en los ejemplos | Sí |
sentAt | string | null (date-time) | Sí |
share | object | Sí |
share.channels | array of object | Sí |
share.channels[].available | boolean | Sí |
share.channels[].id | string | Sí |
share.recipients | array of object | Sí |
share.recipients[].channel | string | Sí |
share.recipients[].contactId | string (uuid) | Sí |
share.recipients[].createdAt | string (date-time) | Sí |
share.recipients[].firstName | string | Sí |
share.recipients[].firstViewedAt | string (date-time) | Sí |
share.recipients[].id | string (uuid) | Sí |
share.recipients[].lastName | null en los ejemplos | Sí |
share.recipients[].lastViewedAt | string (date-time) | Sí |
share.recipients[].mergedContactId | null en los ejemplos | Sí |
share.recipients[].token | string | Sí |
share.recipients[].url | string (uri) | Sí |
share.recipients[].viewCount | integer | Sí |
share.url | string | null (uri) | Sí |
signatureVerification | null en los ejemplos | Sí |
status | string | Sí |
title | string | null | Sí |
totalAmount | integer | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
validUntil | string (date-time) | Sí |
verifySignerEmail | boolean | Sí |
viewCount | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"acceptPayments": true,
"acceptance": {
"acceptedAt": "2026-11-21T14:00:00.000Z",
"chosen": {
"package": {},
"included": [],
"addOns": []
},
"dealId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"depositAmount": 1,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ipAddress": "…",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"selection": {
"packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"optionalItemIds": []
},
"signerEmail": "[email protected]",
"signerName": "Ana Lima",
"signerTaxId": "…",
"totalAmount": 1,
"userAgent": "…",
"version": 1,
"versionHash": "…",
"versionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"acceptedAt": "2026-11-21T14:00:00.000Z",
"archived": true,
"catalogRequestId": null,
"clientSelection": {
"optionalItemIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"company": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
},
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"content": {
"items": [
{}
],
"packages": [
{}
],
"scope": null,
"summary": "…",
"terms": "…"
},
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"currency": "USD",
"currentVersion": 1,
"customProperties": {},
"declineComment": null,
"declineReason": null,
"declinedAt": null,
"depositPercent": 1,
"firstViewedAt": "2026-11-21T14:00:00.000Z",
"hasUnpublishedChanges": true,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"invoice": null,
"invoiceId": null,
"language": "…",
"lastViewedAt": "2026-11-21T14:00:00.000Z",
"locked": true,
"notifications": {
"accepted": true,
"declined": true,
"question": true,
"viewed": true
},
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"owner": {
"image": null,
"memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"paidAt": null,
"payment": null,
"paymentDueDate": null,
"paymentDueDays": null,
"paymentTerms": "…",
"primaryContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"publicId": "…",
"reference": null,
"reminderSentAt": null,
"sentAt": "2026-11-21T14:00:00.000Z",
"share": {
"channels": [
{}
],
"recipients": [
{}
],
"url": "https://example.com"
},
"signatureVerification": null,
"status": "…",
"title": "…",
"totalAmount": 1,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"validUntil": "2026-11-21T14:00:00.000Z",
"verifySignerEmail": true,
"viewCount": 1
}GET/v1/deals/{id}/activity
La cronología de una propuesta: enviada, vista, preguntas, aceptada o rechazada.
Leer/{id}/activitySi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
50 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
clientSelection | object | null | Sí |
clientSelection.optionalItemIds | array of string (uuid) | Sí |
clientSelection.packageId | string (uuid) | Sí |
events | array of object | Sí |
events[].actorId | string | null (uuid) | Sí |
events[].createdAt | string (date-time) | Sí |
events[].data | object of any | Sí |
events[].dealId | string (uuid) | Sí |
events[].id | string (uuid) | Sí |
events[].organizationId | string (uuid) | Sí |
events[].recipientId | string | null (uuid) | Sí |
events[].type | string | Sí |
firstViewedAt | string | null (date-time) | Sí |
lastViewedAt | string | null (date-time) | Sí |
recipients | array of object | Sí |
recipients[].channel | string | Sí |
recipients[].contactId | string (uuid) | Sí |
recipients[].createdAt | string (date-time) | Sí |
recipients[].firstName | string | Sí |
recipients[].firstViewedAt | string (date-time) | Sí |
recipients[].id | string (uuid) | Sí |
recipients[].lastName | null en los ejemplos | Sí |
recipients[].lastViewedAt | string (date-time) | Sí |
recipients[].mergedContactId | null en los ejemplos | Sí |
recipients[].token | string | Sí |
recipients[].viewCount | integer | Sí |
sectionSeconds | object | Sí |
sectionSeconds.pricing | integer | No |
sectionSeconds.terms | integer | No |
totalSeconds | integer | Sí |
versions | array of object | Sí |
versions[].createdAt | string (date-time) | Sí |
versions[].hash | string | Sí |
versions[].supersededAt | string | null (date-time) | Sí |
versions[].version | integer | Sí |
viewCount | integer | Sí |
views | array of object | Sí |
views[].dealId | string (uuid) | Sí |
views[].durationSeconds | integer | Sí |
views[].id | string (uuid) | Sí |
views[].ipAddress | string | Sí |
views[].lastSeenAt | string (date-time) | Sí |
views[].organizationId | string (uuid) | Sí |
views[].recipientId | string (uuid) | Sí |
views[].sectionSeconds | object | Sí |
views[].sectionSeconds.pricing | integer | No |
views[].sectionSeconds.terms | integer | No |
views[].startedAt | string (date-time) | Sí |
views[].userAgent | null en los ejemplos | Sí |
views[].version | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"viewCount": 1,
"firstViewedAt": "2026-11-21T14:00:00.000Z",
"lastViewedAt": "2026-11-21T14:00:00.000Z",
"totalSeconds": 1,
"sectionSeconds": {
"pricing": 1,
"terms": 1
},
"clientSelection": {
"packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"optionalItemIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
},
"recipients": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"firstName": "Ana",
"lastName": null,
"channel": "…",
"token": "…",
"viewCount": 1,
"firstViewedAt": "2026-11-21T14:00:00.000Z",
"lastViewedAt": "2026-11-21T14:00:00.000Z",
"createdAt": "2026-11-21T14:00:00.000Z",
"mergedContactId": null
}
],
"versions": [
{
"version": 1,
"hash": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"supersededAt": "2026-11-21T14:00:00.000Z"
}
],
"views": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"dealId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"version": 1,
"ipAddress": "…",
"userAgent": null,
"durationSeconds": 1,
"sectionSeconds": {},
"startedAt": "2026-11-21T14:00:00.000Z",
"lastSeenAt": "2026-11-21T14:00:00.000Z"
}
],
"events": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"dealId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"type": "…",
"recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"actorId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"data": {},
"createdAt": "2026-11-21T14:00:00.000Z"
}
]
}POST/v1/deals/{id}/decline
Marca una propuesta como rechazada.
Actualizar/{id}/declineSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
reason | "price" | "timeline" | "scope" | "other" | Sí | |
comment | string | null | No |
Ejemplo
curl -X POST "https://api.firmado.app/v1/deals/{id}/decline" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"reason": "price",
"comment": "…"
}'const res = await fetch("https://api.firmado.app/v1/deals/{id}/decline", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"reason": "price",
"comment": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/deals/{id}/decline",
headers={"X-Api-Key": "fmd_..."},
json={
"reason": "price",
"comment": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/deals/{id}/decline");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"reason": "price",
"comment": "…"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/deals/{id}/decline")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"reason": "price",
"comment": "…"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"reason": "price",
"comment": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/deals/{id}/decline", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/deals/{id}/decline"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"reason": "price",
"comment": "…"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/deals/{id}/decline");
request.Content = new StringContent(""""
{
"reason": "price",
"comment": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();POST/v1/deals/{id}/duplicate
Un nuevo borrador con el mismo contenido.
Crear/{id}/duplicateSi va bien: 201.Permiso: Crear.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
68 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
acceptPayments | boolean | Sí |
acceptance | null en los ejemplos | Sí |
acceptedAt | null en los ejemplos | Sí |
archived | boolean | Sí |
catalogRequestId | null en los ejemplos | Sí |
clientSelection | null en los ejemplos | Sí |
company | null en los ejemplos | Sí |
companyId | null en los ejemplos | Sí |
content | object | Sí |
content.items | array of any | Sí |
content.packages | array of any | Sí |
content.scope | null en los ejemplos | Sí |
content.summary | null en los ejemplos | Sí |
content.terms | string | null | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
currency | string | Sí |
currentVersion | integer | Sí |
customProperties | object of any | Sí |
declineComment | null en los ejemplos | Sí |
declineReason | null en los ejemplos | Sí |
declinedAt | null en los ejemplos | Sí |
depositPercent | integer | null | Sí |
firstViewedAt | null en los ejemplos | Sí |
hasUnpublishedChanges | boolean | Sí |
id | string (uuid) | Sí |
invoice | null en los ejemplos | Sí |
invoiceId | null en los ejemplos | Sí |
language | null en los ejemplos | Sí |
lastViewedAt | null en los ejemplos | Sí |
locked | boolean | Sí |
notifications | object | Sí |
notifications.accepted | boolean | Sí |
notifications.declined | boolean | Sí |
notifications.question | boolean | Sí |
notifications.viewed | boolean | Sí |
organizationId | string (uuid) | Sí |
owner | object | Sí |
owner.image | null en los ejemplos | Sí |
owner.memberId | string (uuid) | Sí |
owner.name | string | Sí |
owner.userId | string (uuid) | Sí |
ownerId | string (uuid) | Sí |
paidAt | null en los ejemplos | Sí |
payment | null en los ejemplos | Sí |
paymentDueDate | null en los ejemplos | Sí |
paymentDueDays | null en los ejemplos | Sí |
paymentTerms | string | Sí |
primaryContactId | null en los ejemplos | Sí |
publicId | string | Sí |
reference | string | null | Sí |
reminderSentAt | null en los ejemplos | Sí |
sentAt | null en los ejemplos | Sí |
share | object | Sí |
share.channels | array of object | Sí |
share.channels[].available | boolean | Sí |
share.channels[].id | string | Sí |
share.recipients | array of any | Sí |
share.url | null en los ejemplos | Sí |
signatureVerification | null en los ejemplos | Sí |
status | string | Sí |
title | string | Sí |
totalAmount | integer | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
validUntil | string (date-time) | Sí |
verifySignerEmail | boolean | Sí |
viewCount | integer | Sí |
Ejemplo
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();Respuesta (201), con valores de ejemplo:
{
"acceptPayments": true,
"acceptance": null,
"acceptedAt": null,
"archived": true,
"catalogRequestId": null,
"clientSelection": null,
"company": null,
"companyId": null,
"content": {
"items": [],
"packages": [],
"scope": null,
"summary": null,
"terms": "…"
},
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"currency": "USD",
"currentVersion": 1,
"customProperties": {},
"declineComment": null,
"declineReason": null,
"declinedAt": null,
"depositPercent": 1,
"firstViewedAt": null,
"hasUnpublishedChanges": true,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"invoice": null,
"invoiceId": null,
"language": null,
"lastViewedAt": null,
"locked": true,
"notifications": {
"accepted": true,
"declined": true,
"question": true,
"viewed": true
},
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"owner": {
"image": null,
"memberId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"paidAt": null,
"payment": null,
"paymentDueDate": null,
"paymentDueDays": null,
"paymentTerms": "…",
"primaryContactId": null,
"publicId": "…",
"reference": "…",
"reminderSentAt": null,
"sentAt": null,
"share": {
"channels": [
{}
],
"recipients": [],
"url": null
},
"signatureVerification": null,
"status": "…",
"title": "…",
"totalAmount": 1,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"validUntil": "2026-11-21T14:00:00.000Z",
"verifySignerEmail": true,
"viewCount": 1
}GET/v1/deals/{id}/history
Cada cambio en las propiedades de una propuesta, con quién lo hizo.
Leer/{id}/historySi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Parámetros de consulta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
field | string | Sí | max length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$ |
Respuesta
13 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
entries | array of object | Sí |
entries[].changedAt | string (date-time) | Sí |
entries[].changedBy | object | Sí |
entries[].changedBy.id | string (uuid) | Sí |
entries[].changedBy.name | string | Sí |
entries[].id | string (uuid) | Sí |
entries[].newLabel | string | null | Sí |
entries[].newValue | string | Sí |
entries[].oldLabel | null en los ejemplos | Sí |
entries[].oldValue | string | null | Sí |
field | string | Sí |
limit | integer | Sí |
total | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"field": "…",
"limit": 1,
"total": 1,
"entries": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"oldValue": "…",
"newValue": "…",
"changedAt": "2026-11-21T14:00:00.000Z",
"oldLabel": null,
"newLabel": "…",
"changedBy": {}
}
]
}GET/v1/deals/{id}/preview
La propuesta como la vería el cliente.
Leer/{id}/previewSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
48 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
selection | object | Sí |
selection.optionalItemIds | array of any | Sí |
selection.packageId | string | null (uuid) | Sí |
snapshot | object | Sí |
snapshot.company | object | null | Sí |
snapshot.company.name | string | Sí |
snapshot.content | object | Sí |
snapshot.content.items | array of object | Sí |
snapshot.content.items[].description | null en los ejemplos | Sí |
snapshot.content.items[].id | string (uuid) | Sí |
snapshot.content.items[].name | string | Sí |
snapshot.content.items[].optional | boolean | Sí |
snapshot.content.items[].quantity | integer | Sí |
snapshot.content.items[].serviceId | null en los ejemplos | Sí |
snapshot.content.items[].unitPrice | integer | Sí |
snapshot.content.packages | array of object | Sí |
snapshot.content.packages[].description | null en los ejemplos | Sí |
snapshot.content.packages[].discount | null en los ejemplos | Sí |
snapshot.content.packages[].id | string (uuid) | Sí |
snapshot.content.packages[].items | array of object | Sí |
snapshot.content.packages[].name | string | Sí |
snapshot.content.packages[].recommended | boolean | Sí |
snapshot.content.scope | null en los ejemplos | Sí |
snapshot.content.summary | string | null | Sí |
snapshot.content.terms | string | null | Sí |
snapshot.currency | string | Sí |
snapshot.depositPercent | integer | null | Sí |
snapshot.language | string | Sí |
snapshot.organization | object | Sí |
snapshot.organization.logo | null en los ejemplos | Sí |
snapshot.organization.name | string | Sí |
snapshot.reference | string | null | Sí |
snapshot.templateId | string | Sí |
snapshot.theme | object | Sí |
snapshot.theme.accentColor | string | Sí |
snapshot.theme.backgroundColor | string | Sí |
snapshot.theme.bodyFont | string | Sí |
snapshot.theme.cornerRadius | string | Sí |
snapshot.theme.headingFont | string | Sí |
snapshot.theme.logoUrl | string (uri) | No |
snapshot.theme.primaryColor | string | Sí |
snapshot.theme.textColor | string | Sí |
snapshot.title | string | null | Sí |
snapshot.validUntil | string (date-time) | Sí |
totals | object | Sí |
totals.depositAmount | integer | null | Sí |
totals.total | integer | Sí |
url | string (uri) | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"selection": {
"optionalItemIds": [],
"packageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"snapshot": {
"company": {
"name": "Ana Lima"
},
"content": {
"items": [],
"packages": [],
"scope": null,
"summary": "…",
"terms": "…"
},
"currency": "USD",
"depositPercent": 1,
"language": "…",
"organization": {
"logo": null,
"name": "Ana Lima"
},
"reference": "…",
"templateId": "…",
"theme": {
"accentColor": "…",
"backgroundColor": "…",
"bodyFont": "…",
"cornerRadius": "…",
"headingFont": "…",
"primaryColor": "…",
"textColor": "…",
"logoUrl": "https://example.com"
},
"title": "…",
"validUntil": "2026-11-21T14:00:00.000Z"
},
"totals": {
"depositAmount": 1,
"total": 1
},
"url": "https://example.com"
}POST/v1/deals/{id}/preview
La propuesta como la vería el cliente, con cambios sin guardar; no guarda nada.
Leer/{id}/previewSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
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 | Sí | 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 | Sí | 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 | Sí | 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 | Sí | 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 | Sí | 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 |
Respuesta
47 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
selection | object | Sí |
selection.optionalItemIds | array of any | Sí |
selection.packageId | string | null (uuid) | Sí |
snapshot | object | Sí |
snapshot.company | object | null | Sí |
snapshot.company.name | string | Sí |
snapshot.content | object | Sí |
snapshot.content.items | array of object | Sí |
snapshot.content.items[].description | null en los ejemplos | Sí |
snapshot.content.items[].id | string (uuid) | Sí |
snapshot.content.items[].name | string | Sí |
snapshot.content.items[].optional | boolean | Sí |
snapshot.content.items[].quantity | integer | Sí |
snapshot.content.items[].serviceId | null en los ejemplos | Sí |
snapshot.content.items[].unitPrice | integer | Sí |
snapshot.content.packages | array of object | Sí |
snapshot.content.packages[].description | null en los ejemplos | Sí |
snapshot.content.packages[].discount | object | Sí |
snapshot.content.packages[].id | string (uuid) | Sí |
snapshot.content.packages[].items | array of object | Sí |
snapshot.content.packages[].name | string | Sí |
snapshot.content.packages[].recommended | boolean | Sí |
snapshot.content.scope | null en los ejemplos | Sí |
snapshot.content.summary | null en los ejemplos | Sí |
snapshot.content.terms | null en los ejemplos | Sí |
snapshot.currency | string | Sí |
snapshot.depositPercent | integer | null | Sí |
snapshot.language | string | Sí |
snapshot.organization | object | Sí |
snapshot.organization.logo | null en los ejemplos | Sí |
snapshot.organization.name | string | Sí |
snapshot.reference | null en los ejemplos | Sí |
snapshot.templateId | string | Sí |
snapshot.theme | object | Sí |
snapshot.theme.accentColor | string | Sí |
snapshot.theme.backgroundColor | string | Sí |
snapshot.theme.bodyFont | string | Sí |
snapshot.theme.cornerRadius | string | Sí |
snapshot.theme.headingFont | string | Sí |
snapshot.theme.primaryColor | string | Sí |
snapshot.theme.textColor | string | Sí |
snapshot.title | string | Sí |
snapshot.validUntil | string (date-time) | Sí |
totals | object | Sí |
totals.depositAmount | integer | null | Sí |
totals.total | integer | Sí |
url | string (uri) | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Preguntas que hicieron los clientes en la página de la propuesta, de la más reciente a la más antigua.
Leer/{id}/questionsSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
16 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
[].answer | null en los ejemplos | Sí |
[].answerSentTo | null en los ejemplos | Sí |
[].answeredAt | null en los ejemplos | Sí |
[].answeredBy | null en los ejemplos | Sí |
[].contact | object | Sí |
[].contact.emails | array of string (email) | Sí |
[].contact.id | string (uuid) | Sí |
[].contact.name | string | Sí |
[].contact.phones | array of any | Sí |
[].contact.socialProfiles | object | Sí |
[].createdAt | string (date-time) | Sí |
[].email | string (email) | Sí |
[].fromRecipientLink | boolean | Sí |
[].id | string (uuid) | Sí |
[].message | string | Sí |
[].name | string | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
[
{
"answer": null,
"answerSentTo": null,
"answeredAt": null,
"answeredBy": null,
"contact": {
"emails": [],
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"phones": [],
"socialProfiles": {}
},
"createdAt": "2026-11-21T14:00:00.000Z",
"email": "[email protected]",
"fromRecipientLink": true,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"message": "…",
"name": "Ana Lima"
}
]PATCH/v1/deals/{id}/questions/{questionId}
Marca la pregunta de un cliente como respondida o no.
Actualizar/{id}/questions/{questionId}Si va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí | |
questionId | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
answered | boolean | Sí |
Respuesta
16 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
answer | null en los ejemplos | Sí |
answerSentTo | null en los ejemplos | Sí |
answeredAt | string | null (date-time) | Sí |
answeredBy | string | null | Sí |
contact | object | Sí |
contact.emails | array of string (email) | Sí |
contact.id | string (uuid) | Sí |
contact.name | string | Sí |
contact.phones | array of any | Sí |
contact.socialProfiles | object | Sí |
createdAt | string (date-time) | Sí |
email | string (email) | Sí |
fromRecipientLink | boolean | Sí |
id | string (uuid) | Sí |
message | string | Sí |
name | string | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"message": "…",
"name": "Ana Lima",
"email": "[email protected]",
"answeredAt": "2026-11-21T14:00:00.000Z",
"answer": null,
"answerSentTo": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"fromRecipientLink": true,
"answeredBy": "…",
"contact": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"emails": [
"[email protected]"
],
"phones": [],
"socialProfiles": {}
}
}POST/v1/deals/{id}/questions/{questionId}/reply
Responde por correo a quien hizo la pregunta y guarda la respuesta con ella.
Actualizar/{id}/questions/{questionId}/replySi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí | |
questionId | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
message | string | Sí | min length 1 · max length 5000 |
Respuesta
16 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
answer | string | Sí |
answerSentTo | string (email) | Sí |
answeredAt | string (date-time) | Sí |
answeredBy | string | Sí |
contact | object | Sí |
contact.emails | array of string (email) | Sí |
contact.id | string (uuid) | Sí |
contact.name | string | Sí |
contact.phones | array of any | Sí |
contact.socialProfiles | object | Sí |
createdAt | string (date-time) | Sí |
email | string (email) | Sí |
fromRecipientLink | boolean | Sí |
id | string (uuid) | Sí |
message | string | Sí |
name | string | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Añade un contacto al que enviar la propuesta y devuelve su enlace con seguimiento.
Actualizar/{id}/recipientsSi va bien: 201.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
contactId | string (uuid) | Sí | |
channel | "link" | "email" | "whatsapp" | No | default "link" |
Respuesta
12 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
channel | string | Sí |
contactId | string (uuid) | Sí |
createdAt | string (date-time) | Sí |
firstName | string | Sí |
firstViewedAt | null en los ejemplos | Sí |
id | string (uuid) | Sí |
lastName | string | null | Sí |
lastViewedAt | null en los ejemplos | Sí |
mergedContactId | null en los ejemplos | Sí |
token | string | Sí |
url | string (uri) | Sí |
viewCount | integer | Sí |
Ejemplo
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();Respuesta (201), con valores de ejemplo:
{
"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}
Quita un destinatario; su enlace deja de funcionar.
Actualizar/{id}/recipients/{recipientId}Si va bien: 204.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí | |
recipientId | string | Sí |
Ejemplo
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
Reabre una propuesta rechazada o vencida, con una validez futura.
Actualizar/{id}/reopenSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
validUntil | string (date-time) | null | No | default null |
Respuesta
88 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
acceptPayments | boolean | Sí |
acceptance | null en los ejemplos | Sí |
acceptedAt | null en los ejemplos | Sí |
archived | boolean | Sí |
catalogRequestId | null en los ejemplos | Sí |
clientSelection | null en los ejemplos | Sí |
company | null en los ejemplos | Sí |
companyId | null en los ejemplos | Sí |
content | object | Sí |
content.items | array of object | Sí |
content.items[].description | null en los ejemplos | Sí |
content.items[].id | string (uuid) | Sí |
content.items[].name | string | Sí |
content.items[].optional | boolean | Sí |
content.items[].quantity | integer | Sí |
content.items[].serviceId | null en los ejemplos | Sí |
content.items[].unitPrice | integer | Sí |
content.packages | array of object | Sí |
content.packages[].description | null en los ejemplos | Sí |
content.packages[].discount | null en los ejemplos | Sí |
content.packages[].id | string (uuid) | Sí |
content.packages[].items | array of object | Sí |
content.packages[].items[].description | null en los ejemplos | Sí |
content.packages[].items[].id | string (uuid) | Sí |
content.packages[].items[].name | string | Sí |
content.packages[].items[].optional | boolean | Sí |
content.packages[].items[].quantity | integer | Sí |
content.packages[].items[].serviceId | null en los ejemplos | Sí |
content.packages[].items[].unitPrice | integer | Sí |
content.packages[].name | string | Sí |
content.packages[].recommended | boolean | Sí |
content.scope | null en los ejemplos | Sí |
content.summary | string | Sí |
content.terms | string | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
currency | string | Sí |
currentVersion | integer | Sí |
customProperties | object of any | Sí |
declineComment | null en los ejemplos | Sí |
declineReason | null en los ejemplos | Sí |
declinedAt | null en los ejemplos | Sí |
depositPercent | integer | Sí |
firstViewedAt | null en los ejemplos | Sí |
hasUnpublishedChanges | boolean | Sí |
id | string (uuid) | Sí |
invoice | null en los ejemplos | Sí |
invoiceId | null en los ejemplos | Sí |
language | null en los ejemplos | Sí |
lastViewedAt | null en los ejemplos | Sí |
locked | boolean | Sí |
notifications | object | Sí |
notifications.accepted | boolean | Sí |
notifications.declined | boolean | Sí |
notifications.question | boolean | Sí |
notifications.viewed | boolean | Sí |
organizationId | string (uuid) | Sí |
owner | object | Sí |
owner.image | null en los ejemplos | Sí |
owner.memberId | string (uuid) | Sí |
owner.name | string | Sí |
owner.userId | string (uuid) | Sí |
ownerId | string (uuid) | Sí |
paidAt | null en los ejemplos | Sí |
payment | null en los ejemplos | Sí |
paymentDueDate | null en los ejemplos | Sí |
paymentDueDays | null en los ejemplos | Sí |
paymentTerms | string | Sí |
primaryContactId | null en los ejemplos | Sí |
publicId | string | Sí |
reference | null en los ejemplos | Sí |
reminderSentAt | null en los ejemplos | Sí |
sentAt | string (date-time) | Sí |
share | object | Sí |
share.channels | array of object | Sí |
share.channels[].available | boolean | Sí |
share.channels[].id | string | Sí |
share.recipients | array of any | Sí |
share.url | string (uri) | Sí |
signatureVerification | null en los ejemplos | Sí |
status | string | Sí |
title | string | Sí |
totalAmount | integer | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
validUntil | string (date-time) | Sí |
verifySignerEmail | boolean | Sí |
viewCount | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Envía la propuesta, o publica el borrador editado como la siguiente versión en el mismo enlace.
Actualizar/{id}/sendSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
106 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
acceptPayments | boolean | Sí |
acceptance | null en los ejemplos | Sí |
acceptedAt | null en los ejemplos | Sí |
archived | boolean | Sí |
catalogRequestId | null en los ejemplos | Sí |
clientSelection | object | null | Sí |
clientSelection.optionalItemIds | array of string (uuid) | Sí |
clientSelection.packageId | string (uuid) | Sí |
company | object | null | Sí |
company.id | string (uuid) | Sí |
company.name | string | Sí |
companyId | string | null (uuid) | Sí |
content | object | Sí |
content.items | array of object | Sí |
content.items[].description | null en los ejemplos | Sí |
content.items[].id | string (uuid) | Sí |
content.items[].name | string | Sí |
content.items[].optional | boolean | Sí |
content.items[].quantity | integer | Sí |
content.items[].serviceId | null en los ejemplos | Sí |
content.items[].unitPrice | integer | Sí |
content.packages | array of object | Sí |
content.packages[].description | null en los ejemplos | Sí |
content.packages[].discount | object | null | Sí |
content.packages[].discount.type | string | Sí |
content.packages[].discount.value | integer | Sí |
content.packages[].id | string (uuid) | Sí |
content.packages[].items | array of object | Sí |
content.packages[].items[].description | null en los ejemplos | Sí |
content.packages[].items[].id | string (uuid) | Sí |
content.packages[].items[].name | string | Sí |
content.packages[].items[].optional | boolean | Sí |
content.packages[].items[].quantity | integer | Sí |
content.packages[].items[].serviceId | null en los ejemplos | Sí |
content.packages[].items[].unitPrice | integer | Sí |
content.packages[].name | string | Sí |
content.packages[].recommended | boolean | Sí |
content.scope | null en los ejemplos | Sí |
content.summary | string | null | Sí |
content.terms | string | null | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
currency | string | Sí |
currentVersion | integer | Sí |
customProperties | object of any | Sí |
declineComment | null en los ejemplos | Sí |
declineReason | null en los ejemplos | Sí |
declinedAt | null en los ejemplos | Sí |
depositPercent | integer | null | Sí |
firstViewedAt | string | null (date-time) | Sí |
hasUnpublishedChanges | boolean | Sí |
id | string (uuid) | Sí |
invoice | null en los ejemplos | Sí |
invoiceId | null en los ejemplos | Sí |
language | null en los ejemplos | Sí |
lastViewedAt | string | null (date-time) | Sí |
locked | boolean | Sí |
notifications | object | Sí |
notifications.accepted | boolean | Sí |
notifications.declined | boolean | Sí |
notifications.question | boolean | Sí |
notifications.viewed | boolean | Sí |
organizationId | string (uuid) | Sí |
owner | object | Sí |
owner.image | null en los ejemplos | Sí |
owner.memberId | string (uuid) | Sí |
owner.name | string | Sí |
owner.userId | string (uuid) | Sí |
ownerId | string (uuid) | Sí |
paidAt | null en los ejemplos | Sí |
payment | null en los ejemplos | Sí |
paymentDueDate | null en los ejemplos | Sí |
paymentDueDays | integer | null | Sí |
paymentTerms | string | Sí |
primaryContactId | string | null (uuid) | Sí |
publicId | string | Sí |
reference | null en los ejemplos | Sí |
reminderSentAt | null en los ejemplos | Sí |
sentAt | string (date-time) | Sí |
share | object | Sí |
share.channels | array of object | Sí |
share.channels[].available | boolean | Sí |
share.channels[].id | string | Sí |
share.recipients | array of object | Sí |
share.recipients[].channel | string | Sí |
share.recipients[].contactId | string (uuid) | Sí |
share.recipients[].createdAt | string (date-time) | Sí |
share.recipients[].firstName | string | Sí |
share.recipients[].firstViewedAt | string (date-time) | Sí |
share.recipients[].id | string (uuid) | Sí |
share.recipients[].lastName | null en los ejemplos | Sí |
share.recipients[].lastViewedAt | string (date-time) | Sí |
share.recipients[].mergedContactId | null en los ejemplos | Sí |
share.recipients[].token | string | Sí |
share.recipients[].url | string (uri) | Sí |
share.recipients[].viewCount | integer | Sí |
share.url | string (uri) | Sí |
signatureVerification | null en los ejemplos | Sí |
status | string | Sí |
title | string | Sí |
totalAmount | integer | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
validUntil | string (date-time) | Sí |
verifySignerEmail | boolean | Sí |
viewCount | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Envía a quien firma un nuevo enlace para confirmar su correo.
Actualizar/{id}/signature/resendSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
6 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
email | string (email) | Sí |
sendCount | integer | Sí |
sentAt | string (date-time) | Sí |
verifiedAt | null en los ejemplos | Sí |
verifiedIp | null en los ejemplos | Sí |
verifiedUserAgent | null en los ejemplos | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"email": "[email protected]",
"sentAt": "2026-11-21T14:00:00.000Z",
"sendCount": 1,
"verifiedAt": null,
"verifiedIp": null,
"verifiedUserAgent": null
}GET/v1/deals/board
Propuestas agrupadas por estado, para un tablero.
Leer/boardSi va bien: 200.Permiso: Leer.
Parámetros de consulta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
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 |
Respuesta
26 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
columns | array of object | Sí |
columns[].amount | integer | Sí |
columns[].count | integer | Sí |
columns[].deals | array of object | Sí |
columns[].deals[].acceptedAt | null en los ejemplos | Sí |
columns[].deals[].archived | boolean | Sí |
columns[].deals[].companyId | string | null (uuid) | Sí |
columns[].deals[].companyName | string | null | Sí |
columns[].deals[].createdAt | string (date-time) | Sí |
columns[].deals[].currency | string | Sí |
columns[].deals[].hasUnpublishedChanges | boolean | Sí |
columns[].deals[].id | string (uuid) | Sí |
columns[].deals[].lastViewedAt | null en los ejemplos | Sí |
columns[].deals[].ownerId | string (uuid) | Sí |
columns[].deals[].ownerImage | null en los ejemplos | Sí |
columns[].deals[].ownerName | string | Sí |
columns[].deals[].paidAt | null en los ejemplos | Sí |
columns[].deals[].reference | null en los ejemplos | Sí |
columns[].deals[].sentAt | string | null (date-time) | Sí |
columns[].deals[].status | string | Sí |
columns[].deals[].title | string | Sí |
columns[].deals[].totalAmount | integer | Sí |
columns[].deals[].updatedAt | string (date-time) | Sí |
columns[].deals[].validUntil | string (date-time) | Sí |
columns[].deals[].viewCount | integer | Sí |
columns[].status | string | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"columns": [
{
"amount": 1,
"count": 1,
"deals": [],
"status": "…"
}
]
}Eventos de webhook
Cambios de esta funcionalidad que los webhooks pueden enviar.
deal.createdCreardeal.updatedActualizardeal.sentActualizardeal.viewedActualizardeal.questionActualizardeal.acceptedActualizardeal.declinedActualizardeal.expiredActualizardeal.paidActualizardeal.deletedEliminar