Guides
Choose the recipe for the task
Load when choosing the shortest call sequence for page edits, batches, uploads, bookings, customer imports, broadcasts or access rules.
Pages and translations
- For a named change, use
find_and_editwithfind(“Office closed”), then withchangesfrom the exact snippet. Usecheck_edit_sessionto show both screenshots withpreview_url. On yes, callgo_live_edit_session. - For a conversion review, use
list_pages,get_page_outline,start_edit_sessionandcheck_edit_session. Offer at most five changes in priority order. Wait for the person’s picks before oneedit_page, check withfix: true, preview and ask before go live. improve-page - For repairs, use
list_pages,start_edit_sessionandcheck_edit_sessionwithfix: true. Fix remaining issues in oneedit_pagewithout changing the design or meaning. Recheck the final copy, show repairs, screenshots and preview, then go live on yes. fix-page - For translations, send a free page’s texts in the same order with
add_page_language. For normal blocks, useget_page_texts, then oneedit_pagewithlocale. - Use one edit session per page. Put every change in it, then go live once. A new session per change costs calls and ends in 409
page_changedwhen another session went live first. - With
replace_code, send all changes of one block aspairsin one call (up to 50).
Batch calls, files and shared CSS
- Prepare each change. For many pages’ slugs, settings or go live, use one
run_manywith the tool name and arguments per call, when available. Otherwise call individually. Successful writes return short answers with omitted keys inleft_out. Requestfull: trueonly when needed. Go live once per approved session. Stop onalready_live. - For several files, batch
get_upload_linkin onerun_manywith one{}per file. Upload each viacurl -Tto its own link. Use eachupload_idwithimport_pageper new page, or batch translations in onerun_manyofadd_page_language.
Bookings, imports and messages
- For a new booking page, read
get_settings, create the calendar, set its hours withset_calendar_hours, create the form with 2–7 questions and link it withset_form_schedule. Preview availability. On yes useset_form_statuspublished. Follow the new-page recipe withdata-bb-open="form:<form id>"buttons. set-up-booking - To book for someone, match their email with
upsert_customer, then calllist_offers,list_free_slotsandhold_slot(15 minutes). On yes useconfirm_hold. Give the personpay_urlfor a paid form. - To import, dedupe and label, call
create_labelfor the requested name (reuses an existing label). Useimport_customerswith up to 1,000 rows keyed by email andlabel_idson each row. Report new and matched counts. import-customers - For a group broadcast, call
list_customer_groupsorlist_labels,draft_broadcastwithdraft: trueand the audience,preview_broadcast, thenget_broadcast. Show preview, audience in words and count. Only on yes callsend_broadcast. send-broadcast
Audience-specific pages and forms
- For different owner/tenant content at one link, use
start_edit_sessionwithnew: trueand aname(e.g. “Owners”). Readget_page_outlineoncopy_page_id. Useset_textorreplace_codewith the named session id and a block id from its copy. Show itspreview_url, screenshots fromcheck_edit_sessionand the group in words. After yes useset_version_audiencewith that session and group. Other visitors see the public page. - To restrict a page or form, use
list_labelsorlist_customer_groups. Explain who gets access and what others see. Wait for yes, then useset_page_accessorset_form_access. page-access-and-versions