Enlaces de calendario
Eventos guardados con su página, archivo .ics y cifras.
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/calendar-events
Lista los eventos de calendario guardados.
ListarSi va bien: 200.Permiso: Leer.
Respuesta
25 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
[].active | boolean | Sí |
[].adds30 | integer | Sí |
[].allDay | boolean | Sí |
[].createdAt | string (date-time) | Sí |
[].createdBy | string (uuid) | Sí |
[].description | string | Sí |
[].endDate | string (date) | Sí |
[].endTime | string | Sí |
[].icsUrl | string (uri) | Sí |
[].id | string (uuid) | Sí |
[].location | string | Sí |
[].pageUrl | string (uri) | Sí |
[].publicId | string | Sí |
[].reminderMinutes | integer | Sí |
[].repeat | null en los ejemplos | Sí |
[].startDate | string (date) | Sí |
[].startTime | string | Sí |
[].templateId | string | null | Sí |
[].theme | object | Sí |
[].timezone | string | Sí |
[].title | string | Sí |
[].updatedAt | string (date-time) | Sí |
[].updatedBy | string (uuid) | Sí |
[].url | null en los ejemplos | Sí |
[].views30 | integer | Sí |
Ejemplo
curl -X GET "https://api.firmado.app/v1/calendar-events" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/calendar-events", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/calendar-events",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/calendar-events");
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/calendar-events")
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/calendar-events", 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/calendar-events"))
.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/calendar-events");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
[
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"publicId": "…",
"title": "…",
"description": "…",
"location": "…",
"url": null,
"timezone": "…",
"allDay": true,
"startDate": "2026-11-21",
"startTime": "…",
"endDate": "2026-11-21",
"endTime": "…",
"repeat": null,
"reminderMinutes": 1,
"templateId": "…",
"theme": {},
"active": 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",
"pageUrl": "https://example.com",
"icsUrl": "https://example.com",
"views30": 1,
"adds30": 1
}
]POST/v1/calendar-events
Guarda un evento de calendario, con su página y su archivo .ics.
CrearSi va bien: 201.Permiso: Crear.
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
title | string | Sí | min length 1 · max length 200 |
description | string | null | No | |
location | string | null | No | |
url | string (uri) | null | No | |
timezone | string | Sí | max length 64 |
allDay | boolean | No | default false |
startDate | string | Sí | pattern ^\d{4}-\d{2}-\d{2}$ |
startTime | string | null | No | |
endDate | string | Sí | pattern ^\d{4}-\d{2}-\d{2}$ |
endTime | string | null | No | |
repeat | object | null | No | |
repeat.freq | "daily" | "weekly" | "monthly" | "yearly" | Sí | |
repeat.interval | integer | No | min 1 · max 99 · default 1 |
repeat.count | integer | null | No | default null |
repeat.until | string | null | No | default null |
reminderMinutes | integer | null | No | |
templateId | "classic" | "modern" | "minimal" | "bold" | null | 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 | |
active | boolean | No | default true |
Respuesta
25 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
active | boolean | Sí |
adds30 | integer | Sí |
allDay | boolean | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
description | string | Sí |
endDate | string (date) | Sí |
endTime | string | Sí |
icsUrl | string (uri) | Sí |
id | string (uuid) | Sí |
location | string | Sí |
pageUrl | string (uri) | Sí |
publicId | string | Sí |
reminderMinutes | integer | Sí |
repeat | null en los ejemplos | Sí |
startDate | string (date) | Sí |
startTime | string | Sí |
templateId | null en los ejemplos | Sí |
theme | object | Sí |
timezone | string | Sí |
title | string | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
url | null en los ejemplos | Sí |
views30 | integer | Sí |
Ejemplo
curl -X POST "https://api.firmado.app/v1/calendar-events" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}'const res = await fetch("https://api.firmado.app/v1/calendar-events", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/calendar-events",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/calendar-events");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}
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/calendar-events")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}
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": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/calendar-events", 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/calendar-events"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}
"""))
.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/calendar-events");
request.Content = new StringContent(""""
{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (201), con valores de ejemplo:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"publicId": "…",
"title": "…",
"description": "…",
"location": "…",
"url": null,
"timezone": "…",
"allDay": true,
"startDate": "2026-11-21",
"startTime": "…",
"endDate": "2026-11-21",
"endTime": "…",
"repeat": null,
"reminderMinutes": 1,
"templateId": null,
"theme": {},
"active": 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",
"pageUrl": "https://example.com",
"icsUrl": "https://example.com",
"views30": 1,
"adds30": 1
}DELETE/v1/calendar-events/{id}
Elimina un evento de calendario con su página y su archivo.
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/calendar-events/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/calendar-events/{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/calendar-events/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/calendar-events/{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/calendar-events/{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/calendar-events/{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/calendar-events/{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/calendar-events/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/calendar-events/{id}
Devuelve un evento de calendario guardado.
Ver unoSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Ejemplo
curl -X GET "https://api.firmado.app/v1/calendar-events/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/calendar-events/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/calendar-events/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/calendar-events/{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/calendar-events/{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/calendar-events/{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/calendar-events/{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/calendar-events/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PATCH/v1/calendar-events/{id}
Cambia un evento de calendario; su página y su archivo mantienen la dirección.
ActualizarSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
title | string | Sí | min length 1 · max length 200 |
description | string | null | No | |
location | string | null | No | |
url | string (uri) | null | No | |
timezone | string | Sí | max length 64 |
allDay | boolean | No | default false |
startDate | string | Sí | pattern ^\d{4}-\d{2}-\d{2}$ |
startTime | string | null | No | |
endDate | string | Sí | pattern ^\d{4}-\d{2}-\d{2}$ |
endTime | string | null | No | |
repeat | object | null | No | |
repeat.freq | "daily" | "weekly" | "monthly" | "yearly" | Sí | |
repeat.interval | integer | No | min 1 · max 99 · default 1 |
repeat.count | integer | null | No | default null |
repeat.until | string | null | No | default null |
reminderMinutes | integer | null | No | |
templateId | "classic" | "modern" | "minimal" | "bold" | null | 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 | |
active | boolean | No | default true |
Respuesta
25 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
active | boolean | Sí |
adds30 | integer | Sí |
allDay | boolean | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
description | string | Sí |
endDate | string (date) | Sí |
endTime | string | Sí |
icsUrl | string (uri) | Sí |
id | string (uuid) | Sí |
location | string | Sí |
pageUrl | string (uri) | Sí |
publicId | string | Sí |
reminderMinutes | integer | Sí |
repeat | null en los ejemplos | Sí |
startDate | string (date) | Sí |
startTime | string | Sí |
templateId | string | null | Sí |
theme | object | Sí |
timezone | string | Sí |
title | string | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
url | null en los ejemplos | Sí |
views30 | integer | Sí |
Ejemplo
curl -X PATCH "https://api.firmado.app/v1/calendar-events/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}'const res = await fetch("https://api.firmado.app/v1/calendar-events/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/calendar-events/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/calendar-events/{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": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}
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/calendar-events/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}
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": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/calendar-events/{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/calendar-events/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}
"""))
.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/calendar-events/{id}");
request.Content = new StringContent(""""
{
"title": "…",
"timezone": "…",
"startDate": "…",
"endDate": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"publicId": "…",
"title": "…",
"description": "…",
"location": "…",
"url": null,
"timezone": "…",
"allDay": true,
"startDate": "2026-11-21",
"startTime": "…",
"endDate": "2026-11-21",
"endTime": "…",
"repeat": null,
"reminderMinutes": 1,
"templateId": "…",
"theme": {},
"active": 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",
"pageUrl": "https://example.com",
"icsUrl": "https://example.com",
"views30": 1,
"adds30": 1
}GET/v1/calendar-events/{id}/stats
Visitas a la página de un evento y añadidos por calendario, por día.
Leer/{id}/statsSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Parámetros de consulta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
days | integer | No | min 7 · max 365 · default 30 |
Respuesta
15 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
byCalendar | object | Sí |
byCalendar.google | integer | Sí |
byCalendar.ics | integer | Sí |
byCalendar.office365 | integer | Sí |
byCalendar.outlook | integer | Sí |
byCalendar.yahoo | integer | Sí |
days | integer | Sí |
series | array of object | Sí |
series[].adds | integer | Sí |
series[].day | string (date) | Sí |
series[].views | integer | Sí |
totals | object | Sí |
totals.addRate | integer | Sí |
totals.adds | integer | Sí |
totals.views | integer | Sí |
Ejemplo
curl -X GET "https://api.firmado.app/v1/calendar-events/{id}/stats" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/calendar-events/{id}/stats", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/calendar-events/{id}/stats",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/calendar-events/{id}/stats");
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/calendar-events/{id}/stats")
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/calendar-events/{id}/stats", 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/calendar-events/{id}/stats"))
.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/calendar-events/{id}/stats");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
{
"days": 1,
"totals": {
"views": 1,
"adds": 1,
"addRate": 1
},
"series": [
{
"day": "2026-11-21",
"views": 1,
"adds": 1
}
],
"byCalendar": {
"google": 1,
"outlook": 1,
"office365": 1,
"yahoo": 1,
"ics": 1
}
}GET/v1/calendar-events/look
El nombre y el tema de la organización, para la vista previa de la página de un evento.
Leer/lookSi va bien: 200.Permiso: Leer.
Parámetros de consulta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
templateId | "classic" | "modern" | "minimal" | "bold" | No |
Respuesta
12 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
organization | object | Sí |
organization.language | string | Sí |
organization.name | string | Sí |
templateId | 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/calendar-events/look" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/calendar-events/look", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/calendar-events/look",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/calendar-events/look");
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/calendar-events/look")
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/calendar-events/look", 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/calendar-events/look"))
.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/calendar-events/look");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
{
"organization": {
"name": "Ana Lima",
"language": "…"
},
"templateId": "…",
"theme": {
"primaryColor": "…",
"accentColor": "…",
"backgroundColor": "…",
"textColor": "…",
"headingFont": "…",
"bodyFont": "…",
"cornerRadius": "…"
}
}Eventos de webhook
Cambios de esta funcionalidad que los webhooks pueden enviar.
calendar_event.createdCrearcalendar_event.updatedActualizarcalendar_event.deletedEliminar