Booking pages
Pages where clients book meetings.
Values for the examples
Type them once and every example on this page uses them. The API key stays on this page only and is never saved.
GET/v1/booking-pages
Lists the booking pages.
ListOn success: 200.Permission: Read.
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
hostId | string | No | min length 1 |
Example
curl -X GET "https://api.firmado.app/v1/booking-pages" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/booking-pages", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/booking-pages",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/booking-pages");
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/booking-pages")
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/booking-pages", 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/booking-pages"))
.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/booking-pages");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();POST/v1/booking-pages
Creates a booking page.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | Yes | min length 1 · max length 120 |
description | string | null | No | |
durationMinutes | integer | Yes | min 5 · max 480 |
bufferBeforeMinutes | integer | No | min 0 · max 240 · default 0 |
bufferAfterMinutes | integer | No | min 0 · max 240 · default 0 |
minNoticeMinutes | integer | No | min 0 · max 43200 · default 240 |
maxDaysAhead | integer | No | min 1 · max 365 · default 60 |
slotIntervalMinutes | integer | null | No | |
allDay | boolean | No | default false |
durationDays | integer | No | min 1 · max 30 · default 1 |
teamMode | "host_first" | "time_first" | null | No | |
teamHostIds | array of string | No | max items 500 |
locations | array of object | No | max items 4 |
locations[].type | "video" | "phone" | "in_person" | "other" | Yes | |
locations[].value | string | null | No | |
requirePhone | boolean | No | default false |
isPublic | boolean | No | default false |
requireCaptcha | boolean | No | default false |
priceAmount | integer | null | No | |
priceCurrency | string | null | No | |
refundNoticeMinutes | integer | null | No | |
active | boolean | No | default true |
templateId | "classic" | "modern" | "minimal" | "bold" | null | No | |
theme | object | No | |
theme.primaryColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.accentColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.backgroundColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.textColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.headingFont | string | No | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.bodyFont | string | No | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.coverImageUrl | string (uri) | No | max length 2000 |
theme.cornerRadius | "none" | "small" | "medium" | "large" | No | |
hostId | string | No | min length 1 |
Response
34 fields
| Field | Type | Always there |
|---|---|---|
active | boolean | Yes |
allDay | boolean | Yes |
bufferAfterMinutes | integer | Yes |
bufferBeforeMinutes | integer | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
description | null in the examples | Yes |
durationDays | integer | Yes |
durationMinutes | integer | Yes |
hostId | string (uuid) | Yes |
hostName | string | Yes |
id | string (uuid) | Yes |
isPublic | boolean | Yes |
locations | array of object | Yes |
locations[].type | string | Yes |
locations[].value | string (uri) | Yes |
maxDaysAhead | integer | Yes |
minNoticeMinutes | integer | Yes |
priceAmount | integer | null | Yes |
priceCurrency | string | null | Yes |
publicId | string | Yes |
refundNoticeMinutes | integer | null | Yes |
requireCaptcha | boolean | Yes |
requirePhone | boolean | Yes |
slotIntervalMinutes | null in the examples | Yes |
teamHostIds | array of any | Yes |
teamMode | string | null | Yes |
templateId | string | null | Yes |
theme | object | Yes |
theme.primaryColor | string | No |
title | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
url | string (uri) | Yes |
Example
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
}'const res = await fetch("https://api.firmado.app/v1/booking-pages", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"durationMinutes": 5,
"description": "…",
"bufferBeforeMinutes": 0
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/booking-pages",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"durationMinutes": 5,
"description": "…",
"bufferBeforeMinutes": 0,
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/booking-pages");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"durationMinutes": 5,
"description": "…",
"bufferBeforeMinutes": 0
}
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/booking-pages")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"durationMinutes": 5,
"description": "…",
"bufferBeforeMinutes": 0
}
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": "…",
"durationMinutes": 5,
"description": "…",
"bufferBeforeMinutes": 0
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/booking-pages", 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/booking-pages"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"durationMinutes": 5,
"description": "…",
"bufferBeforeMinutes": 0
}
"""))
.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/booking-pages");
request.Content = new StringContent(""""
{
"title": "…",
"durationMinutes": 5,
"description": "…",
"bufferBeforeMinutes": 0
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (201), with sample values:
{
"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}
Deletes a booking page; meetings already booked stay.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/booking-pages/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/booking-pages/{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/booking-pages/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/booking-pages/{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/booking-pages/{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/booking-pages/{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/booking-pages/{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/booking-pages/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/booking-pages/{id}
Returns a booking page with its settings.
Get oneOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X GET "https://api.firmado.app/v1/booking-pages/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/booking-pages/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/booking-pages/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/booking-pages/{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/booking-pages/{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/booking-pages/{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/booking-pages/{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/booking-pages/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PATCH/v1/booking-pages/{id}
Changes a booking page: hosts, durations, questions, look and rules.
UpdateOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | No | min length 1 · max length 120 |
description | string | null | No | |
durationMinutes | integer | No | min 5 · max 480 |
bufferBeforeMinutes | integer | No | min 0 · max 240 |
bufferAfterMinutes | integer | No | min 0 · max 240 |
minNoticeMinutes | integer | No | min 0 · max 43200 |
maxDaysAhead | integer | No | min 1 · max 365 |
slotIntervalMinutes | integer | null | No | |
allDay | boolean | No | |
durationDays | integer | No | min 1 · max 30 |
teamMode | "host_first" | "time_first" | null | No | |
teamHostIds | array of string | No | max items 500 |
locations | array of object | No | max items 4 |
locations[].type | "video" | "phone" | "in_person" | "other" | Yes | |
locations[].value | string | null | No | |
requirePhone | boolean | No | |
isPublic | boolean | No | |
requireCaptcha | boolean | No | |
priceAmount | integer | null | No | |
priceCurrency | string | null | No | |
refundNoticeMinutes | integer | null | No | |
active | boolean | No | |
templateId | "classic" | "modern" | "minimal" | "bold" | null | No | |
theme | object | No | |
theme.primaryColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.accentColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.backgroundColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.textColor | string | No | pattern ^#[0-9a-fA-F]{6}$ |
theme.headingFont | string | No | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.bodyFont | string | No | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.coverImageUrl | string (uri) | No | max length 2000 |
theme.cornerRadius | "none" | "small" | "medium" | "large" | No | |
hostId | string | No | min length 1 |
Response
33 fields
| Field | Type | Always there |
|---|---|---|
active | boolean | Yes |
allDay | boolean | Yes |
bufferAfterMinutes | integer | Yes |
bufferBeforeMinutes | integer | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
description | null in the examples | Yes |
durationDays | integer | Yes |
durationMinutes | integer | Yes |
hostId | string (uuid) | Yes |
hostName | string | Yes |
id | string (uuid) | Yes |
isPublic | boolean | Yes |
locations | array of object | Yes |
locations[].type | string | Yes |
locations[].value | string | null | Yes |
maxDaysAhead | integer | Yes |
minNoticeMinutes | integer | Yes |
priceAmount | integer | null | Yes |
priceCurrency | string | null | Yes |
publicId | string | Yes |
refundNoticeMinutes | integer | null | Yes |
requireCaptcha | boolean | Yes |
requirePhone | boolean | Yes |
slotIntervalMinutes | null in the examples | Yes |
teamHostIds | array of any | Yes |
teamMode | null in the examples | Yes |
templateId | null in the examples | Yes |
theme | object | Yes |
title | string | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
url | string (uri) | Yes |
Example
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
}'const res = await fetch("https://api.firmado.app/v1/booking-pages/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"description": "…",
"durationMinutes": 5,
"bufferBeforeMinutes": 0
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/booking-pages/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"description": "…",
"durationMinutes": 5,
"bufferBeforeMinutes": 0,
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/booking-pages/{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": "…",
"durationMinutes": 5,
"bufferBeforeMinutes": 0
}
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/booking-pages/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"description": "…",
"durationMinutes": 5,
"bufferBeforeMinutes": 0
}
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": "…",
"durationMinutes": 5,
"bufferBeforeMinutes": 0
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/booking-pages/{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/booking-pages/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"description": "…",
"durationMinutes": 5,
"bufferBeforeMinutes": 0
}
"""))
.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/booking-pages/{id}");
request.Content = new StringContent(""""
{
"title": "…",
"description": "…",
"durationMinutes": 5,
"bufferBeforeMinutes": 0
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"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
Shows a booking page as visitors would see it with unsaved settings; saves nothing.
Read/previewOn success: 200.Permission: Read.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
durationMinutes | integer | Yes | min 5 · max 480 |
bufferBeforeMinutes | integer | Yes | min 0 · max 240 |
bufferAfterMinutes | integer | Yes | min 0 · max 240 |
minNoticeMinutes | integer | Yes | min 0 · max 43200 |
maxDaysAhead | integer | Yes | min 1 · max 365 |
slotIntervalMinutes | integer | null | No | |
allDay | boolean | No | default false |
durationDays | integer | No | min 1 · max 30 · default 1 |
teamMode | "host_first" | "time_first" | null | No | |
teamHostIds | array of string | No | max items 500 |
hostId | string | No | min length 1 |
pickedHostId | string | No | min length 1 |
templateId | "classic" | "modern" | "minimal" | "bold" | null | No | |
from | string (date-time) | Yes | |
to | string (date-time) | Yes |
Response
18 fields
| Field | Type | Always there |
|---|---|---|
host | object | Yes |
host.image | null in the examples | Yes |
host.name | string | Yes |
hostTimezone | string | Yes |
organization | object | Yes |
organization.language | string | Yes |
organization.name | string | Yes |
slots | array of string (date-time) | Yes |
team | null in the examples | Yes |
templateId | string | Yes |
theme | object | Yes |
theme.accentColor | string | Yes |
theme.backgroundColor | string | Yes |
theme.bodyFont | string | Yes |
theme.cornerRadius | string | Yes |
theme.headingFont | string | Yes |
theme.primaryColor | string | Yes |
theme.textColor | string | Yes |
Example
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"
}'const res = await fetch("https://api.firmado.app/v1/booking-pages/preview", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"durationMinutes": 5,
"bufferBeforeMinutes": 0,
"bufferAfterMinutes": 0,
"minNoticeMinutes": 0,
"maxDaysAhead": 1,
"from": "2026-11-21T14:00:00.000Z",
"to": "2026-11-21T14:00:00.000Z"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/booking-pages/preview",
headers={"X-Api-Key": "fmd_..."},
json={
"durationMinutes": 5,
"bufferBeforeMinutes": 0,
"bufferAfterMinutes": 0,
"minNoticeMinutes": 0,
"maxDaysAhead": 1,
"from": "2026-11-21T14:00:00.000Z",
"to": "2026-11-21T14:00:00.000Z",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/booking-pages/preview");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"durationMinutes": 5,
"bufferBeforeMinutes": 0,
"bufferAfterMinutes": 0,
"minNoticeMinutes": 0,
"maxDaysAhead": 1,
"from": "2026-11-21T14:00:00.000Z",
"to": "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/booking-pages/preview")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"durationMinutes": 5,
"bufferBeforeMinutes": 0,
"bufferAfterMinutes": 0,
"minNoticeMinutes": 0,
"maxDaysAhead": 1,
"from": "2026-11-21T14:00:00.000Z",
"to": "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(`{
"durationMinutes": 5,
"bufferBeforeMinutes": 0,
"bufferAfterMinutes": 0,
"minNoticeMinutes": 0,
"maxDaysAhead": 1,
"from": "2026-11-21T14:00:00.000Z",
"to": "2026-11-21T14:00:00.000Z"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/booking-pages/preview", 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/booking-pages/preview"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"durationMinutes": 5,
"bufferBeforeMinutes": 0,
"bufferAfterMinutes": 0,
"minNoticeMinutes": 0,
"maxDaysAhead": 1,
"from": "2026-11-21T14:00:00.000Z",
"to": "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("POST"), "https://api.firmado.app/v1/booking-pages/preview");
request.Content = new StringContent(""""
{
"durationMinutes": 5,
"bufferBeforeMinutes": 0,
"bufferAfterMinutes": 0,
"minNoticeMinutes": 0,
"maxDaysAhead": 1,
"from": "2026-11-21T14:00:00.000Z",
"to": "2026-11-21T14:00:00.000Z"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"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"
]
}Webhook events
Changes of this feature that webhooks can send.
booking_page.createdCreatebooking_page.updatedUpdatebooking_page.deletedDelete