API reference
Broadcasts
A broadcast is an email of your Sublaunch to its members, its leads or addresses you list. The API writes it as a draft, tells you what it costs, sends or schedules it, and reads its stats.
Scheduling an email or turning one back on waits in the Sublaunch's draft, as in the app, until you publish the draft. Sending now and pausing are at once.
Past the month's free emails, sending costs AI credits. An email sent cannot be taken back.
The broadcast object
An email of your Sublaunch to its members, with its stats.
Attributes
- idstringUnique identifier for the broadcast.
- objectstringAlways
broadcast. - subjectstringThe email's subject.
- statusstringWhere the email stands.
draftscheduledsent - in_draftbooleanTrue when the email is scheduled or turned back on in the Sublaunch's draft. It goes out once you publish the draft.
- recipientsintegerHow many people it goes to.
- statsobjectWhat happened to it.
- scheduled_atstring or nullWhen a scheduled email goes out, ISO 8601.
- sent_atstring or nullWhen it started going out, ISO 8601.
- created_atstring or nullWhen it was created, ISO 8601.
{
"id": "Bc5xQ2mK8R",
"object": "broadcast",
"subject": "A new course is live",
"status": "sent",
"in_draft": false,
"recipients": 398,
"stats": {
"sent": 398,
"delivered": 391,
"opened": 214,
"clicked": 87,
"bounced": 7,
"complained": 0
},
"scheduled_at": null,
"sent_at": "2026-11-16T08:11:05.000Z",
"created_at": "2026-11-16T08:11:05.000Z"
}List broadcasts
Returns the Sublaunch's emails, newest first, with their stats.
Query parameters
- statusstringOnly the drafts, or only the emails sent.
draftsent - limitintegerHow many objects to return, from 1 to 100. 25 by default.
- cursorstringThe
next_cursorof the previous page, to get the page after it. Keep the other parameters the same. See Pagination.
Returns
A list of broadcast objects.
Errors
- A parameter has a value the API does not accept.
paramnames it. - The
cursoris not one this list gave, was made for other filters, or goes deeper than its limit.
curl -G https://api.sublaunch.com/v1/broadcasts \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-d status=sent{
"object": "list",
"data": [
{
"id": "Bc5xQ2mK8R",
"object": "broadcast",
"subject": "A new course is live",
"status": "sent",
"in_draft": false,
"recipients": 398,
"stats": {
"sent": 398,
"delivered": 391,
"opened": 214,
"clicked": 87,
"bounced": 7,
"complained": 0
},
"scheduled_at": null,
"sent_at": "2026-11-16T08:11:05.000Z",
"created_at": "2026-11-16T08:11:05.000Z"
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0xMS0xNVQxNzowMjo0MC4wMDBaIn0"
}Retrieve a broadcast
Returns one email with its stats.
Path parameters
- broadcast_idstringRequiredThe broadcast's ID, as List broadcasts returns it.
Returns
Errors
- No broadcast with this ID in the key's Sublaunch.
curl https://api.sublaunch.com/v1/broadcasts/Bc5xQ2mK8R \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"id": "Bc5xQ2mK8R",
"object": "broadcast",
"subject": "A new course is live",
"status": "sent",
"in_draft": false,
"recipients": 398,
"stats": {
"sent": 398,
"delivered": 391,
"opened": 214,
"clicked": 87,
"bounced": 7,
"complained": 0
},
"scheduled_at": null,
"sent_at": "2026-11-16T08:11:05.000Z",
"created_at": "2026-11-16T08:11:05.000Z"
}The broadcast with its content
An email as the endpoints that write, send, pause or resume it return it, with its content and who it goes to.
Attributes
- idstringUnique identifier for the broadcast.
- objectstringAlways
broadcast. - subjectstringThe email's subject.
- preview_textstringThe line inboxes show after the subject.
- statusstringWhere the email stands.
activeis an automated email, which goes out on its own to each new member or lead.draftscheduledsendingsentactivepaused - in_draftbooleanTrue when the email is scheduled or turned back on in the Sublaunch's draft. It goes out once you publish the draft.
- triggerstringHow it goes out, when you send it, at
scheduled_at, or on its own for an automated email set up in the app.manualscheduledautomated - scheduled_atstring or nullWhen a scheduled email goes out, ISO 8601.
- audiencestring or nullWho gets it.
custom_audienceis an audience made in the app.active_subscribersall_subscriberscancelled_subscribersall_leadscustom_emailscustom_audience - custom_emails_countintegerWith the
custom_emailsaudience, how many addresses it goes to. - contentarray of objectsThe email's blocks in order.
- former_editorbooleanTrue when the email was written in the former editor. Its
contentis then empty, a newcontentrewrites it. - recipientsintegerHow many emails it went out to, 0 before it is sent.
- sent_atstring or nullWhen it started going out, ISO 8601.
- created_atstring or nullWhen it was created, ISO 8601.
- updated_atstring or nullWhen it last changed, ISO 8601.
{
"id": "Bc8nR4kQ1X",
"object": "broadcast",
"subject": "Live session tonight at 8 pm",
"preview_text": "Bring your watchlist",
"status": "draft",
"in_draft": false,
"trigger": "manual",
"scheduled_at": null,
"audience": "active_subscribers",
"content": [
{
"type": "h1",
"text": "Live session tonight"
},
{
"type": "paragraph",
"text": "We go through **three setups** from this week, then your questions."
},
{
"type": "button",
"label": "Open the Community",
"action": "community"
}
],
"recipients": 0,
"sent_at": null,
"created_at": "2026-11-17T09:30:00.000Z",
"updated_at": "2026-11-17T09:30:00.000Z"
}Create a broadcast
Writes a new email of the Sublaunch as a draft. Nothing goes out until you send it. It goes to the Sublaunch's active members, unless you set audience or custom_emails.
Body parameters
- subjectstringRequiredThe subject, 200 characters at most.
- preview_textstringThe line inboxes show after the subject, 300 characters at most. On an email with no content yet, send it with
content. - contentarray of objectsThe email's blocks in order, from 1 to 100. They replace the whole email.
- audiencestringWho gets it.
active_subscribersare the members whose membership runs,all_subscribersevery member ever,cancelled_subscribersthe ones who left,all_leadsthe Sublaunch's leads, andcustom_emailsthe addresses you list.active_subscribersall_subscriberscancelled_subscribersall_leadscustom_emails - custom_emailsarray of stringsWith the
custom_emailsaudience, the addresses it goes to, 1 000 at most. - triggerstring
manualgoes out when you send it.scheduledgoes out atscheduled_at, once confirmed with Send a broadcast.manualscheduled - scheduled_atstringWhen a scheduled email goes out, ISO 8601 with its time zone, like
2026-12-01T09:00:00Z, in the future. A date alone on a draft makes itscheduled.
Returns
The broadcast with its content.
Errors
- A required parameter is missing.
paramnames it. - A parameter has a value the API does not accept.
paramnames it. - The body has a field this endpoint does not take.
curl -X POST https://api.sublaunch.com/v1/broadcasts \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"subject": "Live session tonight at 8 pm",
"preview_text": "Bring your watchlist",
"content": [
{
"type": "h1",
"text": "Live session tonight"
},
{
"type": "paragraph",
"text": "We go through **three setups** from this week, then your questions."
},
{
"type": "button",
"label": "Open the Community",
"action": "community"
}
],
"audience": "active_subscribers"
}'{
"id": "Bc8nR4kQ1X",
"object": "broadcast",
"subject": "Live session tonight at 8 pm",
"preview_text": "Bring your watchlist",
"status": "draft",
"in_draft": false,
"trigger": "manual",
"scheduled_at": null,
"audience": "active_subscribers",
"content": [
{
"type": "h1",
"text": "Live session tonight"
},
{
"type": "paragraph",
"text": "We go through **three setups** from this week, then your questions."
},
{
"type": "button",
"label": "Open the Community",
"action": "community"
}
],
"recipients": 0,
"sent_at": null,
"created_at": "2026-11-17T09:30:00.000Z",
"updated_at": "2026-11-17T09:30:00.000Z"
}Update a broadcast
Changes a draft email, one scheduled in the draft too, or a paused one, which keeps its trigger. content replaces the whole email. A scheduled email that is published changes once paused. A trigger set to manual drops its scheduling from the draft.
Path parameters
- broadcast_idstringRequiredThe broadcast's ID, as List broadcasts returns it.
Body parameters
- subjectstringThe subject, 200 characters at most.
- preview_textstringThe line inboxes show after the subject, 300 characters at most. On an email with no content yet, send it with
content. - contentarray of objectsThe email's blocks in order, from 1 to 100. They replace the whole email.
- audiencestringWho gets it.
active_subscribersare the members whose membership runs,all_subscribersevery member ever,cancelled_subscribersthe ones who left,all_leadsthe Sublaunch's leads, andcustom_emailsthe addresses you list.active_subscribersall_subscriberscancelled_subscribersall_leadscustom_emails - custom_emailsarray of stringsWith the
custom_emailsaudience, the addresses it goes to, 1 000 at most. - triggerstring
manualgoes out when you send it.scheduledgoes out atscheduled_at, once confirmed with Send a broadcast.manualscheduled - scheduled_atstringWhen a scheduled email goes out, ISO 8601 with its time zone, like
2026-12-01T09:00:00Z, in the future. A date alone on a draft makes itscheduled.
Returns
The broadcast with its content.
Errors
- No broadcast with this ID in the key's Sublaunch.
- A parameter has a value the API does not accept.
paramnames it. - The email is scheduled, going out or sent. Pause a scheduled email first.
curl -X PATCH \
https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"scheduled_at": "2026-11-20T18:00:00Z"
}'{
"id": "Bc8nR4kQ1X",
"object": "broadcast",
"subject": "Live session tonight at 8 pm",
"preview_text": "Bring your watchlist",
"status": "draft",
"in_draft": false,
"trigger": "scheduled",
"scheduled_at": "2026-11-20T18:00:00.000Z",
"audience": "active_subscribers",
"content": [
{
"type": "h1",
"text": "Live session tonight"
},
{
"type": "paragraph",
"text": "We go through **three setups** from this week, then your questions."
},
{
"type": "button",
"label": "Open the Community",
"action": "community"
}
],
"recipients": 0,
"sent_at": null,
"created_at": "2026-11-17T09:30:00.000Z",
"updated_at": "2026-11-17T09:30:00.000Z"
}Send a broadcast
Sends a draft email now, which cannot be undone. A scheduled one waits in the Sublaunch's draft and goes out at scheduled_at once you publish the draft. When the email's score is too low, nothing is sent, low_score is true and email_feedback says what to improve. Sending from a verified custom domain helps too.
Path parameters
- broadcast_idstringRequiredThe broadcast's ID, as List broadcasts returns it.
Returns
The broadcast with its content, with low_score and its quote. When low_score is true, also email_score, email_feedback and a message. When scheduled, in_draft is true and a message says so.
Errors
- No broadcast with this ID in the key's Sublaunch.
- The account has not enough AI credits for the emails it goes out to. Buy AI credits in the app, then send it again.
- The email is not a draft, was sent already, goes out on its own, or has no audience, content or date.
curl -X POST \
https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X/send \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"id": "Bc8nR4kQ1X",
"object": "broadcast",
"subject": "Live session tonight at 8 pm",
"preview_text": "Bring your watchlist",
"status": "sent",
"in_draft": false,
"trigger": "manual",
"scheduled_at": null,
"audience": "active_subscribers",
"content": [
{
"type": "h1",
"text": "Live session tonight"
},
{
"type": "paragraph",
"text": "We go through **three setups** from this week, then your questions."
},
{
"type": "button",
"label": "Open the Community",
"action": "community"
}
],
"recipients": 180,
"sent_at": "2026-11-17T09:30:00.000Z",
"created_at": "2026-11-17T09:30:00.000Z",
"updated_at": "2026-11-17T09:30:00.000Z",
"low_score": false,
"quote": {
"object": "broadcast_quote",
"broadcast_id": "Bc8nR4kQ1X",
"count": 180,
"free": 180,
"payable": 0,
"cost": 0,
"credits": 1200,
"allowed": true
}
}Pause a broadcast
Pauses a scheduled or automated email at once. It does not go out until you resume it. One scheduled in the Sublaunch's draft leaves the draft instead, and nothing is sent. An email sent already cannot be paused.
Path parameters
- broadcast_idstringRequiredThe broadcast's ID, as List broadcasts returns it.
Returns
The broadcast with its content.
Errors
- No broadcast with this ID in the key's Sublaunch.
- The email is neither scheduled nor automated, like a draft or an email sent already.
curl -X POST \
https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X/pause \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"id": "Bc8nR4kQ1X",
"object": "broadcast",
"subject": "Live session tonight at 8 pm",
"preview_text": "Bring your watchlist",
"status": "paused",
"in_draft": false,
"trigger": "scheduled",
"scheduled_at": "2026-11-20T18:00:00.000Z",
"audience": "active_subscribers",
"content": [
{
"type": "h1",
"text": "Live session tonight"
},
{
"type": "paragraph",
"text": "We go through **three setups** from this week, then your questions."
},
{
"type": "button",
"label": "Open the Community",
"action": "community"
}
],
"recipients": 0,
"sent_at": null,
"created_at": "2026-11-17T09:30:00.000Z",
"updated_at": "2026-11-17T09:30:00.000Z"
}Resume a broadcast
Turns a paused email back on in the Sublaunch's draft. Once you publish the draft, a scheduled one goes out at its date, at once when the date has passed, and an automated one runs again.
Path parameters
- broadcast_idstringRequiredThe broadcast's ID, as List broadcasts returns it.
Returns
The broadcast with its content.
Errors
- No broadcast with this ID in the key's Sublaunch.
- The email is not paused.
curl -X POST \
https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X/resume \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"id": "Bc8nR4kQ1X",
"object": "broadcast",
"subject": "Live session tonight at 8 pm",
"preview_text": "Bring your watchlist",
"status": "scheduled",
"in_draft": true,
"trigger": "scheduled",
"scheduled_at": "2026-11-20T18:00:00.000Z",
"audience": "active_subscribers",
"content": [
{
"type": "h1",
"text": "Live session tonight"
},
{
"type": "paragraph",
"text": "We go through **three setups** from this week, then your questions."
},
{
"type": "button",
"label": "Open the Community",
"action": "community"
}
],
"recipients": 0,
"sent_at": null,
"created_at": "2026-11-17T09:30:00.000Z",
"updated_at": "2026-11-17T09:30:00.000Z"
}The quote object
What sending an email costs, before you send it.
Attributes
- objectstringAlways
broadcast_quote. - broadcast_idstringThe broadcast it is for.
- countintegerHow many emails it goes out to. 0 for an automated email.
- freeintegerHow many of them are free, the month's free emails and the emails given to the account.
- payableintegerHow many of them are paid with AI credits.
- costintegerThe AI credits they cost.
- creditsintegerThe AI credits the Sublaunch owner's account holds.
- allowedbooleanWhether the account can send it now.
{
"object": "broadcast_quote",
"broadcast_id": "Bc8nR4kQ1X",
"count": 180,
"free": 180,
"payable": 0,
"cost": 0,
"credits": 1200,
"allowed": true
}Quote a broadcast
Returns what sending an email costs, without sending it, from the month's free emails then AI credits. Call it before Send a broadcast and show the cost to whoever confirms.
Path parameters
- broadcast_idstringRequiredThe broadcast's ID, as List broadcasts returns it.
Returns
A quote object.
Errors
- No broadcast with this ID in the key's Sublaunch.
curl \
https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X/quote \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"object": "broadcast_quote",
"broadcast_id": "Bc8nR4kQ1X",
"count": 180,
"free": 180,
"payable": 0,
"cost": 0,
"credits": 1200,
"allowed": true
}