Rendez-vous
Les rendez-vous de l’agenda et les demandes de réservation à traiter.
Valeurs des exemples
Saisissez-les une fois : tous les exemples de cette page les utilisent. La clé d’API reste sur cette page et n’est jamais enregistrée.
GET/v1/appointments
Liste les rendez-vous de l’agenda entre deux dates, d’un hôte ou de tous.
ListerEn cas de succès : 200.Permission : Lire.
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
from | string (date-time) | Non | |
to | string (date-time) | Non | |
hostId | string | Non | min length 1 |
contactId | string (uuid) | Non | |
dealId | string (uuid) | Non | |
projectId | string (uuid) | Non | |
status | "awaiting_payment" | "pending" | "scheduled" | "completed" | "canceled" | "no_show" | Non | |
includeCanceled | string | Non |
Réponse
39 champs
| Champ | Type | Toujours présent |
|---|---|---|
[].allDay | boolean | Oui |
[].bookingPage | object | null | Oui |
[].bookingPage.id | string (uuid) | Oui |
[].bookingPage.title | string | Oui |
[].bookingPageId | string | null (uuid) | Oui |
[].cancelReason | string | null | Oui |
[].canceledAt | string | null (date-time) | Oui |
[].canceledBy | string | null | Oui |
[].catalogRequestId | null dans les exemples | Oui |
[].contact | object | null | Oui |
[].contact.id | string (uuid) | Oui |
[].contact.name | string | Oui |
[].contactId | string | null (uuid) | Oui |
[].createdAt | string (date-time) | Oui |
[].createdBy | string | null (uuid) | Oui |
[].deal | null dans les exemples | Oui |
[].dealId | null dans les exemples | Oui |
[].description | null dans les exemples | Oui |
[].endsAt | string (date-time) | Oui |
[].guestEmail | string | null (email) | Oui |
[].guestName | string | null | Oui |
[].guestNotes | null dans les exemples | Oui |
[].guestPhone | null dans les exemples | Oui |
[].host | object | null | Oui |
[].host.id | string (uuid) | Oui |
[].host.image | null dans les exemples | Oui |
[].host.name | string | Oui |
[].hostId | string | null (uuid) | Oui |
[].id | string (uuid) | Oui |
[].location | string | null (uri) | Oui |
[].locationType | string | null | Oui |
[].payment | null dans les exemples | Oui |
[].source | string | Oui |
[].startsAt | string (date-time) | Oui |
[].status | string | Oui |
[].timezone | string | null | Oui |
[].title | string | Oui |
[].updatedAt | string (date-time) | Oui |
[].updatedBy | string | null (uuid) | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
[
{
"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
Fixe un rendez-vous avec un contact pour l’un des membres.
CréerEn cas de succès : 201.Permission : Créer.
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
title | string | Oui | min length 1 · max length 200 |
description | string | null | Non | |
startsAt | string (date-time) | Oui | |
endsAt | string (date-time) | Oui | |
timezone | string | null | Non | |
hostId | string | null | Non | |
contactId | string (uuid) | null | Non | |
dealId | string (uuid) | null | Non | |
locationType | "video" | "phone" | "in_person" | "other" | null | Non | |
location | string | null | Non |
Réponse
37 champs
| Champ | Type | Toujours présent |
|---|---|---|
allDay | boolean | Oui |
bookingPage | null dans les exemples | Oui |
bookingPageId | null dans les exemples | Oui |
cancelReason | null dans les exemples | Oui |
canceledAt | null dans les exemples | Oui |
canceledBy | null dans les exemples | Oui |
catalogRequestId | null dans les exemples | Oui |
contact | object | null | Oui |
contact.id | string (uuid) | Oui |
contact.name | string | Oui |
contactId | string | null (uuid) | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
deal | null dans les exemples | Oui |
dealId | null dans les exemples | Oui |
description | string | null | Oui |
endsAt | string (date-time) | Oui |
guestEmail | null dans les exemples | Oui |
guestName | null dans les exemples | Oui |
guestNotes | null dans les exemples | Oui |
guestPhone | null dans les exemples | Oui |
host | object | Oui |
host.id | string (uuid) | Oui |
host.image | null dans les exemples | Oui |
host.name | string | Oui |
hostId | string (uuid) | Oui |
id | string (uuid) | Oui |
location | string | null (uri) | Oui |
locationType | null dans les exemples | Oui |
payment | null dans les exemples | Oui |
source | string | Oui |
startsAt | string (date-time) | Oui |
status | string | Oui |
timezone | null dans les exemples | Oui |
title | string | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
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();Réponse (201), avec des valeurs d’exemple :
{
"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}
Supprime un rendez-vous.
SupprimerEn cas de succès : 204.Permission : Supprimer.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Exemple
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}
Renvoie un rendez-vous.
Voir unEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Exemple
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}
Modifie un rendez-vous : horaire, hôte, contact, lieu ou notes.
ModifierEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
title | string | Non | min length 1 · max length 200 |
description | string | null | Non | |
startsAt | string (date-time) | Non | |
endsAt | string (date-time) | Non | |
timezone | string | null | Non | |
hostId | string | null | Non | |
contactId | string (uuid) | null | Non | |
dealId | string (uuid) | null | Non | |
locationType | "video" | "phone" | "in_person" | "other" | null | Non | |
location | string | null | Non | |
status | "pending" | "scheduled" | "completed" | "canceled" | "no_show" | Non | |
cancelReason | string | null | Non | |
refund | boolean | Non |
Réponse
43 champs
| Champ | Type | Toujours présent |
|---|---|---|
allDay | boolean | Oui |
bookingPage | object | null | Oui |
bookingPage.id | string (uuid) | Oui |
bookingPage.title | string | Oui |
bookingPageId | string | null (uuid) | Oui |
cancelReason | string | null | Oui |
canceledAt | string | null (date-time) | Oui |
canceledBy | string | null | Oui |
catalogRequestId | null dans les exemples | Oui |
contact | object | null | Oui |
contact.id | string (uuid) | Oui |
contact.name | string | Oui |
contactId | string | null (uuid) | Oui |
createdAt | string (date-time) | Oui |
createdBy | string | null (uuid) | Oui |
deal | null dans les exemples | Oui |
dealId | null dans les exemples | Oui |
description | string | null | Oui |
endsAt | string (date-time) | Oui |
guestEmail | string | null (email) | Oui |
guestName | string | null | Oui |
guestNotes | null dans les exemples | Oui |
guestPhone | null dans les exemples | Oui |
host | object | Oui |
host.id | string (uuid) | Oui |
host.image | null dans les exemples | Oui |
host.name | string | Oui |
hostId | string (uuid) | Oui |
id | string (uuid) | Oui |
location | string | null (uri) | Oui |
locationType | null dans les exemples | Oui |
payment | object | null | Oui |
payment.amount | integer | Oui |
payment.currency | string | Oui |
payment.paidAt | string (date-time) | Oui |
payment.status | string | Oui |
source | string | Oui |
startsAt | string (date-time) | Oui |
status | string | Oui |
timezone | null dans les exemples | Oui |
title | string | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"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
Confirme un rendez-vous demandé via une page de réservation, avec le lieu.
Modifier/{id}/confirmEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
locationType | "video" | "phone" | "in_person" | "other" | Oui | |
location | string | Oui | min length 1 · max length 500 |
Réponse
39 champs
| Champ | Type | Toujours présent |
|---|---|---|
allDay | boolean | Oui |
bookingPage | object | Oui |
bookingPage.id | string (uuid) | Oui |
bookingPage.title | string | Oui |
bookingPageId | string (uuid) | Oui |
cancelReason | null dans les exemples | Oui |
canceledAt | null dans les exemples | Oui |
canceledBy | null dans les exemples | Oui |
catalogRequestId | null dans les exemples | Oui |
contact | object | Oui |
contact.id | string (uuid) | Oui |
contact.name | string | Oui |
contactId | string (uuid) | Oui |
createdAt | string (date-time) | Oui |
createdBy | null dans les exemples | Oui |
deal | null dans les exemples | Oui |
dealId | null dans les exemples | Oui |
description | null dans les exemples | Oui |
endsAt | string (date-time) | Oui |
guestEmail | string (email) | Oui |
guestName | string | Oui |
guestNotes | null dans les exemples | Oui |
guestPhone | null dans les exemples | Oui |
host | object | Oui |
host.id | string (uuid) | Oui |
host.image | null dans les exemples | Oui |
host.name | string | Oui |
hostId | string (uuid) | Oui |
id | string (uuid) | Oui |
location | string (uri) | Oui |
locationType | string | Oui |
payment | null dans les exemples | Oui |
source | string | Oui |
startsAt | string (date-time) | Oui |
status | string | Oui |
timezone | null dans les exemples | Oui |
title | string | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"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
Refuse un rendez-vous demandé via une page de réservation.
Modifier/{id}/declineEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
reason | string | null | Non | |
refund | boolean | Non | default false |
Réponse
39 champs
| Champ | Type | Toujours présent |
|---|---|---|
allDay | boolean | Oui |
bookingPage | object | Oui |
bookingPage.id | string (uuid) | Oui |
bookingPage.title | string | Oui |
bookingPageId | string (uuid) | Oui |
cancelReason | string | Oui |
canceledAt | string (date-time) | Oui |
canceledBy | string | Oui |
catalogRequestId | null dans les exemples | Oui |
contact | object | Oui |
contact.id | string (uuid) | Oui |
contact.name | string | Oui |
contactId | string (uuid) | Oui |
createdAt | string (date-time) | Oui |
createdBy | null dans les exemples | Oui |
deal | null dans les exemples | Oui |
dealId | null dans les exemples | Oui |
description | null dans les exemples | Oui |
endsAt | string (date-time) | Oui |
guestEmail | string (email) | Oui |
guestName | string | Oui |
guestNotes | null dans les exemples | Oui |
guestPhone | null dans les exemples | Oui |
host | object | Oui |
host.id | string (uuid) | Oui |
host.image | null dans les exemples | Oui |
host.name | string | Oui |
hostId | string (uuid) | Oui |
id | string (uuid) | Oui |
location | null dans les exemples | Oui |
locationType | null dans les exemples | Oui |
payment | null dans les exemples | Oui |
source | string | Oui |
startsAt | string (date-time) | Oui |
status | string | Oui |
timezone | null dans les exemples | Oui |
title | string | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"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
Vérifie qu’un créneau est libre et dans les horaires de l’hôte, avant de le réserver.
Lire/checkEn cas de succès : 200.Permission : Lire.
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
hostId | string | Non | min length 1 |
startsAt | string (date-time) | Oui | |
endsAt | string (date-time) | Oui | |
excludeId | string (uuid) | Non |
Réponse
7 champs
| Champ | Type | Toujours présent |
|---|---|---|
conflicts | array of object | Oui |
conflicts[].endsAt | string (date-time) | Oui |
conflicts[].id | string (uuid) | Oui |
conflicts[].startsAt | string (date-time) | Oui |
conflicts[].title | string | Oui |
googleBusy | boolean | Oui |
outsideAvailability | boolean | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"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
Les rendez-vous du mois par rapport à la limite de l’offre.
Lire/usageEn cas de succès : 200.Permission : Lire.
Réponse
3 champs
| Champ | Type | Toujours présent |
|---|---|---|
limit | integer | null | Oui |
resetsAt | string (date-time) | Oui |
used | integer | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"used": 1,
"limit": 1,
"resetsAt": "2026-11-21T14:00:00.000Z"
}Événements de webhook
Les changements de cette fonctionnalité que les webhooks peuvent envoyer.
appointment.createdCréerappointment.updatedModifierappointment.canceledModifierappointment.deletedSupprimer