API reference
Content
A document is what the app's editor writes. It is the About page, a page at /p/<slug>, a lesson's page, a broadcast's email or an automatic email. The API reads it as an outline of pieces and changes it piece by piece. Add a block, change a heading's words, set a button's link, move a section, remove a list. You send only what changes, many changes in one call.
Read the outline first. Each piece has its place at, its kind, and its words or its block's fields. Then send your changes, each at a place of that outline. They run in order, all or none. When one is refused, the document stays as it was and the error says which one and why.
The About and a page online change in the Sublaunch's draft, as in the app, until you publish the draft. A lesson changes in its course's draft. A page never online and an email change at once.
A team member's key reads every document and changes the ones their role edits. The About is in Settings, pages in Access, lessons in Classroom and emails in Broadcast.
The content object
A document as an outline. Its pieces come in their order, each with its place, its kind and its words or its block's fields.
Attributes
- objectstringAlways
content. - documentstringThe document, as you named it.
- versionstringThe document's version now. Give it to Edit content to be sure nobody changed it since you read it.
- course_idstringA lesson's course.
- lesson_idstringA lesson's ID.
- namestringA lesson's name, its page's first title.
- subjectstring or nullAn email's subject. It changes with Update a broadcast or Update an automatic email.
- preview_textstring or nullAn email's preview line.
- editablebooleanWhether an email can change now. A broadcast sent or scheduled is only read.
- whystringWhy an email cannot change now.
- piecesarrayIts pieces, in their order.
- kindsobjectWhat this document takes.
{
"object": "content",
"document": "about",
"version": "a92a19da7e73",
"pieces": [
{
"at": 0,
"kind": "creator",
"look": {
"style": "brackets",
"size": "md",
"shape": "round"
}
},
{
"at": 1,
"kind": "h1",
"text": "Swing trade crypto\nwith a <color2>PLAN</color2> you can write down"
},
{
"at": 2,
"kind": "media",
"content": {
"medias": [
{
"id": "hlMediaCourse",
"kind": "image",
"url": "https://upcdn.io/W142hYH/raw/uploads/2026/11/10/higherlow-course-cover-5nTh.png",
"fit": "fill"
}
]
}
},
{
"at": 3,
"kind": "paragraph",
"text": "No calls to copy **blindly** and no promises about returns."
},
{
"at": 4,
"kind": "h2",
"text": "What you get as a member"
},
{
"at": 5,
"kind": "list",
"items": [
"A **market plan every Sunday**",
"**Live trade alerts** in the members Telegram"
]
},
{
"at": 6,
"kind": "button",
"id": "hlJoinBtn1",
"content": {
"label": "Join Higher Low",
"width": "fit",
"action": "checkout",
"style": "primary"
}
},
{
"at": 7,
"kind": "faq",
"content": {
"items": [
{
"id": "hlFaqCancel",
"question": "Can I cancel anytime?",
"answer": "Yes, from your account."
}
],
"title": "FAQ",
"style": "flat"
}
},
{
"at": 8,
"kind": "h5",
"text": "By subscribing, you agree to the [seller's terms of sale](https://sublaunch.com/higherlow/terms).",
"locked": "Sublaunch's legal text and the line above it stay at the page's end, as written."
}
],
"kinds": {
"text": [
"paragraph",
"h1",
"h2",
"h3",
"h4",
"h5",
"quote",
"list",
"numbered_list",
"icon_list",
"facts",
"steps",
"toggle",
"columns"
],
"blocks": [
"creator",
"media",
"details",
"included",
"voice",
"socials",
"button",
"linkInBio",
"faq",
"reviews",
"trustpilot",
"calendar",
"table",
"prices",
"leadMagnet",
"members",
"spots",
"timer",
"divider",
"banner"
]
}
}Read content
Returns a document as an outline of pieces, with its version and the kinds it takes.
Path parameters
- documentstringRequiredThe document.
aboutis the About page,page:<page_id>a page at/p/<slug>,lesson:<course_id>:<lesson_id>a lesson's page,broadcast:<broadcast_id>a broadcast's email, andemail:<template>an automatic email, as List automatic emails names it.
Query parameters
- briefboolean
truefor a quick look, long words cut short. Everything as written by default.
Returns
Errors
- A parameter has a value the API does not accept.
paramnames it. - No such page, lesson, broadcast or automatic email in the key's Sublaunch.
- 409no_pageThe Sublaunch has no About page yet. It is made in the app first.
- 409not_v4An automatic email of a Sublaunch still on the former app.
- The lesson's course could not be read whole. Open it in the app once, then try again.
curl https://api.sublaunch.com/v1/content/about \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"object": "content",
"document": "about",
"version": "a92a19da7e73",
"pieces": [
{
"at": 0,
"kind": "creator",
"look": {
"style": "brackets",
"size": "md",
"shape": "round"
}
},
{
"at": 1,
"kind": "h1",
"text": "Swing trade crypto\nwith a <color2>PLAN</color2> you can write down"
},
{
"at": 2,
"kind": "media",
"content": {
"medias": [
{
"id": "hlMediaCourse",
"kind": "image",
"url": "https://upcdn.io/W142hYH/raw/uploads/2026/11/10/higherlow-course-cover-5nTh.png",
"fit": "fill"
}
]
}
},
{
"at": 3,
"kind": "paragraph",
"text": "No calls to copy **blindly** and no promises about returns."
},
{
"at": 4,
"kind": "h2",
"text": "What you get as a member"
},
{
"at": 5,
"kind": "list",
"items": [
"A **market plan every Sunday**",
"**Live trade alerts** in the members Telegram"
]
},
{
"at": 6,
"kind": "button",
"id": "hlJoinBtn1",
"content": {
"label": "Join Higher Low",
"width": "fit",
"action": "checkout",
"style": "primary"
}
},
{
"at": 7,
"kind": "faq",
"content": {
"items": [
{
"id": "hlFaqCancel",
"question": "Can I cancel anytime?",
"answer": "Yes, from your account."
}
],
"title": "FAQ",
"style": "flat"
}
},
{
"at": 8,
"kind": "h5",
"text": "By subscribing, you agree to the [seller's terms of sale](https://sublaunch.com/higherlow/terms).",
"locked": "Sublaunch's legal text and the line above it stay at the page's end, as written."
}
],
"kinds": {
"text": [
"paragraph",
"h1",
"h2",
"h3",
"h4",
"h5",
"quote",
"list",
"numbered_list",
"icon_list",
"facts",
"steps",
"toggle",
"columns"
],
"blocks": [
"creator",
"media",
"details",
"included",
"voice",
"socials",
"button",
"linkInBio",
"faq",
"reviews",
"trustpilot",
"calendar",
"table",
"prices",
"leadMagnet",
"members",
"spots",
"timer",
"divider",
"banner"
]
}
}Edit content
Changes a document piece by piece. Each change is an object with its op. insert adds pieces before or after a place, or at the start or end of the page, a toggle or a column. update changes a piece's words, items, block fields or options, or turns it into another kind with turn_into. style and replace change words. move, duplicate and remove act on pieces. A piece to insert is { type, text } for text, { type, items } for a list, { type: "toggle", text, pieces }, { type: "columns", columns: [[pieces], [pieces]] }, or { type: <block>, content } for a block. Up to 40 changes in one call. In an email, a variable is written {firstName} or {{firstName}}, with the words used when it is empty after |, like {firstName|there}. Nothing is ever sent from here, a broadcast goes with Send a broadcast.
Path parameters
- documentstringRequiredThe document.
aboutis the About page,page:<page_id>a page at/p/<slug>,lesson:<course_id>:<lesson_id>a lesson's page,broadcast:<broadcast_id>a broadcast's email, andemail:<template>an automatic email, as List automatic emails names it.
Body parameters
- versionstringThe
versionRead content gave. When the document changed since, nothing is changed and the call answersversion_conflict. Optional. - editsarray of objectsRequiredThe changes, in order, each
ata place of the outline you read before this call.
Returns
The new outline in brief, with done, what each change did, saved, draft or live, and a note.
Errors
- A required parameter is missing.
paramnames it. - A change was refused, or an email would hold what its editor never writes. The message says which one and why. Nothing was changed.
- The document changed since the
versionyou read. Read it again and redo the changes. - The broadcast is sent or scheduled, or was written in the former editor.
whyin Read content says which. - 403forbiddenA team member's role does not edit this document.
- No such page, lesson, broadcast or automatic email in the key's Sublaunch.
curl -X POST \
https://api.sublaunch.com/v1/content/about/edits \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": "a92a19da7e73",
"edits": [
{
"op": "update",
"at": 1,
"text": "Swing trade crypto\nwith a <color2>plan</color2> you can follow"
},
{
"op": "insert",
"after": 5,
"pieces": [
{
"type": "button",
"content": {
"label": "Join Higher Low",
"action": "checkout",
"style": "primary"
}
}
]
},
{
"op": "update",
"at": 7,
"content": {
"style": "expand"
}
},
{
"op": "move",
"at": 3,
"after": 5
},
{
"op": "style",
"kind": "h1",
"words": "plan",
"style": ["bold", "color2"]
}
]
}'{
"object": "content",
"document": "about",
"version": "0c51f2be93aa",
"pieces": [
{
"at": 0,
"kind": "creator",
"look": {
"style": "brackets",
"size": "md",
"shape": "round"
}
},
{
"at": 1,
"kind": "h1",
"text": "Swing trade crypto\nwith a **<color2>plan</color2>** you can follow"
},
{
"at": 2,
"kind": "media",
"content": {
"medias": [
{
"id": "hlMediaCourse",
"kind": "image",
"url": "https://upcdn.io/W142hYH/raw/uploads/2026/11/10/higherlow-course-cover-5nTh.png",
"fit": "fill"
}
]
}
},
{
"at": 3,
"kind": "h2",
"text": "What you get as a member"
}
],
"done": [
"changed the h1 at 1",
"added 1 piece",
"changed the faq at 7",
"moved 1 piece",
"styled once"
],
"saved": "draft",
"note": "Saved in the draft: members see it at publish_sublaunch."
}Edit reviews
Adds, changes or removes the Sublaunch's reviews, shown by every reviews block of the About, and sets whether members can leave one. Only real clients' words and ratings, 200 reviews at most. The change waits in the draft until you publish the draft.
Body parameters
- addarray of objectsReviews to add, 30 at most, each with the client's own words and rating.
- updatearray of objectsReviews to change, 30 at most, each with its
idand the fields to change. - removearray of stringsThe IDs of the reviews to remove.
- members_can_reviewbooleanWhether members can leave a review from the page.
Returns
The whole list of reviews, with members_can_review and drafted set to true.
Errors
- A parameter has a value the API does not accept.
paramnames it. - The body has a field this endpoint does not take.
- 403forbiddenA team member's role does not edit Settings.
curl -X POST https://api.sublaunch.com/v1/sublaunch/reviews \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"add": [
{
"author_name": "Lea",
"rating": 5,
"text": "Clear plans, and the risk is always said.",
"source": "telegram"
}
],
"members_can_review": true
}'{
"object": "list",
"members_can_review": true,
"data": [
{
"id": "rv7kQ2mX9p",
"author_name": "Lea",
"rating": 5,
"text": "Clear plans, and the risk is always said.",
"source": "telegram",
"date": "2026-11-30"
}
],
"drafted": true
}Blocks
A block's content holds its own fields. On insert, the fields you leave out take the editor's defaults. On update, send only the fields to change, null sets one back to its default. Each block says the documents it goes in when not all of them.
Attributes
- creatorblockThe Sublaunch's photo and name, set by Update the Sublaunch. Its
lookonly, and none in an email. - mediablockImages and videos.
mediasup to 20, each{ url, kind image or video, thumbnailUrl, fit fill or fit, clickUrl, clickInSameTab, autoplay },formatwide,square,circle,originalorcarousel,sizesmall,medium,largeorfull,phoneWidthmargins.autoplaytrue plays a video file muted on its own, a click for its sound. Images only in emails.videois the same block in a lesson. - buttonblock
label,actioncheckoutwith apriceId,about,access,community,pagewith apageIdorlinkwith anhref,newTab,styleoutline,black,primary,secondaryorgray,widthandmobileWidthfitorfull,pixelEvents{ meta, tiktok }except in emails. - linkInBioblockA button shown as a link row. It takes the button's fields with
subtitle,imageUrlorsiteLogo, andlinkColor. - socialsblock
linksup to 6, each{ type, url }withtypeone ofinstagram,youtube,tiktok,x,linkedin,facebook,telegram,discord,messenger,snapchat,twitch,whatsapp,pinterest,website,email, thensizeandstylelightordark. - dividerblockA line. No fields.
- faqblockNot in emails.
itemsup to 50, each{ question, answer },title,styleexpandorflat,hideTitle,hasTextandtext. - leadMagnetblockA form that collects emails. Not in emails.
displayform,popuporvideowith avideoUrl,lookplainorframed,fields{ name, phone, custom }eachrequired,optionaloroff,fieldLabels,label,style,successmessagewith amessageor a button action,consentandconsentLabel,title,text,footer. - timerblockA countdown. Not in emails.
duration15m,1h,24h,3d,7dorcustomwith anendAtdate andtimezone,sizemd,lgorxl,accent,endlooporstop. - bannerblockThe band at the top of the window, one per page, never in a column. Not in emails.
text,backgroundprimary,secondary,blackorwhite,layoutanimated,centeredorleft,audiencevisitors(default),membersoreveryone,pagesabout(default) orall. Its creator always sees it where it shows; never on the creator's own pages. - calendarblockA booking calendar. Not in emails.
url,accent,showDetails,title,text. - trustpilotblockThe Sublaunch's Trustpilot rating, its TrustScore, stars and reviews read live from Trustpilot. Not in emails.
urlits Trustpilot page or its website, saved ashttps://www.trustpilot.com/review/<domain>, anddisplaybadge,starsorcard. A card is never centered. - tableblockNot in emails.
rowsup to 40 of 8 cells,noHeaderRow,noHeaderColumn. - voiceblockA voice note. Not in emails.
url,accent,withSpeed. - fileblockA file to download, in a page or a lesson.
url,name,sizein bytes,mimeType. - membersblockThe Sublaunch's active members. Not in emails. No fields.
- spotsblockThe spots left, from the settings' limited spots. Not in emails. No fields.
- reviewsblockThe Sublaunch's reviews, on the About.
displaybadge,cardorgrid,ordernewestorhighest,title,text. The reviews themselves change with Edit reviews. - includedblockWhat members get, on the About.
showaccessorcourses,layoutlistorcards,hiddenIDs,title,text. - detailsblockThe About's summary row.
hiddenamongprivacy,members,spots,price,creator, one at least shown. - pricesblockThe Sublaunch's prices, on the About. No fields, Tiers set them.
- codeblockAn automatic email's sign in code. Kept where it is, never inserted.
- legacyblockA lesson's element from the former app. Read only, never inserted.
{
"type": "button",
"content": {
"label": "Join now",
"action": "checkout",
"priceId": "pR8sK2xLmQ",
"style": "primary",
"width": "full"
}
}