# Make a scoped key: read-only and/or limited to some tools. The answer holds the key (bbk_…) once. (/docs/api/api_keys/CreateApiKey) `POST https://www.blackbell.com/api/i/api_keys` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | | | `read_only` | boolean | | | | `tools` | string[] | | Tool names as the Blackbell MCP lists them (for example list_customers). Empty: every tool. | | `can_send_broadcasts` | boolean | | Default true | | `expires_at` | string | | Optional | ## Responses - `200`: OK # The account's active scoped keys and run tokens (all=true: revoked and expired too). The key itself is never shown again. (/docs/api/api_keys/ListApiKeys) `GET https://www.blackbell.com/api/i/api_keys` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `all` | query | | | ## Responses - `200`: OK # Revoke a scoped key or run token at once (/docs/api/api_keys/RevokeApiKey) `DELETE https://www.blackbell.com/api/i/api_keys/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Key id | ## Responses - `200`: OK # Make a rule: a trigger and what to do, in plain words. Say the rule back to the person and wait for a yes before you call this. A webhook rule answers webhook_url once. (/docs/api/automations/CreateAutomation) `POST https://www.blackbell.com/api/i/automations` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | A short name the business will recognise | | `instruction` | string | | What to do on each run, in plain words, as the business said it. Up to 4,000 characters. | | `trigger_kind` | string | | event: a Blackbell event. schedule: at fixed times (use it to check a state in another app, for example "a free spot on Wednesday"). webhook: another app calls a secret URL of this rule. app_event: a connected app sends an event on its own webhook (best when the app shows a webhook in list_connected_apps: the rule starts at once, no schedule). One of: `event`, `schedule`, `webhook`, `app_event`. | | `trigger_event` | string | | For trigger_kind event, one of: order_created, order_paid, booking_cancelled, hold_expired, customer_created, conversation_started. For trigger_kind app_event: the event name the app sends (see the app's webhook events in list_connected_apps), or empty for every event. | | `trigger_app_id` | integer | | For trigger_kind app_event: the connected app that sends the event. It needs a webhook (list_connected_apps shows it). | | `schedule` | string | | For trigger_kind schedule: a cron line with 5 parts, in the time zone. "0 18 * * 2" = Tuesdays 18:00. At least 15 minutes between runs. | | `time_zone` | string | | Optional, for example "Europe/Paris". Default: the account time zone. | | `connected_app_ids` | integer[] | | The connected apps this rule may use (list_connected_apps), 5 at most | | `blackbell_tools` | string[] | | Optional. The Blackbell tools a run may call. Empty: read everything and make a draft broadcast, nothing else. | | `can_send_broadcasts` | boolean | | Default false: a run makes a draft and the business taps Send. Set true only when the person said the rule may send without asking. | ## Responses - `200`: OK # Delete a rule and its run history (/docs/api/automations/DeleteAutomation) `DELETE https://www.blackbell.com/api/i/automations/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Rule id | ## Responses - `200`: OK # The last runs of a rule, newest first: status, what it did, the error if it failed, and its card (/docs/api/automations/ListAutomationRuns) `GET https://www.blackbell.com/api/i/automations/{id}/runs` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Rule id | | `per_page` | query | | Up to 50, default 10 | ## Responses - `200`: OK # The account's rules (automations), each with its trigger, its status and its card (last run, what waits for a yes) (/docs/api/automations/ListAutomations) `GET https://www.blackbell.com/api/i/automations` Send the API key in the `Api-Key` header. ## Responses - `200`: OK # Run a rule once now, to test it. It does real work: ask the person first. (/docs/api/automations/RunAutomation) `POST https://www.blackbell.com/api/i/automations/{id}/run` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Rule id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Responses - `200`: OK # Change a rule, pause it (status paused) or turn it on again (status on). Send only what changes. (/docs/api/automations/UpdateAutomation) `PUT https://www.blackbell.com/api/i/automations/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Rule id | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | A short name the business will recognise | | `instruction` | string | | What to do on each run, in plain words, as the business said it. Up to 4,000 characters. | | `trigger_kind` | string | | event: a Blackbell event. schedule: at fixed times (use it to check a state in another app, for example "a free spot on Wednesday"). webhook: another app calls a secret URL of this rule. app_event: a connected app sends an event on its own webhook (best when the app shows a webhook in list_connected_apps: the rule starts at once, no schedule). One of: `event`, `schedule`, `webhook`, `app_event`. | | `trigger_event` | string | | For trigger_kind event, one of: order_created, order_paid, booking_cancelled, hold_expired, customer_created, conversation_started. For trigger_kind app_event: the event name the app sends (see the app's webhook events in list_connected_apps), or empty for every event. | | `trigger_app_id` | integer | | For trigger_kind app_event: the connected app that sends the event. It needs a webhook (list_connected_apps shows it). | | `schedule` | string | | For trigger_kind schedule: a cron line with 5 parts, in the time zone. "0 18 * * 2" = Tuesdays 18:00. At least 15 minutes between runs. | | `time_zone` | string | | Optional, for example "Europe/Paris". Default: the account time zone. | | `connected_app_ids` | integer[] | | The connected apps this rule may use (list_connected_apps), 5 at most | | `blackbell_tools` | string[] | | Optional. The Blackbell tools a run may call. Empty: read everything and make a draft broadcast, nothing else. | | `can_send_broadcasts` | boolean | | Default false: a run makes a draft and the business taps Send. Set true only when the person said the rule may send without asking. | | `status` | string | | One of: `on`, `paused`. | ## Responses - `200`: OK # The account's Blackbell balance per currency: available (can be paid out) and pending (/docs/api/balance/GetBalance) `GET https://www.blackbell.com/api/i/balance` Send the API key in the `Api-Key` header. ## Responses - `200`: OK # The editor's block library: id, template, tags, preview image, default texts. Filter by search or template (/docs/api/block_templates/ListBlockTemplates) `GET https://www.blackbell.com/api/i/block_templates` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `search` | query | | Words to find, like pricing, faq, hero | | `template` | query | | Template of an existing block | ## Responses - `200`: OK # One block as the editor shows it: texts, images, buttons, items, visibility, who sees it and free page parts. Not the free page code (/docs/api/blocks/GetBlock) `GET https://www.blackbell.com/api/i/blocks/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Block id | | `locale` | query | | Texts in this language (default: the main language); all = every language | | `code` | query | | true = the whole free page code too (big: avoid) | ## Responses - `200`: OK # Find text in a free page's code and get snippets with line numbers and unique; lines gives a range (up to 400) (/docs/api/blocks/SearchCode) `GET https://www.blackbell.com/api/i/blocks/{id}/code` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Free page block id (get_page) | | `query` | query | | Text to find (a regex with regex true) | | `field` | query | | Default: all three | | `regex` | query | | Default false | | `match_case` | query | | Default false | | `context` | query | | Characters around each match, default 150, max 1000 | | `max` | query | | Matches to answer, default 20, max 50 | | `lines` | query | | Read lines instead, like "120-180" (needs field) | ## Responses - `200`: OK # Cancel a booking made by hand (no order). The customer gets the cancel email; nothing is refunded. An order's booking is cancelled with its order (set_order_status rejected) (/docs/api/bookings/CancelBooking) `DELETE https://www.blackbell.com/api/i/bookings/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Event id | ## Responses - `200`: OK # Put a booking in a calendar by hand (no order, no payment, no slot check). A given customer gets the email (/docs/api/bookings/CreateBooking) `POST https://www.blackbell.com/api/i/bookings` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `calendar_id` | integer | | | | `starts_at` | string | | ISO 8601 | | `ends_at` | string | | ISO 8601 | | `name` | string | | | | `visitor_id` | integer | | Customer id | | `slots_amount` | integer | | | ## Responses - `200`: OK # Move a booking (event id) to another time or calendar. An order booking is checked; the customer gets an email (/docs/api/bookings/MoveBooking) `PUT https://www.blackbell.com/api/i/bookings/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Event id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `starts_at` | string | | ISO 8601 | | `ends_at` | string | | ISO 8601 | | `calendar_id` | integer | | | ## Responses - `200`: OK # Create a draft broadcast (draft: true) with its text, channel and audience. Sends nothing (/docs/api/broadcasts/DraftBroadcast) `POST https://www.blackbell.com/api/i/broadcasts` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `draft` | boolean | | | | `visitor_ids` | integer[] | | These customers only (use alone) | | `labels_id_in` | integer[] | | Customers with all of these labels | | `labels_id_in_any` | integer[] | | Customers with at least one of these labels, for example several buildings (not with labels_id_in) | | `labels_id_not_in` | integer[] | | Leave out customers with any of these labels | | `groups_in` | integer[] | | Customer groups (list_customer_groups); a group = its labels. With labels too, both must match | | `groups_mode` | string | | any (default): one group is enough; all: in every group One of: `any`, `all`. | | `groups_not_in` | integer[] | | Leave out people in any of these groups | | `everyone` | boolean | | Every customer of the account (with labels_id_not_in or groups_not_in to leave people out) | | `status` | string | | Optional: only people moving out soon, or only approved people One of: `moving_out_soon`, `approved_only`. | | `answers` | object | | Ask for an answer. People answer with 2 to 4 buttons in the app and the email | | `answers.enabled` | boolean | | Default true; false stops asking | | `answers.preset` | string | | Quick pick: access_visit (I will be present / Use management keys), yes_no, attend (I'll attend / I can't attend). Alone it fills the buttons; custom = your options One of: `access_visit`, `yes_no`, `attend`, `custom`. | | `answers.options` | object[] | | 2 to 4 buttons, in order | | `answers.options.[]label` | string | | At most 40 characters | | `answers.options.[]asks` | string | | Optional: this button also asks for a date or a short text One of: `date`, `text`. | | `answers.options.[]asks_label` | string | | The words over the date or text box | | `answers.options.[]after_text` | string | | Shown after the answer is saved | | `answers.answer_by` | string | | Optional deadline (ISO 8601 with offset); the buttons close after it and the sender gets a summary | | `answers.reminder_hours` | integer[] | | Up to 2 automatic reminders to people who did not answer: hours before answer_by (2, 6, 12, 24, 48), or after the send without answer_by (6, 12, 24, 48, 72). Each reminder counts in the quota | | `answers.allow_note` | boolean | | People can add a one-line note | | `answers.buttons_after` | integer | | Put the buttons after block N of the text (1 = after the first paragraph); empty = after the text | | `delivery` | object | | Missed people | | `delivery.alert` | boolean | | One hour after the send, email the people not reached to alert_to (default true) | | `delivery.backup` | boolean | | Try another channel: no app -> email, no email -> push, email bounced -> push (default false) | | `delivery.alert_to` | object | | Who gets the not reached list: staff of this account (list_team ids) and/or typed emails, 1 to 10 people. Left out: a new draft gets the people of the last broadcast (else you); a draft keeps its people | | `delivery.alert_to.staff_ids` | integer[] | | | | `delivery.alert_to.emails` | string[] | | | | `communication_channel` | string | | One of: `email`, `push_notification`, `push_or_email`, `push_and_email`. | | `translation_texts` | object | | | | `translation_texts.title` | string | | | | `translation_texts.body` | string | | HTML (

, , ), or plain text: a blank line starts a new paragraph | ## Responses - `200`: OK # Copy any broadcast to a new draft: texts, channel, audience, image, button, answers. Sends nothing (/docs/api/broadcasts/DuplicateBroadcast) `POST https://www.blackbell.com/api/i/broadcasts/{id}/duplicate` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Responses - `200`: OK # Change a draft broadcast's title, body, locale, channel, answers or delivery. Keys left out stay. Sends nothing (/docs/api/broadcasts/EditBroadcastDraft) `PUT https://www.blackbell.com/api/i/broadcasts/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `title` | string | | The title (also the email subject and the push title) | | `body` | string | | The whole message as HTML; it replaces the old text | | `locale` | string | | Language of title and body, for example en or fr | | `communication_channel` | string | | One of: `email`, `push_notification`, `push_or_email`, `push_and_email`. | | `answers` | object | | Ask for an answer. People answer with 2 to 4 buttons in the app and the email | | `answers.enabled` | boolean | | Default true; false stops asking | | `answers.preset` | string | | Quick pick: access_visit (I will be present / Use management keys), yes_no, attend (I'll attend / I can't attend). Alone it fills the buttons; custom = your options One of: `access_visit`, `yes_no`, `attend`, `custom`. | | `answers.options` | object[] | | 2 to 4 buttons, in order | | `answers.options.[]label` | string | | At most 40 characters | | `answers.options.[]asks` | string | | Optional: this button also asks for a date or a short text One of: `date`, `text`. | | `answers.options.[]asks_label` | string | | The words over the date or text box | | `answers.options.[]after_text` | string | | Shown after the answer is saved | | `answers.answer_by` | string | | Optional deadline (ISO 8601 with offset); the buttons close after it and the sender gets a summary | | `answers.reminder_hours` | integer[] | | Up to 2 automatic reminders to people who did not answer: hours before answer_by (2, 6, 12, 24, 48), or after the send without answer_by (6, 12, 24, 48, 72). Each reminder counts in the quota | | `answers.allow_note` | boolean | | People can add a one-line note | | `answers.buttons_after` | integer | | Put the buttons after block N of the text (1 = after the first paragraph); empty = after the text | | `delivery` | object | | Missed people | | `delivery.alert` | boolean | | One hour after the send, email the people not reached to alert_to (default true) | | `delivery.backup` | boolean | | Try another channel: no app -> email, no email -> push, email bounced -> push (default false) | | `delivery.alert_to` | object | | Who gets the not reached list: staff of this account (list_team ids) and/or typed emails, 1 to 10 people. Left out: a new draft gets the people of the last broadcast (else you); a draft keeps its people | | `delivery.alert_to.staff_ids` | integer[] | | | | `delivery.alert_to.emails` | string[] | | | ## Responses - `200`: OK # One broadcast: state, audience with names and audience_count (now), answers, delivery settings, receipts and cms_url (/docs/api/broadcasts/GetBroadcast) `GET https://www.blackbell.com/api/i/broadcasts/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | ## Responses - `200`: OK # Answers of a broadcast: counts per button and No answer, reminders, one row per person (first 500), answers_url (/docs/api/broadcasts/GetBroadcastAnswers) `GET https://www.blackbell.com/api/i/broadcasts/{id}/answers` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | ## Responses - `200`: OK # Proof of delivery in people: sent, delivered, bounced, read, clicked, answered, not reached; history; rows; delivery_url (/docs/api/broadcasts/GetBroadcastDelivery) `GET https://www.blackbell.com/api/i/broadcasts/{id}/delivery` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | ## Responses - `200`: OK # Broadcasts, newest first: id, state, channel, title per language, asks_answer, created_at, sent_at (/docs/api/broadcasts/ListBroadcasts) `GET https://www.blackbell.com/api/i/broadcasts` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `since` | query | | Only broadcasts made on or after this date (2026-11-01) | | `page` | query | | From 1 | | `per_page` | query | | Up to 100, default 20 | ## Responses - `200`: OK # The email, iPhone push and app views of a broadcast, with screenshots. Status running: call again in 20 s (/docs/api/broadcasts/PreviewBroadcast) `GET https://www.blackbell.com/api/i/broadcasts/{id}/preview` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `locale` | query | | Language to show, default the account language | ## Responses - `200`: OK # Send the broadcast again to the people who did not answer (or only visitor_ids), after the person said yes. It is a send: it counts in the quota (/docs/api/broadcasts/RemindBroadcastAnswers) `POST https://www.blackbell.com/api/i/broadcasts/{id}/answers/remind` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `visitor_ids` | integer[] | | Optional: only these people (they must not have answered) | ## Responses - `200`: OK # Send a draft broadcast (list, labels or everyone audience) after the person said yes. Once only, quota checked. (/docs/api/broadcasts/SendBroadcast) `POST https://www.blackbell.com/api/i/broadcasts/{id}/send` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `everyone` | boolean | | Required (true) when the audience is everyone | ## Responses - `200`: OK # Send the broadcast to yourself only (your email and/or app, by its channel). No customer gets it (/docs/api/broadcasts/SendTestBroadcast) `POST https://www.blackbell.com/api/i/broadcasts/{id}/test` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Responses - `200`: OK # Replace a draft broadcast's audience (sends nothing): visitor_ids, or labels_id_in and/or labels_id_not_in, or everyone: true. Answers the new audience and its count (/docs/api/broadcasts/SetBroadcastAudience) `PUT https://www.blackbell.com/api/i/broadcasts/{id}/audience` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `visitor_ids` | integer[] | | These customers only (use alone) | | `labels_id_in` | integer[] | | Customers with all of these labels | | `labels_id_in_any` | integer[] | | Customers with at least one of these labels, for example several buildings (not with labels_id_in) | | `labels_id_not_in` | integer[] | | Leave out customers with any of these labels | | `groups_in` | integer[] | | Customer groups (list_customer_groups); a group = its labels. With labels too, both must match | | `groups_mode` | string | | any (default): one group is enough; all: in every group One of: `any`, `all`. | | `groups_not_in` | integer[] | | Leave out people in any of these groups | | `everyone` | boolean | | Every customer of the account (with labels_id_not_in or groups_not_in to leave people out) | | `status` | string | | Optional: only people moving out soon, or only approved people One of: `moving_out_soon`, `approved_only`. | ## Responses - `200`: OK # Set or remove a draft's header image and button. Keys left out stay. Sends nothing (/docs/api/broadcasts/SetBroadcastLook) `PUT https://www.blackbell.com/api/i/broadcasts/{id}/look` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `image_url` | string | | https or data:image URL; replaces the header image | | `remove_image` | boolean | | | | `button` | object | | Replaces the button: label and one of url, page_id, form_id | | `button.label` | string | | | | `button.url` | string | | | | `button.page_id` | integer | | | | `button.form_id` | integer | | | | `button.color` | string | | Optional, like #1a73e8 | | `remove_button` | boolean | | | ## Responses - `200`: OK # Change a draft's answers (ask for an answer) and/or delivery (missed people). Keys left out keep their value; answers: { enabled: false } stops asking. Sends nothing (/docs/api/broadcasts/SetBroadcastSettings) `PUT https://www.blackbell.com/api/i/broadcasts/{id}/settings` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Broadcast id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `answers` | object | | Ask for an answer. People answer with 2 to 4 buttons in the app and the email | | `answers.enabled` | boolean | | Default true; false stops asking | | `answers.preset` | string | | Quick pick: access_visit (I will be present / Use management keys), yes_no, attend (I'll attend / I can't attend). Alone it fills the buttons; custom = your options One of: `access_visit`, `yes_no`, `attend`, `custom`. | | `answers.options` | object[] | | 2 to 4 buttons, in order | | `answers.options.[]label` | string | | At most 40 characters | | `answers.options.[]asks` | string | | Optional: this button also asks for a date or a short text One of: `date`, `text`. | | `answers.options.[]asks_label` | string | | The words over the date or text box | | `answers.options.[]after_text` | string | | Shown after the answer is saved | | `answers.answer_by` | string | | Optional deadline (ISO 8601 with offset); the buttons close after it and the sender gets a summary | | `answers.reminder_hours` | integer[] | | Up to 2 automatic reminders to people who did not answer: hours before answer_by (2, 6, 12, 24, 48), or after the send without answer_by (6, 12, 24, 48, 72). Each reminder counts in the quota | | `answers.allow_note` | boolean | | People can add a one-line note | | `answers.buttons_after` | integer | | Put the buttons after block N of the text (1 = after the first paragraph); empty = after the text | | `delivery` | object | | Missed people | | `delivery.alert` | boolean | | One hour after the send, email the people not reached to alert_to (default true) | | `delivery.backup` | boolean | | Try another channel: no app -> email, no email -> push, email bounced -> push (default false) | | `delivery.alert_to` | object | | Who gets the not reached list: staff of this account (list_team ids) and/or typed emails, 1 to 10 people. Left out: a new draft gets the people of the last broadcast (else you); a draft keeps its people | | `delivery.alert_to.staff_ids` | integer[] | | | | `delivery.alert_to.emails` | string[] | | | ## Responses - `200`: OK # Every event in from..to (orders and manual events) with calendar, customer, status and labels. changed_since gives changes only (/docs/api/calendar_events/ListAgendaEvents) `GET https://www.blackbell.com/api/i/calendar_events/schedule` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `from` | query | yes | ISO 8601, e.g. 2026-11-01T00:00:00Z | | `to` | query | yes | ISO 8601, after from | | `label_id` | query | | Only events with this label | | `changed_since` | query | | server_time of an earlier answer (at most 7 days old) | ## Responses - `200`: OK # Make a new calendar (a person, room or class that takes bookings), with weekly hours (left out: the CMS default hours) (/docs/api/calendars/CreateCalendar) `POST https://www.blackbell.com/api/i/calendars` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | The name customers see when they pick a time | | `description` | string | | | | `kind` | string | | hourly (default) = time slots, daily, overnight, event = fixed sessions One of: `hourly`, `daily`, `overnight`, `event`. | | `color` | string | | e.g. #4a90e2 | | `hours` | object[] | | | | `hours.[]week_day` | string | | One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. | | `hours.[]starts_at` | string | | HH:MM | | `hours.[]ends_at` | string | | HH:MM | ## Responses - `200`: OK # Every calendar: kind, the forms that book it, weekly hours, special dates from today (closed or other hours), booking limits and fair booking (/docs/api/calendars/ListCalendars) `GET https://www.blackbell.com/api/i/calendars` Send the API key in the `Api-Key` header. ## Responses - `200`: OK # Upcoming slots of a calendar with people waiting; with starts_at, who waits for that slot, first come first (/docs/api/calendars/ListWaitingList) `GET https://www.blackbell.com/api/i/calendars/{id}/waiting_list` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Calendar id | | `starts_at` | query | | ISO 8601 start of one slot | ## Responses - `200`: OK # Close a calendar on one date, give it other hours, or go back to weekly hours. Bookings stay and nobody is told (/docs/api/calendars/SetCalendarDate) `PUT https://www.blackbell.com/api/i/calendars/{id}/dates` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Calendar id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `date` | string | | YYYY-MM-DD | | `closed` | boolean | | | | `hours` | object[] | | | | `hours.[]starts_at` | string | | HH:MM | | `hours.[]ends_at` | string | | HH:MM | ## Responses - `200`: OK # Set the weekly open hours of a calendar, for the whole week (a day not listed is closed). Forms only offer slots inside them. Times in the account time zone (/docs/api/calendars/SetCalendarHours) `PUT https://www.blackbell.com/api/i/calendars/{id}/hours` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Calendar id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `hours` | object[] | | | | `hours.[]week_day` | string | | One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. | | `hours.[]starts_at` | string | | HH:MM | | `hours.[]ends_at` | string | | HH:MM | ## Responses - `200`: OK # Booking limits of a calendar, all at once (a limit not sent is removed): max bookings per slot, max per customer and max overall per day, week or month (/docs/api/calendars/SetCalendarLimits) `PUT https://www.blackbell.com/api/i/calendars/{id}/limits` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Calendar id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `per_slot` | integer | | | | `per_customer` | object | | | | `per_customer.size` | string | | One of: `day`, `week`, `month`. | | `per_customer.value` | integer | | | | `overall` | object | | | | `overall.size` | string | | One of: `day`, `week`, `month`. | | `overall.value` | integer | | | ## Responses - `200`: OK # Set fair booking rules of a calendar: max upcoming bookings, peak times, confirm or release, waiting list. Keys left out stay (/docs/api/calendars/SetFairBooking) `PUT https://www.blackbell.com/api/i/calendars/{id}/fair_booking` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Calendar id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `max_upcoming` | integer | | Per customer; null = no limit | | `peak_max_upcoming` | integer | | Per customer in peak times | | `peak_windows` | object[] | | Peak times: days (0 = Sunday) or a date (YYYY-MM-DD), from and to (HH:MM, same day) | | `peak_windows.[]days` | integer[] | | | | `peak_windows.[]date` | string | | | | `peak_windows.[]from` | string | | | | `peak_windows.[]to` | string | | | | `confirm_enabled` | boolean | | | | `confirm_notify_at` | string | | HH:MM: ask to confirm | | `confirm_by` | string | | HH:MM: not confirmed = released | | `confirm_days_before` | integer | | 0 = same day, 1 = day before | | `waiting_list_enabled` | boolean | | | ## Responses - `200`: OK # Rename a calendar, or change its description or color. Fields not sent keep their value (/docs/api/calendars/UpdateCalendar) `PUT https://www.blackbell.com/api/i/calendars/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Calendar id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | | | `description` | string | | | | `color` | string | | | ## Responses - `200`: OK # Make a secret webhook link for a connected app with no automatic webhook. Answers webhook_url once; a new call replaces it (/docs/api/connected_apps/AddAppWebhook) `POST https://www.blackbell.com/api/i/connected_apps/{id}/webhook` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Connected app id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `signing_secret` | string | | Optional. The signing secret the app shows for its webhooks. With it, Blackbell refuses posts that the app did not sign. | ## Responses - `200`: OK # Connect an app by its MCP server URL. Answers login_url for the person (15 minutes) (/docs/api/connected_apps/ConnectApp) `POST https://www.blackbell.com/api/i/connected_apps` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | A short name: lower-case letters, digits, - or _ ("notion") | | `title` | string | | The name people see ("Notion") | | `url` | string | | The app's MCP server URL, https only (for example https://mcp.notion.com/mcp) | | `allowed_tools` | string[] | | Optional. Only these tools of the app may be used. Empty: all its tools. | | `token` | string | | Only for an app with no sign-in page: its access token. Ask the person to paste it; never invent one. | | `client_id` | string | | Only when the app asks you to make an OAuth client by hand | | `client_secret` | string | | With client_id, when the app gives one | ## Responses - `200`: OK # Disconnect an app: Blackbell forgets its tokens at once, and rules stop using it (/docs/api/connected_apps/DisconnectApp) `DELETE https://www.blackbell.com/api/i/connected_apps/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Connected app id | ## Responses - `200`: OK # The apps this account connected (Slack, Notion, Calendly, any app with an MCP server), each with its status and its card. Never shows a token. (/docs/api/connected_apps/ListConnectedApps) `GET https://www.blackbell.com/api/i/connected_apps` Send the API key in the `Api-Key` header. ## Responses - `200`: OK # Remove the app's webhook: its link stops working and rules on its events stop starting (/docs/api/connected_apps/RemoveAppWebhook) `DELETE https://www.blackbell.com/api/i/connected_apps/{id}/webhook` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Connected app id | ## Responses - `200`: OK # Look again for the app's own webhook tool and subscribe automatically. Blackbell does this by itself after a sign-in; use it after the app added webhook support. (/docs/api/connected_apps/SubscribeApp) `POST https://www.blackbell.com/api/i/connected_apps/{id}/subscribe` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Connected app id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Responses - `200`: OK # One chat with its last 100 messages, oldest first (from: customer, staff or system) (/docs/api/conversations/GetConversation) `GET https://www.blackbell.com/api/i/conversations/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Conversation id | ## Responses - `200`: OK # Chats with customers (order chats and direct chats), newest first: status, the order it is about, the customer, the last message (/docs/api/conversations/ListConversations) `GET https://www.blackbell.com/api/i/conversations` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `status` | query | | placed = new | | `page` | query | | From 1 | | `per` | query | | Up to 50, default 20 | ## Responses - `200`: OK # Send a message in a chat as staff. The customer gets a push and an email. Show the person the text and wait for a yes first (/docs/api/conversations/ReplyToConversation) `POST https://www.blackbell.com/api/i/conversations/{id}/messages` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Conversation id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `body` | string | | The message text | ## Responses - `200`: OK # Create a coupon: one code or bulk_count random codes; percentage or fixed; no form_ids = every form (/docs/api/coupons/CreateCoupon) `POST https://www.blackbell.com/api/i/coupons` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | Internal name, unique | | `code` | string | | | | `bulk_count` | integer | | | | `bulk_prefix` | string | | | | `discount_type` | string | | One of: `fixed`, `percentage`. | | `discount_amount` | number | | | | `max_uses` | integer | | | | `max_uses_per_customer` | integer | | | | `expires_on` | string | | YYYY-MM-DD, last day it works | | `form_ids` | integer[] | | | ## Responses - `200`: OK # Coupons: codes, discount, uses and limits, expiry, forms, active (/docs/api/coupons/ListCoupons) `GET https://www.blackbell.com/api/i/coupons` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `state` | query | | | ## Responses - `200`: OK # Change a coupon: name, limits, expiry, forms. end_now: true stops it today (coupons are never deleted, so past discounts stay). The discount itself cannot change: make a new coupon (/docs/api/coupons/UpdateCoupon) `PUT https://www.blackbell.com/api/i/coupons/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Coupon id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | | | `max_uses` | integer | | | | `max_uses_per_customer` | integer | | | | `expires_on` | string | | YYYY-MM-DD | | `form_ids` | integer[] | | | | `end_now` | boolean | | | ## Responses - `200`: OK # The account's custom field groups and fields with their ids and options (for SetCustomerFields) (/docs/api/crm_group_definitions/ListCustomFields) `GET https://www.blackbell.com/api/i/crm_group_definitions` Send the API key in the `Api-Key` header. ## Responses - `200`: OK # Create a customer group: a saved rule on labels and custom fields. Answers the rule in words and the people count (/docs/api/customer_groups/CreateCustomerGroup) `POST https://www.blackbell.com/api/i/customer_groups` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | Up to 80 characters, unique | | `description` | string | | | | `labels_in_any` | integer[] | | Has one of these labels | | `labels_in_all` | integer[] | | Also has every one of these labels | | `labels_not_in` | integer[] | | Has none of these labels | | `fields` | object[] | | Dropdown custom fields (list_custom_fields) | | `fields.[]field_id` | integer | | | | `fields.[]op` | string | | One of: `is`, `is_not`. | | `fields.[]value_ids` | integer[] | | | | `status` | string | | Optional: only people moving out soon, or only approved people One of: `moving_out_soon`, `approved_only`. | ## Responses - `200`: OK # Delete a customer group. Refused while a page, form, version or unsent broadcast uses it (used_by) (/docs/api/customer_groups/DeleteCustomerGroup) `DELETE https://www.blackbell.com/api/i/customer_groups/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Group id | ## Responses - `200`: OK # The account's customer groups (saved label rules) with the rule in words and the people count (/docs/api/customer_groups/ListCustomerGroups) `GET https://www.blackbell.com/api/i/customer_groups` Send the API key in the `Api-Key` header. ## Responses - `200`: OK # Change a customer group; a rule key given replaces the whole rule. Pages, forms and broadcasts that use it change at once (/docs/api/customer_groups/UpdateCustomerGroup) `PUT https://www.blackbell.com/api/i/customer_groups/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Group id | | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `name` | string | | Up to 80 characters, unique | | `description` | string | | | | `labels_in_any` | integer[] | | Has one of these labels | | `labels_in_all` | integer[] | | Also has every one of these labels | | `labels_not_in` | integer[] | | Has none of these labels | | `fields` | object[] | | Dropdown custom fields (list_custom_fields) | | `fields.[]field_id` | integer | | | | `fields.[]op` | string | | One of: `is`, `is_not`. | | `fields.[]value_ids` | integer[] | | | | `status` | string | | Optional: only people moving out soon, or only approved people One of: `moving_out_soon`, `approved_only`. | ## Responses - `200`: OK # Add a to-do to the For you block of customers' app: one customer, visitor_ids, or every customer with label_id (/docs/api/customer_todos/AddCustomerTodo) `POST https://www.blackbell.com/api/i/customer_todos` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `Idempotency-Key` | header | | Any string up to 255 characters. A retry with the same key gets the first answer back (24 hours). | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `text` | string | | Up to 300 characters | | `button` | object | | Optional: kind page (id), form (id) or url (https link), and label | | `button.kind` | string | | One of: `page`, `form`, `url`. | | `button.id` | integer | | | | `button.url` | string | | | | `button.label` | string | | | | `due_at` | string | | | | `visitor_ids` | integer[] | | | | `label_id` | integer | | | ## Responses - `200`: OK # Customer to-dos, newest first: open ones by default (open=false for done ones), for one customer with visitor_id (/docs/api/customer_todos/ListCustomerTodos) `GET https://www.blackbell.com/api/i/customer_todos` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `visitor_id` | query | | | | `open` | query | | | ## Responses - `200`: OK # Add a block to the session copy: a library block (template_id) or a copy of any block. Answers the blocks in order and preview_url (/docs/api/edit_sessions/AddBlock) `POST https://www.blackbell.com/api/i/edit_sessions/{id}/blocks` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `template_id` | string | | Library block id, or a template name from get_block | | `copy_from_block_id` | integer | | Block to copy (get_page of any page, or of copy_page_id) | | `position` | integer | | From 1 | | `parent_block_id` | integer | | A block in the session's copy: add the new block as one of its list items | | `locale` | string | | Language code (default: the account's main language) | ## Responses - `200`: OK # The check of an edit session: problems that block go live, warnings, quality score with to_fix, and screenshots at 390 and 1440 px (/docs/api/edit_sessions/CheckEditSession) `GET https://www.blackbell.com/api/i/edit_sessions/{id}/check` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id | | `render` | query | | Default true; false skips the render | | `fix` | query | | true: first make the safe fixes in the session (resized images, late loading below the first screen, alt texts from the nearest heading), listed in fixed. They never change the design or the texts | ## Responses - `200`: OK # Drop an edit session or a hidden version and its copy (also a version shown to groups: its people see the public page again; ask the person first). The live page stays as it is (/docs/api/edit_sessions/DiscardEditSession) `DELETE https://www.blackbell.com/api/i/edit_sessions/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id | ## Responses - `200`: OK # Copy a version as a new hidden version " (copy)" with no group. At most 10 versions a page (/docs/api/edit_sessions/DuplicateHiddenVersion) `POST https://www.blackbell.com/api/i/edit_sessions/{id}/duplicate` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id (list_hidden_versions) | ## Responses - `200`: OK # Make a phrase bold, italic, underlined, coloured or a link in one text of the session copy (/docs/api/edit_sessions/FormatText) `PUT https://www.blackbell.com/api/i/edit_sessions/{id}/blocks/{block_id}/format` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id | | `block_id` | path | yes | Block id in the session's copy (get_page copy_page_id) | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `key` | string | | | | `phrase` | string | | Exact words, as in the text | | `occurrence` | integer | | From 1; all when left out | | `bold` | boolean | | | | `italic` | boolean | | | | `underline` | boolean | | | | `color` | string | | #rrggbb, rgb(...) or a colour name | | `link` | string | | /page/, /service/?wizard=true, https://..., mailto: or tel: | | `locale` | string | | Language code (default: the account's main language) | ## Responses - `200`: OK # An edit session: status, copy_page_id, preview_url, live_url and its steps with changes before and after (/docs/api/edit_sessions/GetEditSession) `GET https://www.blackbell.com/api/i/edit_sessions/{id}` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id | ## Responses - `200`: OK # Every text of the session copy in locale from, next to its text in locale to (null when missing) (/docs/api/edit_sessions/GetPageTexts) `GET https://www.blackbell.com/api/i/edit_sessions/{id}/texts` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id | | `from` | query | | Default: the account's main language | | `to` | query | yes | Language to translate to, for example fr | ## Responses - `200`: OK # Put an edit session live after the person's yes. Refused (409) while the check finds a blocker or the live page changed. Answers live_urls with status (/docs/api/edit_sessions/GoLiveEditSession) `POST https://www.blackbell.com/api/i/edit_sessions/{id}/go_live` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `force` | boolean | | true only after the person saw that the live page changed meanwhile and still wants this | | `publish` | boolean | | true opens a draft page to visitors | | `add_to_menu` | boolean | | true puts the page in the site menu | | `menu_id` | integer | | Menu entry to add the page to (list_menu) | | `menu_name` | string | | Name of a new menu entry (default: the page title) | ## Responses - `200`: OK # Replace the whole code of a free page (every language) in its edit session. For a big redesign only (/docs/api/edit_sessions/ImportFreePage) `POST https://www.blackbell.com/api/i/edit_sessions/{id}/free_page` Send the API key in the `Api-Key` header. ## Parameters | Name | In | Required | Notes | |---|---|---|---| | `id` | path | yes | Edit session id | ## Body (JSON) | Field | Type | Required | Notes | |---|---|---|---| | `html` | string | | The whole page: one HTML document with its