Assinaturas de e-mail
Assinaturas de e-mail guardadas.
Valores dos exemplos
Digite uma vez e todos os exemplos desta página passam a usá-los. A chave de API fica só nesta página e nunca é guardada.
GET/v1/email-signatures
Lista as assinaturas de e-mail salvas.
ListarEm caso de sucesso: 200.Permissão: Ler.
Resposta
47 campos
| Campo | Tipo | Sempre presente |
|---|---|---|
[].createdAt | string (date-time) | Sim |
[].createdBy | string (uuid) | Sim |
[].document | object | Sim |
[].document.address | string | Sim |
[].document.banner | object | Sim |
[].document.banner.image | string | Sim |
[].document.banner.url | string | Sim |
[].document.banner.width | integer | Sim |
[].document.booking | object | Sim |
[].document.booking.label | string | Sim |
[].document.booking.style | string | Sim |
[].document.booking.url | string (uri) | Sim |
[].document.colors | object | Sim |
[].document.colors.below | string | Sim |
[].document.colors.button | string | Sim |
[].document.colors.line | string | Sim |
[].document.colors.name | string | Sim |
[].document.colors.text | string | Sim |
[].document.company | string | Sim |
[].document.department | string | Sim |
[].document.disclaimer | string | Sim |
[].document.email | string (email) | Sim |
[].document.font | string | Sim |
[].document.fontSize | integer | Sim |
[].document.iconColor | null nos exemplos | Sim |
[].document.iconSize | integer | Sim |
[].document.iconStyle | string | Sim |
[].document.jobTitle | string | Sim |
[].document.logo | string | Sim |
[].document.logoWidth | integer | Sim |
[].document.maxWidth | integer | Sim |
[].document.mobile | string | Sim |
[].document.name | string | Sim |
[].document.phone | string | Sim |
[].document.photo | string | Sim |
[].document.photoShape | string | Sim |
[].document.photoSize | integer | Sim |
[].document.pronouns | string | Sim |
[].document.socials | array of object | Sim |
[].document.socials[].network | string | Sim |
[].document.socials[].url | string | Sim |
[].document.theme | string | Sim |
[].document.website | string | Sim |
[].id | string (uuid) | Sim |
[].name | string | Sim |
[].updatedAt | string (date-time) | Sim |
[].updatedBy | string (uuid) | Sim |
Exemplo
curl -X GET "https://api.firmado.app/v1/email-signatures" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/email-signatures", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/email-signatures",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/email-signatures");
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/email-signatures")
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/email-signatures", 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/email-signatures"))
.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/email-signatures");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Resposta (200), com valores de exemplo:
[
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"document": {
"font": "…",
"logo": "…",
"name": "Ana Lima",
"email": "[email protected]",
"phone": "…",
"photo": "…",
"theme": "…",
"banner": {},
"colors": {},
"mobile": "…",
"address": "…",
"booking": {},
"company": "…",
"socials": [],
"website": "…",
"fontSize": 1,
"iconSize": 1,
"jobTitle": "…",
"maxWidth": 1,
"pronouns": "…",
"iconColor": null,
"iconStyle": "…",
"logoWidth": 1,
"photoSize": 1,
"department": "…",
"disclaimer": "…",
"photoShape": "…"
},
"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"
}
]POST/v1/email-signatures
Salva uma assinatura de e-mail.
CriarEm caso de sucesso: 201.Permissão: Criar.
Corpo
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
name | string | Sim | min length 1 · max length 120 |
document | object | Não | |
document.theme | "classic" | "stacked" | "minimal" | "split" | Não | default "classic" |
document.name | string | Não | max length 120 · default "" |
document.jobTitle | string | Não | max length 120 · default "" |
document.department | string | Não | max length 120 · default "" |
document.pronouns | string | Não | max length 40 · default "" |
document.company | string | Não | max length 120 · default "" |
document.email | "" | string (email) | Não | default "" |
document.phone | string | Não | max length 40 · default "" |
document.mobile | string | Não | max length 40 · default "" |
document.website | string | Não | max length 2000 · default "" |
document.address | string | Não | max length 240 · default "" |
document.photo | string | Não | max length 2000 · default "" |
document.photoShape | "circle" | "rounded" | "square" | Não | default "circle" |
document.photoSize | integer | Não | min 40 · max 140 · default 80 |
document.logo | string | Não | max length 2000 · default "" |
document.logoWidth | integer | Não | min 40 · max 260 · default 120 |
document.socials | array of object | Não | max items 12 |
document.socials[].network | "facebook" | "instagram" | "linkedin" | "x" | "youtube" | "tiktok" | "whatsapp" | "threads" | "discord" | "pinterest" | "github" | "phone" | "web" | Sim | |
document.socials[].url | string | Sim | min length 1 · max length 2000 |
document.iconStyle | "filled" | "plain" | Não | default "filled" |
document.iconColor | string | null | Não | default null |
document.iconSize | integer | Não | min 14 · max 36 · default 22 |
document.booking | object | Não | |
document.booking.url | string | Não | max length 2000 · default "" |
document.booking.label | string | Não | max length 60 · default "" |
document.booking.style | "button" | "link" | Não | default "button" |
document.banner | object | Não | |
document.banner.image | string | Não | max length 2000 · default "" |
document.banner.url | string | Não | max length 2000 · default "" |
document.banner.width | integer | Não | min 120 · max 600 · default 400 |
document.disclaimer | string | Não | max length 2000 · default "" |
document.colors | object | Não | |
document.colors.name | string | Não | default "#0f766e" · pattern ^#[0-9a-fA-F]{6}$ |
document.colors.text | string | Não | default "#1f2937" · pattern ^#[0-9a-fA-F]{6}$ |
document.colors.line | string | Não | default "#0f766e" · pattern ^#[0-9a-fA-F]{6}$ |
document.colors.button | string | Não | default "#0f766e" · pattern ^#[0-9a-fA-F]{6}$ |
document.colors.below | string | Não | default "#6b7280" · pattern ^#[0-9a-fA-F]{6}$ |
document.maxWidth | integer | Não | min 280 · max 800 · default 600 |
document.font | "arial" | "helvetica" | "verdana" | "tahoma" | "trebuchet" | "georgia" | "times" | Não | default "arial" |
document.fontSize | integer | Não | min 11 · max 16 · default 13 |
Resposta
47 campos
| Campo | Tipo | Sempre presente |
|---|---|---|
createdAt | string (date-time) | Sim |
createdBy | string (uuid) | Sim |
document | object | Sim |
document.address | string | Sim |
document.banner | object | Sim |
document.banner.image | string | Sim |
document.banner.url | string | Sim |
document.banner.width | integer | Sim |
document.booking | object | Sim |
document.booking.label | string | Sim |
document.booking.style | string | Sim |
document.booking.url | string (uri) | Sim |
document.colors | object | Sim |
document.colors.below | string | Sim |
document.colors.button | string | Sim |
document.colors.line | string | Sim |
document.colors.name | string | Sim |
document.colors.text | string | Sim |
document.company | string | Sim |
document.department | string | Sim |
document.disclaimer | string | Sim |
document.email | string (email) | Sim |
document.font | string | Sim |
document.fontSize | integer | Sim |
document.iconColor | null nos exemplos | Sim |
document.iconSize | integer | Sim |
document.iconStyle | string | Sim |
document.jobTitle | string | Sim |
document.logo | string | Sim |
document.logoWidth | integer | Sim |
document.maxWidth | integer | Sim |
document.mobile | string | Sim |
document.name | string | Sim |
document.phone | string | Sim |
document.photo | string | Sim |
document.photoShape | string | Sim |
document.photoSize | integer | Sim |
document.pronouns | string | Sim |
document.socials | array of object | Sim |
document.socials[].network | string | Sim |
document.socials[].url | string | Sim |
document.theme | string | Sim |
document.website | string | Sim |
id | string (uuid) | Sim |
name | string | Sim |
updatedAt | string (date-time) | Sim |
updatedBy | string (uuid) | Sim |
Exemplo
curl -X POST "https://api.firmado.app/v1/email-signatures" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}'const res = await fetch("https://api.firmado.app/v1/email-signatures", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/email-signatures",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": "",
},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/email-signatures");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}
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/email-signatures")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}
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(`{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/email-signatures", 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/email-signatures"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}
"""))
.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/email-signatures");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Resposta (201), com valores de exemplo:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"document": {
"font": "…",
"logo": "…",
"name": "Ana Lima",
"email": "[email protected]",
"phone": "…",
"photo": "…",
"theme": "…",
"banner": {
"url": "https://example.com",
"image": "…",
"width": 1
},
"colors": {
"line": "…",
"name": "Ana Lima",
"text": "…",
"below": "…",
"button": "…"
},
"mobile": "…",
"address": "…",
"booking": {
"url": "https://example.com",
"label": "…",
"style": "…"
},
"company": "…",
"socials": [
{}
],
"website": "…",
"fontSize": 1,
"iconSize": 1,
"jobTitle": "…",
"maxWidth": 1,
"pronouns": "…",
"iconColor": null,
"iconStyle": "…",
"logoWidth": 1,
"photoSize": 1,
"department": "…",
"disclaimer": "…",
"photoShape": "…"
},
"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"
}DELETE/v1/email-signatures/{id}
Exclui uma assinatura de e-mail salva.
ExcluirEm caso de sucesso: 204.Permissão: Excluir.
Parâmetros do caminho
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
id | string | Sim |
Exemplo
curl -X DELETE "https://api.firmado.app/v1/email-signatures/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/email-signatures/{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/email-signatures/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/email-signatures/{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/email-signatures/{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/email-signatures/{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/email-signatures/{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/email-signatures/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/email-signatures/{id}
Retorna uma assinatura de e-mail salva.
Ver umEm caso de sucesso: 200.Permissão: Ler.
Parâmetros do caminho
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
id | string | Sim |
Exemplo
curl -X GET "https://api.firmado.app/v1/email-signatures/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/email-signatures/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/email-signatures/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/email-signatures/{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/email-signatures/{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/email-signatures/{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/email-signatures/{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/email-signatures/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PATCH/v1/email-signatures/{id}
Altera uma assinatura de e-mail salva.
AtualizarEm caso de sucesso: 200.Permissão: Atualizar.
Parâmetros do caminho
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
id | string | Sim |
Corpo
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
name | string | Não | min length 1 · max length 120 |
document | object | Não | |
document.theme | "classic" | "stacked" | "minimal" | "split" | Não | default "classic" |
document.name | string | Não | max length 120 · default "" |
document.jobTitle | string | Não | max length 120 · default "" |
document.department | string | Não | max length 120 · default "" |
document.pronouns | string | Não | max length 40 · default "" |
document.company | string | Não | max length 120 · default "" |
document.email | "" | string (email) | Não | default "" |
document.phone | string | Não | max length 40 · default "" |
document.mobile | string | Não | max length 40 · default "" |
document.website | string | Não | max length 2000 · default "" |
document.address | string | Não | max length 240 · default "" |
document.photo | string | Não | max length 2000 · default "" |
document.photoShape | "circle" | "rounded" | "square" | Não | default "circle" |
document.photoSize | integer | Não | min 40 · max 140 · default 80 |
document.logo | string | Não | max length 2000 · default "" |
document.logoWidth | integer | Não | min 40 · max 260 · default 120 |
document.socials | array of object | Não | max items 12 |
document.socials[].network | "facebook" | "instagram" | "linkedin" | "x" | "youtube" | "tiktok" | "whatsapp" | "threads" | "discord" | "pinterest" | "github" | "phone" | "web" | Sim | |
document.socials[].url | string | Sim | min length 1 · max length 2000 |
document.iconStyle | "filled" | "plain" | Não | default "filled" |
document.iconColor | string | null | Não | default null |
document.iconSize | integer | Não | min 14 · max 36 · default 22 |
document.booking | object | Não | |
document.booking.url | string | Não | max length 2000 · default "" |
document.booking.label | string | Não | max length 60 · default "" |
document.booking.style | "button" | "link" | Não | default "button" |
document.banner | object | Não | |
document.banner.image | string | Não | max length 2000 · default "" |
document.banner.url | string | Não | max length 2000 · default "" |
document.banner.width | integer | Não | min 120 · max 600 · default 400 |
document.disclaimer | string | Não | max length 2000 · default "" |
document.colors | object | Não | |
document.colors.name | string | Não | default "#0f766e" · pattern ^#[0-9a-fA-F]{6}$ |
document.colors.text | string | Não | default "#1f2937" · pattern ^#[0-9a-fA-F]{6}$ |
document.colors.line | string | Não | default "#0f766e" · pattern ^#[0-9a-fA-F]{6}$ |
document.colors.button | string | Não | default "#0f766e" · pattern ^#[0-9a-fA-F]{6}$ |
document.colors.below | string | Não | default "#6b7280" · pattern ^#[0-9a-fA-F]{6}$ |
document.maxWidth | integer | Não | min 280 · max 800 · default 600 |
document.font | "arial" | "helvetica" | "verdana" | "tahoma" | "trebuchet" | "georgia" | "times" | Não | default "arial" |
document.fontSize | integer | Não | min 11 · max 16 · default 13 |
Resposta
47 campos
| Campo | Tipo | Sempre presente |
|---|---|---|
createdAt | string (date-time) | Sim |
createdBy | string (uuid) | Sim |
document | object | Sim |
document.address | string | Sim |
document.banner | object | Sim |
document.banner.image | string | Sim |
document.banner.url | string | Sim |
document.banner.width | integer | Sim |
document.booking | object | Sim |
document.booking.label | string | Sim |
document.booking.style | string | Sim |
document.booking.url | string (uri) | Sim |
document.colors | object | Sim |
document.colors.below | string | Sim |
document.colors.button | string | Sim |
document.colors.line | string | Sim |
document.colors.name | string | Sim |
document.colors.text | string | Sim |
document.company | string | Sim |
document.department | string | Sim |
document.disclaimer | string | Sim |
document.email | string (email) | Sim |
document.font | string | Sim |
document.fontSize | integer | Sim |
document.iconColor | null nos exemplos | Sim |
document.iconSize | integer | Sim |
document.iconStyle | string | Sim |
document.jobTitle | string | Sim |
document.logo | string | Sim |
document.logoWidth | integer | Sim |
document.maxWidth | integer | Sim |
document.mobile | string | Sim |
document.name | string | Sim |
document.phone | string | Sim |
document.photo | string | Sim |
document.photoShape | string | Sim |
document.photoSize | integer | Sim |
document.pronouns | string | Sim |
document.socials | array of object | Sim |
document.socials[].network | string | Sim |
document.socials[].url | string | Sim |
document.theme | string | Sim |
document.website | string | Sim |
id | string (uuid) | Sim |
name | string | Sim |
updatedAt | string (date-time) | Sim |
updatedBy | string (uuid) | Sim |
Exemplo
curl -X PATCH "https://api.firmado.app/v1/email-signatures/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}'const res = await fetch("https://api.firmado.app/v1/email-signatures/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/email-signatures/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": "",
},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/email-signatures/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}
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/email-signatures/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}
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(`{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/email-signatures/{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/email-signatures/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}
"""))
.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/email-signatures/{id}");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"document": {
"theme": "classic",
"name": "",
"jobTitle": "",
"department": ""
}
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Resposta (200), com valores de exemplo:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"document": {
"font": "…",
"logo": "…",
"name": "Ana Lima",
"email": "[email protected]",
"phone": "…",
"photo": "…",
"theme": "…",
"banner": {
"url": "https://example.com",
"image": "…",
"width": 1
},
"colors": {
"line": "…",
"name": "Ana Lima",
"text": "…",
"below": "…",
"button": "…"
},
"mobile": "…",
"address": "…",
"booking": {
"url": "https://example.com",
"label": "…",
"style": "…"
},
"company": "…",
"socials": [
{}
],
"website": "…",
"fontSize": 1,
"iconSize": 1,
"jobTitle": "…",
"maxWidth": 1,
"pronouns": "…",
"iconColor": null,
"iconStyle": "…",
"logoWidth": 1,
"photoSize": 1,
"department": "…",
"disclaimer": "…",
"photoShape": "…"
},
"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"
}Eventos de webhook
Mudanças desta funcionalidade que os webhooks podem enviar.
email_signature.createdCriaremail_signature.updatedAtualizaremail_signature.deletedExcluir