API reference

Pages

A page is a page of your Sublaunch at its own address, sublaunch.com/<sublaunch>/p/<slug>, written in the app's page builder. A Sublaunch has 100 pages at most.

The API lists them with their stats, creates blank ones and publishes them. Their words and layout are written in the app.

A page online, or going online or offline, changes in the Sublaunch's draft, as in the app, until you publish the draft. A page never online changes at once, and deleting a page is at once.

The page object

A page of your Sublaunch at its own address, with its stats.

Attributes

  • idstring
    Unique identifier for the page.
  • objectstring
    Always page.
  • namestring
    Its name in the app.
  • slugstring
    Its part of the address after /p/, in lowercase letters, digits and dashes.
  • statusstring
    Whether it is online, as written in the draft.
    draftpublished
  • urlstring or null
    Its address online, the Sublaunch's link then /p/ and its slug. Visitors see it once it is published.
  • in_draftboolean
    True when a change of the page waits in the Sublaunch's draft, going online or offline included. Visitors see it once you publish the draft.
  • seoobject
    What search engines and shared links show.
  • statsobject
    What it brought.
  • textstring
    Its words, 4 000 characters at most. On one page's endpoints only, not in List pages.
  • created_atstring or null
    When it was created, ISO 8601.
  • updated_atstring or null
    When it last changed, ISO 8601.
  • published_atstring or null
    When it was published, ISO 8601. Null for a page never published.
Page object
{
  "id": "Pg4mX9kQ2T",
  "object": "page",
  "name": "Free trading guide",
  "slug": "free-trading-guide",
  "status": "published",
  "url": "https://sublaunch.com/alphadesk/p/free-trading-guide",
  "in_draft": false,
  "seo": {
    "title": "The free trading guide",
    "description": "Five setups I trade every week, free in your inbox."
  },
  "stats": {
    "views": 2055,
    "leads": 325,
    "clicks": 593
  },
  "created_at": "2026-03-12T10:04:22.000Z",
  "updated_at": "2026-11-16T08:11:05.000Z",
  "published_at": "2026-09-02T18:41:07.000Z",
  "text": "The free trading guide\n\nFive setups I trade every week, with the exact entries and exits."
}

List pages

GET/v1/pagesread scopeMCPlist_pages

Returns every page of the Sublaunch, the last changed first, drafts too, with their visits, leads and clicks. The list comes whole.

Returns

A list of page objects, without their text.

GET/v1/pages
curl https://api.sublaunch.com/v1/pages \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "object": "list",
  "data": [
    {
      "id": "Pg4mX9kQ2T",
      "object": "page",
      "name": "Free trading guide",
      "slug": "free-trading-guide",
      "status": "published",
      "url": "https://sublaunch.com/alphadesk/p/free-trading-guide",
      "in_draft": false,
      "seo": {
        "title": "The free trading guide",
        "description": "Five setups I trade every week, free in your inbox."
      },
      "stats": {
        "views": 2055,
        "leads": 325,
        "clicks": 593
      },
      "created_at": "2026-03-12T10:04:22.000Z",
      "updated_at": "2026-11-16T08:11:05.000Z",
      "published_at": "2026-09-02T18:41:07.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

Retrieve a page

GET/v1/pages/:pageread scopeMCPget_page

Returns one page by its ID or its slug, with its words and stats.

Path parameters

  • pagestringRequired
    The page's ID, as List pages returns it, or its slug.

Returns

A page object.

Errors

GET/v1/pages/:page
curl https://api.sublaunch.com/v1/pages/free-trading-guide \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "id": "Pg4mX9kQ2T",
  "object": "page",
  "name": "Free trading guide",
  "slug": "free-trading-guide",
  "status": "published",
  "url": "https://sublaunch.com/alphadesk/p/free-trading-guide",
  "in_draft": false,
  "seo": {
    "title": "The free trading guide",
    "description": "Five setups I trade every week, free in your inbox."
  },
  "stats": {
    "views": 2055,
    "leads": 325,
    "clicks": 593
  },
  "created_at": "2026-03-12T10:04:22.000Z",
  "updated_at": "2026-11-16T08:11:05.000Z",
  "published_at": "2026-09-02T18:41:07.000Z",
  "text": "The free trading guide\n\nFive setups I trade every week, with the exact entries and exits."
}

Create a page

POST/v1/pageswrite scopeMCPcreate_page

Creates a blank page, a draft, for you to write in the app's page builder. Publish a page puts it online in the Sublaunch's draft.

Body parameters

  • namestringRequired
    Its name in the app, 80 characters at most.
  • slugstring
    Its address after /p/, in lowercase letters, digits and dashes. Made from the name when left out, with -2 added when another page has it.
  • seoobject
    What search engines and shared links show.

Returns

The new page object.

Errors

POST/v1/pages
curl -X POST https://api.sublaunch.com/v1/pages \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Live session replay"
  }'
Response201
{
  "id": "Pg8rK3mX5N",
  "object": "page",
  "name": "Live session replay",
  "slug": "live-session-replay",
  "status": "draft",
  "url": "https://sublaunch.com/alphadesk/p/live-session-replay",
  "in_draft": false,
  "seo": {
    "title": null,
    "description": null
  },
  "stats": {
    "views": 0,
    "leads": 0,
    "clicks": 0
  },
  "text": "",
  "created_at": "2026-11-17T09:30:00.000Z",
  "updated_at": "2026-11-17T09:30:00.000Z",
  "published_at": null
}

Update a page

PATCH/v1/pages/:page_idwrite scopeMCPupdate_page

Changes a page's name, slug or SEO. A published page's changes wait in the Sublaunch's draft, a page never online changes at once. Its words are written in the app's page builder.

Path parameters

  • page_idstringRequired
    The page's ID, as List pages returns it.

Body parameters

  • namestring
    Its name in the app, 80 characters at most.
  • slugstring
    Its address after /p/, in lowercase letters, digits and dashes. A published page moves to its new address once the draft is published.
  • seoobject
    What search engines and shared links show.

Returns

The page object.

Errors

PATCH/v1/pages/:page_id
curl -X PATCH https://api.sublaunch.com/v1/pages/Pg4mX9kQ2T \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Free trading guide 2026"
  }'
Response200
{
  "id": "Pg4mX9kQ2T",
  "object": "page",
  "name": "Free trading guide",
  "slug": "free-trading-guide",
  "status": "published",
  "url": "https://sublaunch.com/alphadesk/p/free-trading-guide",
  "in_draft": true,
  "seo": {
    "title": "The free trading guide",
    "description": "Five setups I trade every week, free in your inbox."
  },
  "stats": {
    "views": 2055,
    "leads": 325,
    "clicks": 593
  },
  "created_at": "2026-03-12T10:04:22.000Z",
  "updated_at": "2026-11-16T08:11:05.000Z",
  "published_at": "2026-09-02T18:41:07.000Z",
  "text": "The free trading guide\n\nFive setups I trade every week, with the exact entries and exits."
}

Publish a page

POST/v1/pages/:page_id/publishwrite scopeMCPpublish_page

Puts a page online in the Sublaunch's draft. Anyone with its link sees it once you publish the draft. A page online already stays as it is.

Path parameters

  • page_idstringRequired
    The page's ID, as List pages returns it.

Returns

The page object.

Errors

POST/v1/pages/:page_id/publish
curl -X POST \
  https://api.sublaunch.com/v1/pages/Pg4mX9kQ2T/publish \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "id": "Pg4mX9kQ2T",
  "object": "page",
  "name": "Free trading guide",
  "slug": "free-trading-guide",
  "status": "published",
  "url": "https://sublaunch.com/alphadesk/p/free-trading-guide",
  "in_draft": true,
  "seo": {
    "title": "The free trading guide",
    "description": "Five setups I trade every week, free in your inbox."
  },
  "stats": {
    "views": 2055,
    "leads": 325,
    "clicks": 593
  },
  "created_at": "2026-03-12T10:04:22.000Z",
  "updated_at": "2026-11-16T08:11:05.000Z",
  "published_at": "2026-09-02T18:41:07.000Z",
  "text": "The free trading guide\n\nFive setups I trade every week, with the exact entries and exits."
}

Unpublish a page

POST/v1/pages/:page_id/unpublishwrite scopeMCPunpublish_page

Takes a page offline in the Sublaunch's draft. Once you publish the draft, it is a draft again and its link opens the Sublaunch's About page instead. Its words and stats stay.

Path parameters

  • page_idstringRequired
    The page's ID, as List pages returns it.

Returns

The page object.

Errors

POST/v1/pages/:page_id/unpublish
curl -X POST \
  https://api.sublaunch.com/v1/pages/Pg4mX9kQ2T/unpublish \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "id": "Pg4mX9kQ2T",
  "object": "page",
  "name": "Free trading guide",
  "slug": "free-trading-guide",
  "status": "draft",
  "url": "https://sublaunch.com/alphadesk/p/free-trading-guide",
  "in_draft": true,
  "seo": {
    "title": "The free trading guide",
    "description": "Five setups I trade every week, free in your inbox."
  },
  "stats": {
    "views": 2055,
    "leads": 325,
    "clicks": 593
  },
  "created_at": "2026-03-12T10:04:22.000Z",
  "updated_at": "2026-11-16T08:11:05.000Z",
  "published_at": "2026-09-02T18:41:07.000Z",
  "text": "The free trading guide\n\nFive setups I trade every week, with the exact entries and exits."
}

Delete a page

DELETE/v1/pages/:page_idwrite scopeMCPdelete_page

Deletes a page for good and at once, with its stats, and its link stops working. The leads it brought stay in the Sublaunch.

Path parameters

  • page_idstringRequired
    The page's ID, as List pages returns it.

Returns

An object with the page's id and deleted set to true.

Errors

DELETE/v1/pages/:page_id
curl -X DELETE https://api.sublaunch.com/v1/pages/Pg4mX9kQ2T \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "id": "Pg4mX9kQ2T",
  "object": "page",
  "deleted": true
}