Pages de réservation

Les pages où les clients prennent rendez-vous.

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/booking-pages

Liste les pages de réservation.

ListerEn cas de succès : 200.Permission : Lire.

Paramètres de requête

ChampTypeObligatoireNotes
hostIdstringNonmin length 1
Exemple
curl -X GET "https://api.firmado.app/v1/booking-pages" \
  -H "X-Api-Key: fmd_..."

POST/v1/booking-pages

Crée une page de réservation.

CréerEn cas de succès : 201.Permission : Créer.

Corps

ChampTypeObligatoireNotes
titlestringOuimin length 1 · max length 120
descriptionstring | nullNon
durationMinutesintegerOuimin 5 · max 480
bufferBeforeMinutesintegerNonmin 0 · max 240 · default 0
bufferAfterMinutesintegerNonmin 0 · max 240 · default 0
minNoticeMinutesintegerNonmin 0 · max 43200 · default 240
maxDaysAheadintegerNonmin 1 · max 365 · default 60
slotIntervalMinutesinteger | nullNon
allDaybooleanNondefault false
durationDaysintegerNonmin 1 · max 30 · default 1
teamMode"host_first" | "time_first" | nullNon
teamHostIdsarray of stringNonmax items 500
locationsarray of objectNonmax items 4
locations[].type"video" | "phone" | "in_person" | "other"Oui
locations[].valuestring | nullNon
requirePhonebooleanNondefault false
isPublicbooleanNondefault false
requireCaptchabooleanNondefault false
priceAmountinteger | nullNon
priceCurrencystring | nullNon
refundNoticeMinutesinteger | nullNon
activebooleanNondefault true
templateId"classic" | "modern" | "minimal" | "bold" | nullNon
themeobjectNon
theme.primaryColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nonmax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Non
hostIdstringNonmin length 1

Réponse

34 champs
ChampTypeToujours présent
activebooleanOui
allDaybooleanOui
bufferAfterMinutesintegerOui
bufferBeforeMinutesintegerOui
createdAtstring (date-time)Oui
createdBystring (uuid)Oui
descriptionnull dans les exemplesOui
durationDaysintegerOui
durationMinutesintegerOui
hostIdstring (uuid)Oui
hostNamestringOui
idstring (uuid)Oui
isPublicbooleanOui
locationsarray of objectOui
locations[].typestringOui
locations[].valuestring (uri)Oui
maxDaysAheadintegerOui
minNoticeMinutesintegerOui
priceAmountinteger | nullOui
priceCurrencystring | nullOui
publicIdstringOui
refundNoticeMinutesinteger | nullOui
requireCaptchabooleanOui
requirePhonebooleanOui
slotIntervalMinutesnull dans les exemplesOui
teamHostIdsarray of anyOui
teamModestring | nullOui
templateIdstring | nullOui
themeobjectOui
theme.primaryColorstringNon
titlestringOui
updatedAtstring (date-time)Oui
updatedBystring (uuid)Oui
urlstring (uri)Oui
Exemple
curl -X POST "https://api.firmado.app/v1/booking-pages" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "durationMinutes": 5,
  "description": "…",
  "bufferBeforeMinutes": 0
}'

Réponse (201), avec des valeurs d’exemple :

{
  "active": true,
  "allDay": true,
  "bufferAfterMinutes": 1,
  "bufferBeforeMinutes": 1,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "description": null,
  "durationDays": 1,
  "durationMinutes": 1,
  "hostId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "hostName": "Ana Lima",
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "isPublic": true,
  "locations": [
    {
      "type": "…",
      "value": "https://example.com"
    }
  ],
  "maxDaysAhead": 1,
  "minNoticeMinutes": 1,
  "priceAmount": 1,
  "priceCurrency": "USD",
  "publicId": "…",
  "refundNoticeMinutes": 1,
  "requireCaptcha": true,
  "requirePhone": true,
  "slotIntervalMinutes": null,
  "teamHostIds": [],
  "teamMode": "…",
  "templateId": "…",
  "theme": {
    "primaryColor": "…"
  },
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "url": "https://example.com"
}

DELETE/v1/booking-pages/{id}

Supprime une page de réservation ; les rendez-vous déjà pris restent.

SupprimerEn cas de succès : 204.Permission : Supprimer.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui
Exemple
curl -X DELETE "https://api.firmado.app/v1/booking-pages/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/booking-pages/{id}

Renvoie une page de réservation avec ses réglages.

Voir unEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui
Exemple
curl -X GET "https://api.firmado.app/v1/booking-pages/{id}" \
  -H "X-Api-Key: fmd_..."

PATCH/v1/booking-pages/{id}

Modifie une page de réservation : hôtes, durées, questions, apparence et règles.

ModifierEn cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
titlestringNonmin length 1 · max length 120
descriptionstring | nullNon
durationMinutesintegerNonmin 5 · max 480
bufferBeforeMinutesintegerNonmin 0 · max 240
bufferAfterMinutesintegerNonmin 0 · max 240
minNoticeMinutesintegerNonmin 0 · max 43200
maxDaysAheadintegerNonmin 1 · max 365
slotIntervalMinutesinteger | nullNon
allDaybooleanNon
durationDaysintegerNonmin 1 · max 30
teamMode"host_first" | "time_first" | nullNon
teamHostIdsarray of stringNonmax items 500
locationsarray of objectNonmax items 4
locations[].type"video" | "phone" | "in_person" | "other"Oui
locations[].valuestring | nullNon
requirePhonebooleanNon
isPublicbooleanNon
requireCaptchabooleanNon
priceAmountinteger | nullNon
priceCurrencystring | nullNon
refundNoticeMinutesinteger | nullNon
activebooleanNon
templateId"classic" | "modern" | "minimal" | "bold" | nullNon
themeobjectNon
theme.primaryColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nonmax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Non
hostIdstringNonmin length 1

Réponse

33 champs
ChampTypeToujours présent
activebooleanOui
allDaybooleanOui
bufferAfterMinutesintegerOui
bufferBeforeMinutesintegerOui
createdAtstring (date-time)Oui
createdBystring (uuid)Oui
descriptionnull dans les exemplesOui
durationDaysintegerOui
durationMinutesintegerOui
hostIdstring (uuid)Oui
hostNamestringOui
idstring (uuid)Oui
isPublicbooleanOui
locationsarray of objectOui
locations[].typestringOui
locations[].valuestring | nullOui
maxDaysAheadintegerOui
minNoticeMinutesintegerOui
priceAmountinteger | nullOui
priceCurrencystring | nullOui
publicIdstringOui
refundNoticeMinutesinteger | nullOui
requireCaptchabooleanOui
requirePhonebooleanOui
slotIntervalMinutesnull dans les exemplesOui
teamHostIdsarray of anyOui
teamModenull dans les exemplesOui
templateIdnull dans les exemplesOui
themeobjectOui
titlestringOui
updatedAtstring (date-time)Oui
updatedBystring (uuid)Oui
urlstring (uri)Oui
Exemple
curl -X PATCH "https://api.firmado.app/v1/booking-pages/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "description": "…",
  "durationMinutes": 5,
  "bufferBeforeMinutes": 0
}'

Réponse (200), avec des valeurs d’exemple :

{
  "active": true,
  "allDay": true,
  "bufferAfterMinutes": 1,
  "bufferBeforeMinutes": 1,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "description": null,
  "durationDays": 1,
  "durationMinutes": 1,
  "hostId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "hostName": "Ana Lima",
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "isPublic": true,
  "locations": [
    {
      "type": "…",
      "value": "…"
    }
  ],
  "maxDaysAhead": 1,
  "minNoticeMinutes": 1,
  "priceAmount": 1,
  "priceCurrency": "USD",
  "publicId": "…",
  "refundNoticeMinutes": 1,
  "requireCaptcha": true,
  "requirePhone": true,
  "slotIntervalMinutes": null,
  "teamHostIds": [],
  "teamMode": null,
  "templateId": null,
  "theme": {},
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "url": "https://example.com"
}

POST/v1/booking-pages/preview

Montre une page de réservation telle que les visiteurs la verraient, avec des réglages non enregistrés ; n’enregistre rien.

Lire/previewEn cas de succès : 200.Permission : Lire.

Corps

ChampTypeObligatoireNotes
durationMinutesintegerOuimin 5 · max 480
bufferBeforeMinutesintegerOuimin 0 · max 240
bufferAfterMinutesintegerOuimin 0 · max 240
minNoticeMinutesintegerOuimin 0 · max 43200
maxDaysAheadintegerOuimin 1 · max 365
slotIntervalMinutesinteger | nullNon
allDaybooleanNondefault false
durationDaysintegerNonmin 1 · max 30 · default 1
teamMode"host_first" | "time_first" | nullNon
teamHostIdsarray of stringNonmax items 500
hostIdstringNonmin length 1
pickedHostIdstringNonmin length 1
templateId"classic" | "modern" | "minimal" | "bold" | nullNon
fromstring (date-time)Oui
tostring (date-time)Oui

Réponse

18 champs
ChampTypeToujours présent
hostobjectOui
host.imagenull dans les exemplesOui
host.namestringOui
hostTimezonestringOui
organizationobjectOui
organization.languagestringOui
organization.namestringOui
slotsarray of string (date-time)Oui
teamnull dans les exemplesOui
templateIdstringOui
themeobjectOui
theme.accentColorstringOui
theme.backgroundColorstringOui
theme.bodyFontstringOui
theme.cornerRadiusstringOui
theme.headingFontstringOui
theme.primaryColorstringOui
theme.textColorstringOui
Exemple
curl -X POST "https://api.firmado.app/v1/booking-pages/preview" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "durationMinutes": 5,
  "bufferBeforeMinutes": 0,
  "bufferAfterMinutes": 0,
  "minNoticeMinutes": 0,
  "maxDaysAhead": 1,
  "from": "2026-11-21T14:00:00.000Z",
  "to": "2026-11-21T14:00:00.000Z"
}'

Réponse (200), avec des valeurs d’exemple :

{
  "organization": {
    "name": "Ana Lima",
    "language": "…"
  },
  "templateId": "…",
  "theme": {
    "primaryColor": "…",
    "accentColor": "…",
    "backgroundColor": "…",
    "textColor": "…",
    "headingFont": "…",
    "bodyFont": "…",
    "cornerRadius": "…"
  },
  "host": {
    "name": "Ana Lima",
    "image": null
  },
  "team": null,
  "hostTimezone": "…",
  "slots": [
    "2026-11-21T14:00:00.000Z"
  ]
}

Événements de webhook

Les changements de cette fonctionnalité que les webhooks peuvent envoyer.

  • booking_page.createdCréer
  • booking_page.updatedModifier
  • booking_page.deletedSupprimer