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
- idstringUnique identifier for the page.
- objectstringAlways
page. - namestringIts name in the app.
- slugstringIts part of the address after
/p/, in lowercase letters, digits and dashes. - statusstringWhether it is online, as written in the draft.
draftpublished - urlstring or nullIts address online, the Sublaunch's link then
/p/and its slug. Visitors see it once it is published. - in_draftbooleanTrue 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.
- seoobjectWhat search engines and shared links show.
- statsobjectWhat it brought.
- textstringIts words, 4 000 characters at most. On one page's endpoints only, not in List pages.
- created_atstring or nullWhen it was created, ISO 8601.
- updated_atstring or nullWhen it last changed, ISO 8601.
- published_atstring or nullWhen it was published, ISO 8601. Null for a page never published.
{
"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
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.
curl https://api.sublaunch.com/v1/pages \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"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
Returns one page by its ID or its slug, with its words and stats.
Path parameters
- pagestringRequiredThe page's ID, as List pages returns it, or its slug.
Returns
A page object.
Errors
- No page with this ID or slug in the key's Sublaunch.
curl https://api.sublaunch.com/v1/pages/free-trading-guide \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"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
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
- namestringRequiredIts name in the app, 80 characters at most.
- slugstringIts address after
/p/, in lowercase letters, digits and dashes. Made from the name when left out, with-2added when another page has it. - seoobjectWhat search engines and shared links show.
Returns
The new page object.
Errors
- A required parameter is missing.
paramnames it. - A parameter has a value the API does not accept.
paramnames it. - 409slug_takenAnother page of the Sublaunch has this slug.
- The Sublaunch has 100 pages already.
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"
}'{
"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
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_idstringRequiredThe page's ID, as List pages returns it.
Body parameters
- namestringIts name in the app, 80 characters at most.
- slugstringIts address after
/p/, in lowercase letters, digits and dashes. A published page moves to its new address once the draft is published. - seoobjectWhat search engines and shared links show.
Returns
The page object.
Errors
- No page with this ID in the key's Sublaunch.
- A parameter has a value the API does not accept.
paramnames it. - 409slug_takenAnother page of the Sublaunch has this slug.
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"
}'{
"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
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_idstringRequiredThe page's ID, as List pages returns it.
Returns
The page object.
Errors
- No page with this ID in the key's Sublaunch.
- 409slug_takenAnother page of the Sublaunch has this slug.
curl -X POST \
https://api.sublaunch.com/v1/pages/Pg4mX9kQ2T/publish \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"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
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_idstringRequiredThe page's ID, as List pages returns it.
Returns
The page object.
Errors
- No page with this ID in the key's Sublaunch.
curl -X POST \
https://api.sublaunch.com/v1/pages/Pg4mX9kQ2T/unpublish \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"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
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_idstringRequiredThe page's ID, as List pages returns it.
Returns
An object with the page's id and deleted set to true.
Errors
- No page with this ID in the key's Sublaunch.
curl -X DELETE https://api.sublaunch.com/v1/pages/Pg4mX9kQ2T \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"id": "Pg4mX9kQ2T",
"object": "page",
"deleted": true
}