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

  • objectstring
    Always content.
  • documentstring
    The document, as you named it.
  • versionstring
    The document's version now. Give it to Edit content to be sure nobody changed it since you read it.
  • course_idstring
    A lesson's course.
  • lesson_idstring
    A lesson's ID.
  • namestring
    A lesson's name, its page's first title.
  • subjectstring or null
    An email's subject. It changes with Update a broadcast or Update an automatic email.
  • preview_textstring or null
    An email's preview line.
  • editableboolean
    Whether an email can change now. A broadcast sent or scheduled is only read.
  • whystring
    Why an email cannot change now.
  • piecesarray
    Its pieces, in their order.
  • kindsobject
    What this document takes.
Content object
{
  "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

GET/v1/content/:documentread scopeMCPread_content

Returns a document as an outline of pieces, with its version and the kinds it takes.

Path parameters

  • documentstringRequired
    The document. about is 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, and email:<template> an automatic email, as List automatic emails names it.

Query parameters

  • briefboolean
    true for a quick look, long words cut short. Everything as written by default.

Returns

A content object.

Errors

  • A parameter has a value the API does not accept. param names it.
  • No such page, lesson, broadcast or automatic email in the key's Sublaunch.
  • The Sublaunch has no About page yet. It is made in the app first.
  • An 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.
GET/v1/content/:document
curl https://api.sublaunch.com/v1/content/about \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "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

POST/v1/content/:document/editswrite scopeMCPedit_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

  • documentstringRequired
    The document. about is 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, and email:<template> an automatic email, as List automatic emails names it.

Body parameters

  • versionstring
    The version Read content gave. When the document changed since, nothing is changed and the call answers version_conflict. Optional.
  • editsarray of objectsRequired
    The changes, in order, each at a 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. param names 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 version you read. Read it again and redo the changes.
  • The broadcast is sent or scheduled, or was written in the former editor. why in Read content says which.
  • A team member's role does not edit this document.
  • No such page, lesson, broadcast or automatic email in the key's Sublaunch.
POST/v1/content/:document/edits
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"]
      }
    ]
  }'
Response200
{
  "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

POST/v1/sublaunch/reviewswrite scopeMCPedit_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 objects
    Reviews to add, 30 at most, each with the client's own words and rating.
  • updatearray of objects
    Reviews to change, 30 at most, each with its id and the fields to change.
  • removearray of strings
    The IDs of the reviews to remove.
  • members_can_reviewboolean
    Whether members can leave a review from the page.

Returns

The whole list of reviews, with members_can_review and drafted set to true.

Errors

POST/v1/sublaunch/reviews
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
  }'
Response200
{
  "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

  • creatorblock
    The Sublaunch's photo and name, set by Update the Sublaunch. Its look only, and none in an email.
  • mediablock
    Images and videos. medias up to 20, each { url, kind image or video, thumbnailUrl, fit fill or fit, clickUrl, clickInSameTab, autoplay }, format wide, square, circle, original or carousel, size small, medium, large or full, phoneWidth margins. autoplay true plays a video file muted on its own, a click for its sound. Images only in emails. video is the same block in a lesson.
  • buttonblock
    label, action checkout with a priceId, about, access, community, page with a pageId or link with an href, newTab, style outline, black, primary, secondary or gray, width and mobileWidth fit or full, pixelEvents { meta, tiktok } except in emails.
  • linkInBioblock
    A button shown as a link row. It takes the button's fields with subtitle, imageUrl or siteLogo, and linkColor.
  • socialsblock
    links up to 6, each { type, url } with type one of instagram, youtube, tiktok, x, linkedin, facebook, telegram, discord, messenger, snapchat, twitch, whatsapp, pinterest, website, email, then size and style light or dark.
  • dividerblock
    A line. No fields.
  • faqblock
    Not in emails. items up to 50, each { question, answer }, title, style expand or flat, hideTitle, hasText and text.
  • leadMagnetblock
    A form that collects emails. Not in emails. display form, popup or video with a videoUrl, look plain or framed, fields { name, phone, custom } each required, optional or off, fieldLabels, label, style, success message with a message or a button action, consent and consentLabel, title, text, footer.
  • timerblock
    A countdown. Not in emails. duration 15m, 1h, 24h, 3d, 7d or custom with an endAt date and timezone, size md, lg or xl, accent, end loop or stop.
  • bannerblock
    The band at the top of the window, one per page, never in a column. Not in emails. text, background primary, secondary, black or white, layout animated, centered or left, audience visitors (default), members or everyone, pages about (default) or all. Its creator always sees it where it shows; never on the creator's own pages.
  • calendarblock
    A booking calendar. Not in emails. url, accent, showDetails, title, text.
  • trustpilotblock
    The Sublaunch's Trustpilot rating, its TrustScore, stars and reviews read live from Trustpilot. Not in emails. url its Trustpilot page or its website, saved as https://www.trustpilot.com/review/<domain>, and display badge, stars or card. A card is never centered.
  • tableblock
    Not in emails. rows up to 40 of 8 cells, noHeaderRow, noHeaderColumn.
  • voiceblock
    A voice note. Not in emails. url, accent, withSpeed.
  • fileblock
    A file to download, in a page or a lesson. url, name, size in bytes, mimeType.
  • membersblock
    The Sublaunch's active members. Not in emails. No fields.
  • spotsblock
    The spots left, from the settings' limited spots. Not in emails. No fields.
  • reviewsblock
    The Sublaunch's reviews, on the About. display badge, card or grid, order newest or highest, title, text. The reviews themselves change with Edit reviews.
  • includedblock
    What members get, on the About. show access or courses, layout list or cards, hidden IDs, title, text.
  • detailsblock
    The About's summary row. hidden among privacy, members, spots, price, creator, one at least shown.
  • pricesblock
    The Sublaunch's prices, on the About. No fields, Tiers set them.
  • codeblock
    An automatic email's sign in code. Kept where it is, never inserted.
  • legacyblock
    A lesson's element from the former app. Read only, never inserted.
Blocks
{
  "type": "button",
  "content": {
    "label": "Join now",
    "action": "checkout",
    "priceId": "pR8sK2xLmQ",
    "style": "primary",
    "width": "full"
  }
}