API reference

Contact lists

A contact list is a list of emails of the owner's account, as Lists in the app's Mail. It holds people who may not be members or leads of the Sublaunch, like a workshop's guests or a former newsletter. A broadcast goes to one with its contact_list audience.

Lists belong to the account, so every Sublaunch of the owner sees the same ones. The key's Sublaunch can also fill a list on its own with its new members, its members who cancel or its new leads.

Changes are saved at once, with no draft. Contacts are never returned, only their count. A team member's key needs Broadcast to change lists.

The contact list object

A list of emails of the owner's account, as Lists in the app's Mail. Its contacts themselves are never returned.

Attributes

  • idstring
    Unique identifier for the list.
  • objectstring
    Always contact_list.
  • namestring
    Its name. Only you see it.
  • notesstring
    Your notes on it, never shown to contacts.
  • contacts_countinteger
    How many contacts it holds.
  • source_eventsarray of strings
    The key's Sublaunch's events whose people join the list on their own. Empty when this Sublaunch adds nobody.
    new_membercanceled_membernew_lead
  • other_sourcesinteger
    How many of the account's other pages add people to it.
  • created_atstring or null
    When it was made, ISO 8601.
  • updated_atstring or null
    When it last changed, ISO 8601.
Contact list object
{
  "id": "Al6kQ2xM9p",
  "object": "contact_list",
  "name": "Workshop",
  "notes": "Met at the Paris workshop",
  "contacts_count": 4,
  "source_events": [],
  "other_sources": 0,
  "created_at": "2026-11-17T09:30:00.000Z",
  "updated_at": "2026-11-17T09:30:00.000Z"
}

Manage contact lists

POST/v1/contact_listsread scopeMCPmanage_contact_lists

Lists, writes and deletes the account's contact lists, as Lists in the app's Mail. list returns them, newest first, or the ones whose name holds search. get returns one. create makes one with its name, its notes and its first contacts. update renames it, adds emails pasted or from a file, removes emails, empties it with clear, or makes the key's Sublaunch one of its sources with source_events. delete deletes it once confirm is true. Each email is checked, lowercased and kept once, and the invalid ones are counted in ignored_emails. Ask the owner before clear or delete, neither can be undone.

Body parameters

  • actionstringRequired
    What to do. list and get with a read key, the others with a write key.
    listgetcreateupdatedelete
  • list_idstring
    For get, update and delete, the list's ID, as list returns it.
  • searchstring
    For list, only the lists whose name holds these words.
  • limitinteger
    For list, how many to return, from 1 to 100. 25 by default.
  • cursorstring
    For list, the next_cursor of the previous page. Keep the other parameters the same. See Pagination.
  • namestring
    For create and update, its name, 200 characters at most. Only you see it.
  • notesstring
    For create and update, your notes on it, 2 000 characters at most, never shown to contacts.
  • add_emailsarray of strings
    For create and update, emails to add, 5 000 at most, each one address or several separated by commas, as Paste emails in the app.
  • import_filestring
    For create and update, a CSV, TSV or TXT file's text to add, as Upload a file in the app. One email a line, or a first row with an email column and an optional firstName column.
  • remove_emailsarray of strings
    For update, emails to take out of the list.
  • clearboolean
    For update, true takes every contact out of the list, alone in its call.
  • source_eventsarray of strings
    For create and update, the key's Sublaunch's events whose people join the list on their own. new_lead, and new_member or canceled_member when the Sublaunch has members. An empty list disconnects it, the other sources stay.
    new_membercanceled_membernew_lead
  • confirmboolean
    For delete, true once the owner said yes.

Returns

With list, a list of contact list objects. With get, the contact list object. With create, the new list with created and ignored_emails. With update, the list with contacts_before and ignored_emails. With delete, its id and deleted set to true.

Errors

  • A value the API does not accept, or a field another action takes, an update with nothing to change, a file with no valid email, or delete without confirm set to true. param names it. Nothing changed.
  • A read key asks for an action that changes something. Use a key with write.
  • A team member's role does not edit Broadcast.
  • No contact list with this ID in the owner's account, or it was deleted.
  • The cursor is not one this list gave, was made for other filters, or goes deeper than its limit.
POST/v1/contact_lists
curl -X POST https://api.sublaunch.com/v1/contact_lists \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "create",
    "name": "Workshop",
    "notes": "Met at the Paris workshop",
    "add_emails": ["eve@example.com, fay@example.com", "not-an-email"],
    "import_file": "email,firstName\ncara@example.com,Cara\ndan@example.com,"
  }'
Response200
{
  "id": "Al6kQ2xM9p",
  "object": "contact_list",
  "name": "Workshop",
  "notes": "Met at the Paris workshop",
  "contacts_count": 4,
  "source_events": [],
  "other_sources": 0,
  "created_at": "2026-11-17T09:30:00.000Z",
  "updated_at": "2026-11-17T09:30:00.000Z",
  "created": true,
  "ignored_emails": 1
}