Approvals
PDFs sent for approval and who approved them.
Values for the examples
Type them once and every example on this page uses them. The API key stays on this page only and is never saved.
GET/v1/approvals
Lists the documents sent for approval.
ListOn success: 200.Permission: Read.
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No | min 1 · default 1 |
pageSize | integer | No | min 1 · max 100 · default 25 |
q | string | No | min length 1 · max length 200 |
archived | string | No | |
status | "draft" | "sent" | "approved" | "declined" | "canceled" | No | |
contactId | string (uuid) | No | |
companyId | string (uuid) | No | |
ownerId | string | No | min length 1 |
createdFrom | string (date-time) | No | |
createdBefore | string (date-time) | No | |
sort | "createdAt" | "title" | No | default "createdAt" |
order | "asc" | "desc" | No | default "desc" |
Response
28 fields
| Field | Type | Always there |
|---|---|---|
data | array of object | Yes |
data[].approvers | object | Yes |
data[].approvers.approved | integer | Yes |
data[].approvers.total | integer | Yes |
data[].canceledAt | null in the examples | Yes |
data[].company | null in the examples | Yes |
data[].companyId | null in the examples | Yes |
data[].completedAt | string | null (date-time) | Yes |
data[].createdAt | string (date-time) | Yes |
data[].createdBy | string (uuid) | Yes |
data[].fileBytes | integer | null | Yes |
data[].fileHash | string | null | Yes |
data[].fileName | string | null | Yes |
data[].hasFile | boolean | Yes |
data[].id | string (uuid) | Yes |
data[].language | null in the examples | Yes |
data[].message | string | null | Yes |
data[].organizationId | string (uuid) | Yes |
data[].ownerId | string (uuid) | Yes |
data[].sentAt | string | null (date-time) | Yes |
data[].status | string | Yes |
data[].title | string | Yes |
data[].updatedAt | string (date-time) | Yes |
data[].updatedBy | string (uuid) | Yes |
data[].verifySignerEmail | boolean | Yes |
page | integer | Yes |
pageSize | integer | Yes |
total | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/approvals" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/approvals", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/approvals",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals");
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/approvals")
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/approvals", 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/approvals"))
.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/approvals");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"data": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…",
"message": "…",
"status": "…",
"companyId": null,
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": null,
"verifySignerEmail": true,
"fileName": "Ana Lima",
"fileBytes": 1,
"fileHash": "…",
"sentAt": "2026-11-21T14:00:00.000Z",
"completedAt": "2026-11-21T14:00:00.000Z",
"canceledAt": null,
"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",
"hasFile": true,
"company": null,
"approvers": {}
}
],
"page": 1,
"pageSize": 1,
"total": 1
}POST/v1/approvals
Creates an approval draft with its approvers.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | Yes | min length 1 · max length 200 |
message | string | null | No | |
companyId | string (uuid) | null | No | |
language | "pt" | "es" | "en" | "fr" | null | No | |
verifySignerEmail | boolean | No | |
approvers | array of object | No | max items 20 |
approvers[].contactId | string (uuid) | No | |
approvers[].email | string (email) | No | max length 320 |
approvers[].name | string | No | min length 1 · max length 200 |
Response
41 fields
| Field | Type | Always there |
|---|---|---|
approvers | array of object | Yes |
approvers[].contactId | string | null (uuid) | Yes |
approvers[].decidedAt | null in the examples | Yes |
approvers[].declineReason | null in the examples | Yes |
approvers[].email | string (email) | Yes |
approvers[].fileHash | null in the examples | Yes |
approvers[].firstViewedAt | null in the examples | Yes |
approvers[].id | string (uuid) | Yes |
approvers[].ipAddress | null in the examples | Yes |
approvers[].lastViewedAt | null in the examples | Yes |
approvers[].name | string | null | Yes |
approvers[].sendCount | integer | Yes |
approvers[].sentAt | null in the examples | Yes |
approvers[].signerName | null in the examples | Yes |
approvers[].signerTaxId | null in the examples | Yes |
approvers[].status | string | Yes |
approvers[].url | null in the examples | Yes |
approvers[].userAgent | null in the examples | Yes |
approvers[].verification | null in the examples | Yes |
approvers[].viewCount | integer | Yes |
canceledAt | null in the examples | Yes |
company | null in the examples | Yes |
companyId | null in the examples | Yes |
completedAt | null in the examples | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
fileBytes | null in the examples | Yes |
fileHash | null in the examples | Yes |
fileName | null in the examples | Yes |
hasFile | boolean | Yes |
id | string (uuid) | Yes |
language | null in the examples | Yes |
message | string | null | Yes |
organizationId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
sentAt | null in the examples | Yes |
status | string | Yes |
title | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
verifySignerEmail | boolean | Yes |
Example
curl -X POST "https://api.firmado.app/v1/approvals" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}'const res = await fetch("https://api.firmado.app/v1/approvals", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/approvals",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}
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/approvals")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}
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": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/approvals", 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/approvals"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}
"""))
.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/approvals");
request.Content = new StringContent(""""
{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (201), with sample values:
{
"approvers": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"email": "[email protected]",
"status": "…",
"url": null,
"sentAt": null,
"sendCount": 1,
"viewCount": 1,
"firstViewedAt": null,
"lastViewedAt": null,
"decidedAt": null,
"signerName": null,
"signerTaxId": null,
"fileHash": null,
"ipAddress": null,
"userAgent": null,
"declineReason": null,
"verification": null
}
],
"canceledAt": null,
"company": null,
"companyId": null,
"completedAt": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"fileBytes": null,
"fileHash": null,
"fileName": null,
"hasFile": true,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": null,
"message": "…",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"sentAt": null,
"status": "…",
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"verifySignerEmail": true
}DELETE/v1/approvals/{id}
Deletes an approval.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/approvals/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/approvals/{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/approvals/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{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/approvals/{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/approvals/{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/approvals/{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/approvals/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/approvals/{id}
Returns an approval with each approver’s answer.
Get oneOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
44 fields
| Field | Type | Always there |
|---|---|---|
approvers | array of object | Yes |
approvers[].contactId | string | null (uuid) | Yes |
approvers[].decidedAt | string | null (date-time) | Yes |
approvers[].declineReason | string | null | Yes |
approvers[].email | string (email) | Yes |
approvers[].fileHash | string | null | Yes |
approvers[].firstViewedAt | string | null (date-time) | Yes |
approvers[].id | string (uuid) | Yes |
approvers[].ipAddress | string | null | Yes |
approvers[].lastViewedAt | string | null (date-time) | Yes |
approvers[].name | string | null | Yes |
approvers[].sendCount | integer | Yes |
approvers[].sentAt | string (date-time) | Yes |
approvers[].signerName | string | null | Yes |
approvers[].signerTaxId | string | null | Yes |
approvers[].status | string | Yes |
approvers[].url | string (uri) | Yes |
approvers[].userAgent | null in the examples | Yes |
approvers[].verification | object | null | Yes |
approvers[].verification.sendCount | integer | Yes |
approvers[].verification.sentAt | string (date-time) | Yes |
approvers[].verification.verifiedAt | string | null (date-time) | Yes |
approvers[].viewCount | integer | Yes |
canceledAt | null in the examples | Yes |
company | null in the examples | Yes |
companyId | null in the examples | Yes |
completedAt | string (date-time) | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
fileBytes | integer | Yes |
fileHash | string | Yes |
fileName | string | Yes |
hasFile | boolean | Yes |
id | string (uuid) | Yes |
language | null in the examples | Yes |
message | string | null | Yes |
organizationId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
sentAt | string (date-time) | Yes |
status | string | Yes |
title | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
verifySignerEmail | boolean | Yes |
Example
curl -X GET "https://api.firmado.app/v1/approvals/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/approvals/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/approvals/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{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/approvals/{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/approvals/{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/approvals/{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/approvals/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…",
"message": "…",
"status": "…",
"companyId": null,
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": null,
"verifySignerEmail": true,
"fileName": "Ana Lima",
"fileBytes": 1,
"fileHash": "…",
"sentAt": "2026-11-21T14:00:00.000Z",
"completedAt": "2026-11-21T14:00:00.000Z",
"canceledAt": null,
"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",
"hasFile": true,
"company": null,
"approvers": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"email": "[email protected]",
"status": "…",
"url": "https://example.com",
"sentAt": "2026-11-21T14:00:00.000Z",
"sendCount": 1,
"viewCount": 1,
"firstViewedAt": "2026-11-21T14:00:00.000Z",
"lastViewedAt": "2026-11-21T14:00:00.000Z",
"decidedAt": "2026-11-21T14:00:00.000Z",
"signerName": "Ana Lima",
"signerTaxId": "…",
"fileHash": "…",
"ipAddress": "…",
"userAgent": null,
"declineReason": "…",
"verification": {}
}
]
}PATCH/v1/approvals/{id}
Changes an approval draft: title, message, approvers and settings.
UpdateOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | No | min length 1 · max length 200 |
message | string | null | No | |
companyId | string (uuid) | null | No | |
language | "pt" | "es" | "en" | "fr" | null | No | |
verifySignerEmail | boolean | No | |
approvers | array of object | No | max items 20 |
approvers[].contactId | string (uuid) | No | |
approvers[].email | string (email) | No | max length 320 |
approvers[].name | string | No | min length 1 · max length 200 |
Example
curl -X PATCH "https://api.firmado.app/v1/approvals/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}'const res = await fetch("https://api.firmado.app/v1/approvals/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/approvals/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{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": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}
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/approvals/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}
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": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/approvals/{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/approvals/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}
"""))
.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/approvals/{id}");
request.Content = new StringContent(""""
{
"title": "…",
"message": "…",
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": "pt"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();POST/v1/approvals/{id}/approvers/{approverId}/resend
Emails an approver their link again.
Update/{id}/approvers/{approverId}/resendOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
approverId | string | Yes |
Example
curl -X POST "https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/resend" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/resend", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/resend",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/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/approvals/{id}/approvers/{approverId}/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/approvals/{id}/approvers/{approverId}/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/approvals/{id}/approvers/{approverId}/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/approvals/{id}/approvers/{approverId}/resend");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();POST/v1/approvals/{id}/approvers/{approverId}/verification/resend
Sends an approver a new link to confirm their email address.
Update/{id}/approvers/{approverId}/verification/resendOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
approverId | string | Yes |
Example
curl -X POST "https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/verification/resend" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/verification/resend", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/verification/resend",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{id}/approvers/{approverId}/verification/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/approvals/{id}/approvers/{approverId}/verification/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/approvals/{id}/approvers/{approverId}/verification/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/approvals/{id}/approvers/{approverId}/verification/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/approvals/{id}/approvers/{approverId}/verification/resend");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();POST/v1/approvals/{id}/cancel
Cancels a sent approval; its links stop working.
Update/{id}/cancelOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X POST "https://api.firmado.app/v1/approvals/{id}/cancel" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/approvals/{id}/cancel", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/approvals/{id}/cancel",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{id}/cancel");
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/approvals/{id}/cancel")
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/approvals/{id}/cancel", 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/approvals/{id}/cancel"))
.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/approvals/{id}/cancel");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/approvals/{id}/file
Downloads the approval’s PDF.
Read/{id}/fileOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X GET "https://api.firmado.app/v1/approvals/{id}/file" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/approvals/{id}/file", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/approvals/{id}/file",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{id}/file");
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/approvals/{id}/file")
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/approvals/{id}/file", 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/approvals/{id}/file"))
.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/approvals/{id}/file");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PUT/v1/approvals/{id}/file
Uploads the PDF to approve (drafts only), replacing the previous one.
Update/{id}/fileOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body: a multipart form, with the file in `file`
| Field | Type | Required | Notes |
|---|---|---|---|
file | string (binary) | Yes |
Response
41 fields
| Field | Type | Always there |
|---|---|---|
approvers | array of object | Yes |
approvers[].contactId | string | null (uuid) | Yes |
approvers[].decidedAt | null in the examples | Yes |
approvers[].declineReason | null in the examples | Yes |
approvers[].email | string (email) | Yes |
approvers[].fileHash | null in the examples | Yes |
approvers[].firstViewedAt | null in the examples | Yes |
approvers[].id | string (uuid) | Yes |
approvers[].ipAddress | null in the examples | Yes |
approvers[].lastViewedAt | null in the examples | Yes |
approvers[].name | string | null | Yes |
approvers[].sendCount | integer | Yes |
approvers[].sentAt | null in the examples | Yes |
approvers[].signerName | null in the examples | Yes |
approvers[].signerTaxId | null in the examples | Yes |
approvers[].status | string | Yes |
approvers[].url | null in the examples | Yes |
approvers[].userAgent | null in the examples | Yes |
approvers[].verification | null in the examples | Yes |
approvers[].viewCount | integer | Yes |
canceledAt | null in the examples | Yes |
company | null in the examples | Yes |
companyId | null in the examples | Yes |
completedAt | null in the examples | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
fileBytes | integer | Yes |
fileHash | string | Yes |
fileName | string | Yes |
hasFile | boolean | Yes |
id | string (uuid) | Yes |
language | null in the examples | Yes |
message | string | null | Yes |
organizationId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
sentAt | null in the examples | Yes |
status | string | Yes |
title | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
verifySignerEmail | boolean | Yes |
Example
curl -X PUT "https://api.firmado.app/v1/approvals/{id}/file" \
-H "X-Api-Key: fmd_..." \
-F "file=@./file.pdf"import { openAsBlob } from "node:fs"
const form = new FormData()
form.append("file", await openAsBlob("./file.pdf"), "file.pdf")
const res = await fetch("https://api.firmado.app/v1/approvals/{id}/file", {
method: "PUT",
headers: { "X-Api-Key": "fmd_..." },
body: form,
})
const data = await res.json()import requests
res = requests.put(
"https://api.firmado.app/v1/approvals/{id}/file",
headers={"X-Api-Key": "fmd_..."},
files={"file": open("file.pdf", "rb")},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{id}/file");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
CURLOPT_POSTFIELDS => ["file" => new CURLFile("file.pdf")],
]);
$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/approvals/{id}/file")
req = Net::HTTP::Put.new(uri)
req["X-Api-Key"] = "fmd_..."
req.set_form([["file", File.open("file.pdf")]], "multipart/form-data")
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)var buf bytes.Buffer
form := multipart.NewWriter(&buf)
part, _ := form.CreateFormFile("file", "file.pdf")
f, _ := os.Open("file.pdf")
io.Copy(part, f)
form.Close()
req, _ := http.NewRequest("PUT", "https://api.firmado.app/v1/approvals/{id}/file", &buf)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", form.FormDataContentType())
res, err := http.DefaultClient.Do(req)// Multipart is simplest with OkHttp (com.squareup.okhttp3:okhttp)
var body = new MultipartBody.Builder().setType(MultipartBody.FORM)
.addFormDataPart("file", "file.pdf", RequestBody.create(new File("file.pdf"), null))
.build();
var request = new Request.Builder()
.url("https://api.firmado.app/v1/approvals/{id}/file")
.header("X-Api-Key", "fmd_...")
.method("PUT", body)
.build();
var response = new OkHttpClient().newCall(request).execute();using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PUT"), "https://api.firmado.app/v1/approvals/{id}/file");
request.Content = new MultipartFormDataContent { { new StreamContent(File.OpenRead("file.pdf")), "file", "file.pdf" } };
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"approvers": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"email": "[email protected]",
"status": "…",
"url": null,
"sentAt": null,
"sendCount": 1,
"viewCount": 1,
"firstViewedAt": null,
"lastViewedAt": null,
"decidedAt": null,
"signerName": null,
"signerTaxId": null,
"fileHash": null,
"ipAddress": null,
"userAgent": null,
"declineReason": null,
"verification": null
}
],
"canceledAt": null,
"company": null,
"companyId": null,
"completedAt": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"fileBytes": 1,
"fileHash": "…",
"fileName": "Ana Lima",
"hasFile": true,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": null,
"message": "…",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"sentAt": null,
"status": "…",
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"verifySignerEmail": true
}POST/v1/approvals/{id}/send
Sends the draft: every approver gets their link by email.
Update/{id}/sendOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
41 fields
| Field | Type | Always there |
|---|---|---|
approvers | array of object | Yes |
approvers[].contactId | string | null (uuid) | Yes |
approvers[].decidedAt | null in the examples | Yes |
approvers[].declineReason | null in the examples | Yes |
approvers[].email | string (email) | Yes |
approvers[].fileHash | null in the examples | Yes |
approvers[].firstViewedAt | null in the examples | Yes |
approvers[].id | string (uuid) | Yes |
approvers[].ipAddress | null in the examples | Yes |
approvers[].lastViewedAt | null in the examples | Yes |
approvers[].name | string | null | Yes |
approvers[].sendCount | integer | Yes |
approvers[].sentAt | string (date-time) | Yes |
approvers[].signerName | null in the examples | Yes |
approvers[].signerTaxId | null in the examples | Yes |
approvers[].status | string | Yes |
approvers[].url | string (uri) | Yes |
approvers[].userAgent | null in the examples | Yes |
approvers[].verification | null in the examples | Yes |
approvers[].viewCount | integer | Yes |
canceledAt | null in the examples | Yes |
company | null in the examples | Yes |
companyId | null in the examples | Yes |
completedAt | null in the examples | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
fileBytes | integer | Yes |
fileHash | string | Yes |
fileName | string | Yes |
hasFile | boolean | Yes |
id | string (uuid) | Yes |
language | null in the examples | Yes |
message | string | null | Yes |
organizationId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
sentAt | string (date-time) | Yes |
status | string | Yes |
title | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
verifySignerEmail | boolean | Yes |
Example
curl -X POST "https://api.firmado.app/v1/approvals/{id}/send" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/approvals/{id}/send", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/approvals/{id}/send",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/approvals/{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/approvals/{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/approvals/{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/approvals/{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/approvals/{id}/send");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…",
"message": "…",
"status": "…",
"companyId": null,
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"language": null,
"verifySignerEmail": true,
"fileName": "Ana Lima",
"fileBytes": 1,
"fileHash": "…",
"sentAt": "2026-11-21T14:00:00.000Z",
"completedAt": null,
"canceledAt": null,
"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",
"hasFile": true,
"company": null,
"approvers": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"email": "[email protected]",
"status": "…",
"url": "https://example.com",
"sentAt": "2026-11-21T14:00:00.000Z",
"sendCount": 1,
"viewCount": 1,
"firstViewedAt": null,
"lastViewedAt": null,
"decidedAt": null,
"signerName": null,
"signerTaxId": null,
"fileHash": null,
"ipAddress": null,
"userAgent": null,
"declineReason": null,
"verification": null
}
]
}Webhook events
Changes of this feature that webhooks can send.
approval.createdCreateapproval.updatedUpdateapproval.sentUpdateapproval.approvedUpdateapproval.completedUpdateapproval.declinedUpdateapproval.canceledUpdateapproval.deletedDelete