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

ChampTypeObligatoireNotes
fromstring (date-time)Non
tostring (date-time)Non
hostIdstringNonmin length 1
contactIdstring (uuid)Non
dealIdstring (uuid)Non
projectIdstring (uuid)Non
status"awaiting_payment" | "pending" | "scheduled" | "completed" | "canceled" | "no_show"Non
includeCanceledstringNon

Réponse

39 champs
ChampTypeToujours présent
[].allDaybooleanOui
[].bookingPageobject | nullOui
[].bookingPage.idstring (uuid)Oui
[].bookingPage.titlestringOui
[].bookingPageIdstring | null (uuid)Oui
[].cancelReasonstring | nullOui
[].canceledAtstring | null (date-time)Oui
[].canceledBystring | nullOui
[].catalogRequestIdnull dans les exemplesOui
[].contactobject | nullOui
[].contact.idstring (uuid)Oui
[].contact.namestringOui
[].contactIdstring | null (uuid)Oui
[].createdAtstring (date-time)Oui
[].createdBystring | null (uuid)Oui
[].dealnull dans les exemplesOui
[].dealIdnull dans les exemplesOui
[].descriptionnull dans les exemplesOui
[].endsAtstring (date-time)Oui
[].guestEmailstring | null (email)Oui
[].guestNamestring | nullOui
[].guestNotesnull dans les exemplesOui
[].guestPhonenull dans les exemplesOui
[].hostobject | nullOui
[].host.idstring (uuid)Oui
[].host.imagenull dans les exemplesOui
[].host.namestringOui
[].hostIdstring | null (uuid)Oui
[].idstring (uuid)Oui
[].locationstring | null (uri)Oui
[].locationTypestring | nullOui
[].paymentnull dans les exemplesOui
[].sourcestringOui
[].startsAtstring (date-time)Oui
[].statusstringOui
[].timezonestring | nullOui
[].titlestringOui
[].updatedAtstring (date-time)Oui
[].updatedBystring | null (uuid)Oui
Exemple
curl -X GET "https://api.firmado.app/v1/appointments" \
  -H "X-Api-Key: fmd_..."

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

ChampTypeObligatoireNotes
titlestringOuimin length 1 · max length 200
descriptionstring | nullNon
startsAtstring (date-time)Oui
endsAtstring (date-time)Oui
timezonestring | nullNon
hostIdstring | nullNon
contactIdstring (uuid) | nullNon
dealIdstring (uuid) | nullNon
locationType"video" | "phone" | "in_person" | "other" | nullNon
locationstring | nullNon

Réponse

37 champs
ChampTypeToujours présent
allDaybooleanOui
bookingPagenull dans les exemplesOui
bookingPageIdnull dans les exemplesOui
cancelReasonnull dans les exemplesOui
canceledAtnull dans les exemplesOui
canceledBynull dans les exemplesOui
catalogRequestIdnull dans les exemplesOui
contactobject | nullOui
contact.idstring (uuid)Oui
contact.namestringOui
contactIdstring | null (uuid)Oui
createdAtstring (date-time)Oui
createdBystring (uuid)Oui
dealnull dans les exemplesOui
dealIdnull dans les exemplesOui
descriptionstring | nullOui
endsAtstring (date-time)Oui
guestEmailnull dans les exemplesOui
guestNamenull dans les exemplesOui
guestNotesnull dans les exemplesOui
guestPhonenull dans les exemplesOui
hostobjectOui
host.idstring (uuid)Oui
host.imagenull dans les exemplesOui
host.namestringOui
hostIdstring (uuid)Oui
idstring (uuid)Oui
locationstring | null (uri)Oui
locationTypenull dans les exemplesOui
paymentnull dans les exemplesOui
sourcestringOui
startsAtstring (date-time)Oui
statusstringOui
timezonenull dans les exemplesOui
titlestringOui
updatedAtstring (date-time)Oui
updatedBystring (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": "…"
}'

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

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

GET/v1/appointments/{id}

Renvoie un rendez-vous.

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

Paramètres de chemin

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

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

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
titlestringNonmin length 1 · max length 200
descriptionstring | nullNon
startsAtstring (date-time)Non
endsAtstring (date-time)Non
timezonestring | nullNon
hostIdstring | nullNon
contactIdstring (uuid) | nullNon
dealIdstring (uuid) | nullNon
locationType"video" | "phone" | "in_person" | "other" | nullNon
locationstring | nullNon
status"pending" | "scheduled" | "completed" | "canceled" | "no_show"Non
cancelReasonstring | nullNon
refundbooleanNon

Réponse

43 champs
ChampTypeToujours présent
allDaybooleanOui
bookingPageobject | nullOui
bookingPage.idstring (uuid)Oui
bookingPage.titlestringOui
bookingPageIdstring | null (uuid)Oui
cancelReasonstring | nullOui
canceledAtstring | null (date-time)Oui
canceledBystring | nullOui
catalogRequestIdnull dans les exemplesOui
contactobject | nullOui
contact.idstring (uuid)Oui
contact.namestringOui
contactIdstring | null (uuid)Oui
createdAtstring (date-time)Oui
createdBystring | null (uuid)Oui
dealnull dans les exemplesOui
dealIdnull dans les exemplesOui
descriptionstring | nullOui
endsAtstring (date-time)Oui
guestEmailstring | null (email)Oui
guestNamestring | nullOui
guestNotesnull dans les exemplesOui
guestPhonenull dans les exemplesOui
hostobjectOui
host.idstring (uuid)Oui
host.imagenull dans les exemplesOui
host.namestringOui
hostIdstring (uuid)Oui
idstring (uuid)Oui
locationstring | null (uri)Oui
locationTypenull dans les exemplesOui
paymentobject | nullOui
payment.amountintegerOui
payment.currencystringOui
payment.paidAtstring (date-time)Oui
payment.statusstringOui
sourcestringOui
startsAtstring (date-time)Oui
statusstringOui
timezonenull dans les exemplesOui
titlestringOui
updatedAtstring (date-time)Oui
updatedBystring (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"
}'

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

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
locationType"video" | "phone" | "in_person" | "other"Oui
locationstringOuimin length 1 · max length 500

Réponse

39 champs
ChampTypeToujours présent
allDaybooleanOui
bookingPageobjectOui
bookingPage.idstring (uuid)Oui
bookingPage.titlestringOui
bookingPageIdstring (uuid)Oui
cancelReasonnull dans les exemplesOui
canceledAtnull dans les exemplesOui
canceledBynull dans les exemplesOui
catalogRequestIdnull dans les exemplesOui
contactobjectOui
contact.idstring (uuid)Oui
contact.namestringOui
contactIdstring (uuid)Oui
createdAtstring (date-time)Oui
createdBynull dans les exemplesOui
dealnull dans les exemplesOui
dealIdnull dans les exemplesOui
descriptionnull dans les exemplesOui
endsAtstring (date-time)Oui
guestEmailstring (email)Oui
guestNamestringOui
guestNotesnull dans les exemplesOui
guestPhonenull dans les exemplesOui
hostobjectOui
host.idstring (uuid)Oui
host.imagenull dans les exemplesOui
host.namestringOui
hostIdstring (uuid)Oui
idstring (uuid)Oui
locationstring (uri)Oui
locationTypestringOui
paymentnull dans les exemplesOui
sourcestringOui
startsAtstring (date-time)Oui
statusstringOui
timezonenull dans les exemplesOui
titlestringOui
updatedAtstring (date-time)Oui
updatedBystring (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": "…"
}'

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

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
reasonstring | nullNon
refundbooleanNondefault false

Réponse

39 champs
ChampTypeToujours présent
allDaybooleanOui
bookingPageobjectOui
bookingPage.idstring (uuid)Oui
bookingPage.titlestringOui
bookingPageIdstring (uuid)Oui
cancelReasonstringOui
canceledAtstring (date-time)Oui
canceledBystringOui
catalogRequestIdnull dans les exemplesOui
contactobjectOui
contact.idstring (uuid)Oui
contact.namestringOui
contactIdstring (uuid)Oui
createdAtstring (date-time)Oui
createdBynull dans les exemplesOui
dealnull dans les exemplesOui
dealIdnull dans les exemplesOui
descriptionnull dans les exemplesOui
endsAtstring (date-time)Oui
guestEmailstring (email)Oui
guestNamestringOui
guestNotesnull dans les exemplesOui
guestPhonenull dans les exemplesOui
hostobjectOui
host.idstring (uuid)Oui
host.imagenull dans les exemplesOui
host.namestringOui
hostIdstring (uuid)Oui
idstring (uuid)Oui
locationnull dans les exemplesOui
locationTypenull dans les exemplesOui
paymentnull dans les exemplesOui
sourcestringOui
startsAtstring (date-time)Oui
statusstringOui
timezonenull dans les exemplesOui
titlestringOui
updatedAtstring (date-time)Oui
updatedBystring (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
}'

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

ChampTypeObligatoireNotes
hostIdstringNonmin length 1
startsAtstring (date-time)Oui
endsAtstring (date-time)Oui
excludeIdstring (uuid)Non

Réponse

7 champs
ChampTypeToujours présent
conflictsarray of objectOui
conflicts[].endsAtstring (date-time)Oui
conflicts[].idstring (uuid)Oui
conflicts[].startsAtstring (date-time)Oui
conflicts[].titlestringOui
googleBusybooleanOui
outsideAvailabilitybooleanOui
Exemple
curl -X GET "https://api.firmado.app/v1/appointments/check" \
  -H "X-Api-Key: fmd_..."

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
ChampTypeToujours présent
limitinteger | nullOui
resetsAtstring (date-time)Oui
usedintegerOui
Exemple
curl -X GET "https://api.firmado.app/v1/appointments/usage" \
  -H "X-Api-Key: fmd_..."

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éer
  • appointment.updatedModifier
  • appointment.canceledModifier
  • appointment.deletedSupprimer