Citas
Reuniones en la agenda y solicitudes de reserva por responder.
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/appointments
Lista las citas de la agenda entre dos fechas, de un anfitrión o de todos.
ListarSi va bien: 200.Permiso: Leer.
Parámetros de consulta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
from | string (date-time) | No | |
to | string (date-time) | No | |
hostId | string | No | min length 1 |
contactId | string (uuid) | No | |
dealId | string (uuid) | No | |
projectId | string (uuid) | No | |
status | "awaiting_payment" | "pending" | "scheduled" | "completed" | "canceled" | "no_show" | No | |
includeCanceled | string | No |
Respuesta
39 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
[].allDay | boolean | Sí |
[].bookingPage | object | null | Sí |
[].bookingPage.id | string (uuid) | Sí |
[].bookingPage.title | string | Sí |
[].bookingPageId | string | null (uuid) | Sí |
[].cancelReason | string | null | Sí |
[].canceledAt | string | null (date-time) | Sí |
[].canceledBy | string | null | Sí |
[].catalogRequestId | null en los ejemplos | Sí |
[].contact | object | null | Sí |
[].contact.id | string (uuid) | Sí |
[].contact.name | string | Sí |
[].contactId | string | null (uuid) | Sí |
[].createdAt | string (date-time) | Sí |
[].createdBy | string | null (uuid) | Sí |
[].deal | null en los ejemplos | Sí |
[].dealId | null en los ejemplos | Sí |
[].description | null en los ejemplos | Sí |
[].endsAt | string (date-time) | Sí |
[].guestEmail | string | null (email) | Sí |
[].guestName | string | null | Sí |
[].guestNotes | null en los ejemplos | Sí |
[].guestPhone | null en los ejemplos | Sí |
[].host | object | null | Sí |
[].host.id | string (uuid) | Sí |
[].host.image | null en los ejemplos | Sí |
[].host.name | string | Sí |
[].hostId | string | null (uuid) | Sí |
[].id | string (uuid) | Sí |
[].location | string | null (uri) | Sí |
[].locationType | string | null | Sí |
[].payment | null en los ejemplos | Sí |
[].source | string | Sí |
[].startsAt | string (date-time) | Sí |
[].status | string | Sí |
[].timezone | string | null | Sí |
[].title | string | Sí |
[].updatedAt | string (date-time) | Sí |
[].updatedBy | string | null (uuid) | Sí |
Ejemplo
curl -X GET "https://api.firmado.app/v1/appointments" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/appointments", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/appointments",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments");
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/appointments")
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/appointments", 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/appointments"))
.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/appointments");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
[
{
"allDay": true,
"bookingPage": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…"
},
"bookingPageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"cancelReason": "…",
"canceledAt": "2026-11-21T14:00:00.000Z",
"canceledBy": "…",
"catalogRequestId": null,
"contact": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
},
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"deal": null,
"dealId": null,
"description": null,
"endsAt": "2026-11-21T14:00:00.000Z",
"guestEmail": "[email protected]",
"guestName": "Ana Lima",
"guestNotes": null,
"guestPhone": null,
"host": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"image": null,
"name": "Ana Lima"
},
"hostId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"location": "https://example.com",
"locationType": "…",
"payment": null,
"source": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"status": "…",
"timezone": "…",
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
]POST/v1/appointments
Reserva una cita con un contacto para uno de los miembros.
CrearSi va bien: 201.Permiso: Crear.
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
title | string | Sí | min length 1 · max length 200 |
description | string | null | No | |
startsAt | string (date-time) | Sí | |
endsAt | string (date-time) | Sí | |
timezone | string | null | No | |
hostId | string | null | No | |
contactId | string (uuid) | null | No | |
dealId | string (uuid) | null | No | |
locationType | "video" | "phone" | "in_person" | "other" | null | No | |
location | string | null | No |
Respuesta
37 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
allDay | boolean | Sí |
bookingPage | null en los ejemplos | Sí |
bookingPageId | null en los ejemplos | Sí |
cancelReason | null en los ejemplos | Sí |
canceledAt | null en los ejemplos | Sí |
canceledBy | null en los ejemplos | Sí |
catalogRequestId | null en los ejemplos | Sí |
contact | object | null | Sí |
contact.id | string (uuid) | Sí |
contact.name | string | Sí |
contactId | string | null (uuid) | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
deal | null en los ejemplos | Sí |
dealId | null en los ejemplos | Sí |
description | string | null | Sí |
endsAt | string (date-time) | Sí |
guestEmail | null en los ejemplos | Sí |
guestName | null en los ejemplos | Sí |
guestNotes | null en los ejemplos | Sí |
guestPhone | null en los ejemplos | Sí |
host | object | Sí |
host.id | string (uuid) | Sí |
host.image | null en los ejemplos | Sí |
host.name | string | Sí |
hostId | string (uuid) | Sí |
id | string (uuid) | Sí |
location | string | null (uri) | Sí |
locationType | null en los ejemplos | Sí |
payment | null en los ejemplos | Sí |
source | string | Sí |
startsAt | string (date-time) | Sí |
status | string | Sí |
timezone | null en los ejemplos | Sí |
title | string | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
Ejemplo
curl -X POST "https://api.firmado.app/v1/appointments" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"title": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"description": "…"
}'const res = await fetch("https://api.firmado.app/v1/appointments", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"description": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/appointments",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"description": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"description": "…"
}
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/appointments")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"description": "…"
}
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": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"description": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/appointments", 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/appointments"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"description": "…"
}
"""))
.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/appointments");
request.Content = new StringContent(""""
{
"title": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"description": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (201), con valores de ejemplo:
{
"allDay": true,
"bookingPage": null,
"bookingPageId": null,
"cancelReason": null,
"canceledAt": null,
"canceledBy": null,
"catalogRequestId": null,
"contact": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
},
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"deal": null,
"dealId": null,
"description": "…",
"endsAt": "2026-11-21T14:00:00.000Z",
"guestEmail": null,
"guestName": null,
"guestNotes": null,
"guestPhone": null,
"host": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"image": null,
"name": "Ana Lima"
},
"hostId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"location": "https://example.com",
"locationType": null,
"payment": null,
"source": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"status": "…",
"timezone": null,
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}DELETE/v1/appointments/{id}
Elimina una cita.
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/appointments/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/appointments/{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/appointments/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments/{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/appointments/{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/appointments/{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/appointments/{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/appointments/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/appointments/{id}
Devuelve una cita.
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/appointments/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/appointments/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/appointments/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments/{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/appointments/{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/appointments/{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/appointments/{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/appointments/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PATCH/v1/appointments/{id}
Cambia una cita: horario, anfitrión, contacto, lugar o notas.
ActualizarSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
title | string | No | min length 1 · max length 200 |
description | string | null | No | |
startsAt | string (date-time) | No | |
endsAt | string (date-time) | No | |
timezone | string | null | No | |
hostId | string | null | No | |
contactId | string (uuid) | null | No | |
dealId | string (uuid) | null | No | |
locationType | "video" | "phone" | "in_person" | "other" | null | No | |
location | string | null | No | |
status | "pending" | "scheduled" | "completed" | "canceled" | "no_show" | No | |
cancelReason | string | null | No | |
refund | boolean | No |
Respuesta
43 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
allDay | boolean | Sí |
bookingPage | object | null | Sí |
bookingPage.id | string (uuid) | Sí |
bookingPage.title | string | Sí |
bookingPageId | string | null (uuid) | Sí |
cancelReason | string | null | Sí |
canceledAt | string | null (date-time) | Sí |
canceledBy | string | null | Sí |
catalogRequestId | null en los ejemplos | Sí |
contact | object | null | Sí |
contact.id | string (uuid) | Sí |
contact.name | string | Sí |
contactId | string | null (uuid) | Sí |
createdAt | string (date-time) | Sí |
createdBy | string | null (uuid) | Sí |
deal | null en los ejemplos | Sí |
dealId | null en los ejemplos | Sí |
description | string | null | Sí |
endsAt | string (date-time) | Sí |
guestEmail | string | null (email) | Sí |
guestName | string | null | Sí |
guestNotes | null en los ejemplos | Sí |
guestPhone | null en los ejemplos | Sí |
host | object | Sí |
host.id | string (uuid) | Sí |
host.image | null en los ejemplos | Sí |
host.name | string | Sí |
hostId | string (uuid) | Sí |
id | string (uuid) | Sí |
location | string | null (uri) | Sí |
locationType | null en los ejemplos | Sí |
payment | object | null | Sí |
payment.amount | integer | Sí |
payment.currency | string | Sí |
payment.paidAt | string (date-time) | Sí |
payment.status | string | Sí |
source | string | Sí |
startsAt | string (date-time) | Sí |
status | string | Sí |
timezone | null en los ejemplos | Sí |
title | string | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
Ejemplo
curl -X PATCH "https://api.firmado.app/v1/appointments/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"title": "…",
"description": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z"
}'const res = await fetch("https://api.firmado.app/v1/appointments/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"description": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/appointments/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"description": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments/{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": "…",
"description": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/appointments/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"description": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"title": "…",
"description": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/appointments/{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/appointments/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"description": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PATCH"), "https://api.firmado.app/v1/appointments/{id}");
request.Content = new StringContent(""""
{
"title": "…",
"description": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
{
"allDay": true,
"bookingPage": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…"
},
"bookingPageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"cancelReason": "…",
"canceledAt": "2026-11-21T14:00:00.000Z",
"canceledBy": "…",
"catalogRequestId": null,
"contact": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
},
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"deal": null,
"dealId": null,
"description": "…",
"endsAt": "2026-11-21T14:00:00.000Z",
"guestEmail": "[email protected]",
"guestName": "Ana Lima",
"guestNotes": null,
"guestPhone": null,
"host": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"image": null,
"name": "Ana Lima"
},
"hostId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"location": "https://example.com",
"locationType": null,
"payment": {
"amount": 1,
"currency": "USD",
"paidAt": "2026-11-21T14:00:00.000Z",
"status": "…"
},
"source": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"status": "…",
"timezone": null,
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}POST/v1/appointments/{id}/confirm
Confirma una cita pedida desde una página de reservas, con dónde será.
Actualizar/{id}/confirmSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
locationType | "video" | "phone" | "in_person" | "other" | Sí | |
location | string | Sí | min length 1 · max length 500 |
Respuesta
39 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
allDay | boolean | Sí |
bookingPage | object | Sí |
bookingPage.id | string (uuid) | Sí |
bookingPage.title | string | Sí |
bookingPageId | string (uuid) | Sí |
cancelReason | null en los ejemplos | Sí |
canceledAt | null en los ejemplos | Sí |
canceledBy | null en los ejemplos | Sí |
catalogRequestId | null en los ejemplos | Sí |
contact | object | Sí |
contact.id | string (uuid) | Sí |
contact.name | string | Sí |
contactId | string (uuid) | Sí |
createdAt | string (date-time) | Sí |
createdBy | null en los ejemplos | Sí |
deal | null en los ejemplos | Sí |
dealId | null en los ejemplos | Sí |
description | null en los ejemplos | Sí |
endsAt | string (date-time) | Sí |
guestEmail | string (email) | Sí |
guestName | string | Sí |
guestNotes | null en los ejemplos | Sí |
guestPhone | null en los ejemplos | Sí |
host | object | Sí |
host.id | string (uuid) | Sí |
host.image | null en los ejemplos | Sí |
host.name | string | Sí |
hostId | string (uuid) | Sí |
id | string (uuid) | Sí |
location | string (uri) | Sí |
locationType | string | Sí |
payment | null en los ejemplos | Sí |
source | string | Sí |
startsAt | string (date-time) | Sí |
status | string | Sí |
timezone | null en los ejemplos | Sí |
title | string | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
Ejemplo
curl -X POST "https://api.firmado.app/v1/appointments/{id}/confirm" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"locationType": "video",
"location": "…"
}'const res = await fetch("https://api.firmado.app/v1/appointments/{id}/confirm", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"locationType": "video",
"location": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/appointments/{id}/confirm",
headers={"X-Api-Key": "fmd_..."},
json={
"locationType": "video",
"location": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments/{id}/confirm");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"locationType": "video",
"location": "…"
}
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/appointments/{id}/confirm")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"locationType": "video",
"location": "…"
}
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(`{
"locationType": "video",
"location": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/appointments/{id}/confirm", 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/appointments/{id}/confirm"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"locationType": "video",
"location": "…"
}
"""))
.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/appointments/{id}/confirm");
request.Content = new StringContent(""""
{
"locationType": "video",
"location": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"hostId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"dealId": null,
"catalogRequestId": null,
"bookingPageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…",
"description": null,
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"timezone": null,
"allDay": true,
"locationType": "…",
"location": "https://example.com",
"status": "…",
"source": "…",
"guestName": "Ana Lima",
"guestEmail": "[email protected]",
"guestPhone": null,
"guestNotes": null,
"canceledAt": null,
"canceledBy": null,
"cancelReason": null,
"createdBy": null,
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z",
"host": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"image": null
},
"contact": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
},
"deal": null,
"bookingPage": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…"
},
"payment": null
}POST/v1/appointments/{id}/decline
Rechaza una cita pedida desde una página de reservas.
Actualizar/{id}/declineSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
reason | string | null | No | |
refund | boolean | No | default false |
Respuesta
39 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
allDay | boolean | Sí |
bookingPage | object | Sí |
bookingPage.id | string (uuid) | Sí |
bookingPage.title | string | Sí |
bookingPageId | string (uuid) | Sí |
cancelReason | string | Sí |
canceledAt | string (date-time) | Sí |
canceledBy | string | Sí |
catalogRequestId | null en los ejemplos | Sí |
contact | object | Sí |
contact.id | string (uuid) | Sí |
contact.name | string | Sí |
contactId | string (uuid) | Sí |
createdAt | string (date-time) | Sí |
createdBy | null en los ejemplos | Sí |
deal | null en los ejemplos | Sí |
dealId | null en los ejemplos | Sí |
description | null en los ejemplos | Sí |
endsAt | string (date-time) | Sí |
guestEmail | string (email) | Sí |
guestName | string | Sí |
guestNotes | null en los ejemplos | Sí |
guestPhone | null en los ejemplos | Sí |
host | object | Sí |
host.id | string (uuid) | Sí |
host.image | null en los ejemplos | Sí |
host.name | string | Sí |
hostId | string (uuid) | Sí |
id | string (uuid) | Sí |
location | null en los ejemplos | Sí |
locationType | null en los ejemplos | Sí |
payment | null en los ejemplos | Sí |
source | string | Sí |
startsAt | string (date-time) | Sí |
status | string | Sí |
timezone | null en los ejemplos | Sí |
title | string | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
Ejemplo
curl -X POST "https://api.firmado.app/v1/appointments/{id}/decline" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"reason": "…",
"refund": false
}'const res = await fetch("https://api.firmado.app/v1/appointments/{id}/decline", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"reason": "…",
"refund": false
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/appointments/{id}/decline",
headers={"X-Api-Key": "fmd_..."},
json={
"reason": "…",
"refund": False,
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments/{id}/decline");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"reason": "…",
"refund": false
}
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/appointments/{id}/decline")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"reason": "…",
"refund": false
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"reason": "…",
"refund": false
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/appointments/{id}/decline", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/appointments/{id}/decline"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"reason": "…",
"refund": false
}
"""))
.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/appointments/{id}/decline");
request.Content = new StringContent(""""
{
"reason": "…",
"refund": false
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"hostId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"dealId": null,
"catalogRequestId": null,
"bookingPageId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…",
"description": null,
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z",
"timezone": null,
"allDay": true,
"locationType": null,
"location": null,
"status": "…",
"source": "…",
"guestName": "Ana Lima",
"guestEmail": "[email protected]",
"guestPhone": null,
"guestNotes": null,
"canceledAt": "2026-11-21T14:00:00.000Z",
"canceledBy": "…",
"cancelReason": "…",
"createdBy": null,
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z",
"host": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"image": null
},
"contact": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
},
"deal": null,
"bookingPage": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…"
},
"payment": null
}GET/v1/appointments/check
Comprueba si un horario está libre y dentro del horario laboral del anfitrión, antes de reservarlo.
Leer/checkSi va bien: 200.Permiso: Leer.
Parámetros de consulta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
hostId | string | No | min length 1 |
startsAt | string (date-time) | Sí | |
endsAt | string (date-time) | Sí | |
excludeId | string (uuid) | No |
Respuesta
7 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
conflicts | array of object | Sí |
conflicts[].endsAt | string (date-time) | Sí |
conflicts[].id | string (uuid) | Sí |
conflicts[].startsAt | string (date-time) | Sí |
conflicts[].title | string | Sí |
googleBusy | boolean | Sí |
outsideAvailability | boolean | Sí |
Ejemplo
curl -X GET "https://api.firmado.app/v1/appointments/check" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/appointments/check", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/appointments/check",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments/check");
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/appointments/check")
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/appointments/check", 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/appointments/check"))
.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/appointments/check");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
{
"conflicts": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…",
"startsAt": "2026-11-21T14:00:00.000Z",
"endsAt": "2026-11-21T14:00:00.000Z"
}
],
"googleBusy": true,
"outsideAvailability": true
}GET/v1/appointments/usage
Las citas del mes frente al límite del plan.
Leer/usageSi va bien: 200.Permiso: Leer.
Respuesta
3 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
limit | integer | null | Sí |
resetsAt | string (date-time) | Sí |
used | integer | Sí |
Ejemplo
curl -X GET "https://api.firmado.app/v1/appointments/usage" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/appointments/usage", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/appointments/usage",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/appointments/usage");
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/appointments/usage")
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/appointments/usage", 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/appointments/usage"))
.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/appointments/usage");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Respuesta (200), con valores de ejemplo:
{
"used": 1,
"limit": 1,
"resetsAt": "2026-11-21T14:00:00.000Z"
}Eventos de webhook
Cambios de esta funcionalidad que los webhooks pueden enviar.
appointment.createdCrearappointment.updatedActualizarappointment.canceledActualizarappointment.deletedEliminar