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

  • idstring
    Unique identifier for the broadcast.
  • objectstring
    Always broadcast.
  • subjectstring
    The email's subject.
  • statusstring
    Where the email stands.
    draftscheduledsent
  • in_draftboolean
    True when the email is scheduled or turned back on in the Sublaunch's draft. It goes out once you publish the draft.
  • recipientsinteger
    How many people it goes to.
  • statsobject
    What happened to it.
  • scheduled_atstring or null
    When a scheduled email goes out, ISO 8601.
  • sent_atstring or null
    When it started going out, ISO 8601.
  • created_atstring or null
    When it was created, ISO 8601.
Broadcast object
{
  "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

GET/v1/broadcastsread scopeMCPlist_broadcasts

Returns the Sublaunch's emails, newest first, with their stats.

Query parameters

  • statusstring
    Only the drafts, or only the emails sent.
    draftsent
  • limitinteger
    How many objects to return, from 1 to 100. 25 by default.
  • cursorstring
    The next_cursor of 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. param names it.
  • The cursor is not one this list gave, was made for other filters, or goes deeper than its limit.
GET/v1/broadcasts
curl -G https://api.sublaunch.com/v1/broadcasts \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -d status=sent
Response200
{
  "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

GET/v1/broadcasts/:broadcast_idread scopeMCPget_broadcast

Returns one email with its stats.

Path parameters

  • broadcast_idstringRequired
    The broadcast's ID, as List broadcasts returns it.

Returns

A broadcast object.

Errors

GET/v1/broadcasts/:broadcast_id
curl https://api.sublaunch.com/v1/broadcasts/Bc5xQ2mK8R \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "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

  • idstring
    Unique identifier for the broadcast.
  • objectstring
    Always broadcast.
  • subjectstring
    The email's subject.
  • preview_textstring
    The line inboxes show after the subject.
  • statusstring
    Where the email stands. active is an automated email, which goes out on its own to each new member or lead.
    draftscheduledsendingsentactivepaused
  • in_draftboolean
    True when the email is scheduled or turned back on in the Sublaunch's draft. It goes out once you publish the draft.
  • triggerstring
    How 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 null
    When a scheduled email goes out, ISO 8601.
  • audiencestring or null
    Who gets it. custom_audience is an audience made in the app.
    active_subscribersall_subscriberscancelled_subscribersall_leadscustom_emailscustom_audience
  • custom_emails_countinteger
    With the custom_emails audience, how many addresses it goes to.
  • contentarray of objects
    The email's blocks in order.
  • former_editorboolean
    True when the email was written in the former editor. Its content is then empty, a new content rewrites it.
  • recipientsinteger
    How many emails it went out to, 0 before it is sent.
  • sent_atstring or null
    When it started going out, ISO 8601.
  • created_atstring or null
    When it was created, ISO 8601.
  • updated_atstring or null
    When it last changed, ISO 8601.
Broadcast with its content
{
  "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

POST/v1/broadcastswrite scopeMCPcreate_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

  • subjectstringRequired
    The subject, 200 characters at most.
  • preview_textstring
    The line inboxes show after the subject, 300 characters at most. On an email with no content yet, send it with content.
  • contentarray of objects
    The email's blocks in order, from 1 to 100. They replace the whole email.
  • audiencestring
    Who gets it. active_subscribers are the members whose membership runs, all_subscribers every member ever, cancelled_subscribers the ones who left, all_leads the Sublaunch's leads, and custom_emails the addresses you list.
    active_subscribersall_subscriberscancelled_subscribersall_leadscustom_emails
  • custom_emailsarray of strings
    With the custom_emails audience, the addresses it goes to, 1 000 at most.
  • triggerstring
    manual goes out when you send it. scheduled goes out at scheduled_at, once confirmed with Send a broadcast.
    manualscheduled
  • scheduled_atstring
    When 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 it scheduled.

Returns

The broadcast with its content.

Errors

POST/v1/broadcasts
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"
  }'
Response201
{
  "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

PATCH/v1/broadcasts/:broadcast_idwrite scopeMCPupdate_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_idstringRequired
    The broadcast's ID, as List broadcasts returns it.

Body parameters

  • subjectstring
    The subject, 200 characters at most.
  • preview_textstring
    The line inboxes show after the subject, 300 characters at most. On an email with no content yet, send it with content.
  • contentarray of objects
    The email's blocks in order, from 1 to 100. They replace the whole email.
  • audiencestring
    Who gets it. active_subscribers are the members whose membership runs, all_subscribers every member ever, cancelled_subscribers the ones who left, all_leads the Sublaunch's leads, and custom_emails the addresses you list.
    active_subscribersall_subscriberscancelled_subscribersall_leadscustom_emails
  • custom_emailsarray of strings
    With the custom_emails audience, the addresses it goes to, 1 000 at most.
  • triggerstring
    manual goes out when you send it. scheduled goes out at scheduled_at, once confirmed with Send a broadcast.
    manualscheduled
  • scheduled_atstring
    When 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 it scheduled.

Returns

The broadcast with its content.

Errors

PATCH/v1/broadcasts/:broadcast_id
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"
  }'
Response200
{
  "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

POST/v1/broadcasts/:broadcast_id/sendwrite scopeMCPsend_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_idstringRequired
    The 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.
POST/v1/broadcasts/:broadcast_id/send
curl -X POST \
  https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X/send \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "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

POST/v1/broadcasts/:broadcast_id/pausewrite scopeMCPpause_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_idstringRequired
    The 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.
POST/v1/broadcasts/:broadcast_id/pause
curl -X POST \
  https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X/pause \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "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

POST/v1/broadcasts/:broadcast_id/resumewrite scopeMCPresume_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_idstringRequired
    The broadcast's ID, as List broadcasts returns it.

Returns

The broadcast with its content.

Errors

POST/v1/broadcasts/:broadcast_id/resume
curl -X POST \
  https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X/resume \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "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

  • objectstring
    Always broadcast_quote.
  • broadcast_idstring
    The broadcast it is for.
  • countinteger
    How many emails it goes out to. 0 for an automated email.
  • freeinteger
    How many of them are free, the month's free emails and the emails given to the account.
  • payableinteger
    How many of them are paid with AI credits.
  • costinteger
    The AI credits they cost.
  • creditsinteger
    The AI credits the Sublaunch owner's account holds.
  • allowedboolean
    Whether the account can send it now.
Quote object
{
  "object": "broadcast_quote",
  "broadcast_id": "Bc8nR4kQ1X",
  "count": 180,
  "free": 180,
  "payable": 0,
  "cost": 0,
  "credits": 1200,
  "allowed": true
}

Quote a broadcast

GET/v1/broadcasts/:broadcast_id/quoteread scopeMCPquote_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_idstringRequired
    The broadcast's ID, as List broadcasts returns it.

Returns

A quote object.

Errors

GET/v1/broadcasts/:broadcast_id/quote
curl \
  https://api.sublaunch.com/v1/broadcasts/Bc8nR4kQ1X/quote \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "object": "broadcast_quote",
  "broadcast_id": "Bc8nR4kQ1X",
  "count": 180,
  "free": 180,
  "payable": 0,
  "cost": 0,
  "credits": 1200,
  "allowed": true
}