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
- idstringUnique identifier for the list.
- objectstringAlways
contact_list. - namestringIts name. Only you see it.
- notesstringYour notes on it, never shown to contacts.
- contacts_countintegerHow many contacts it holds.
- source_eventsarray of stringsThe key's Sublaunch's events whose people join the list on their own. Empty when this Sublaunch adds nobody.
new_membercanceled_membernew_lead - other_sourcesintegerHow many of the account's other pages add people to it.
- created_atstring or nullWhen it was made, ISO 8601.
- updated_atstring or nullWhen it last changed, ISO 8601.
{
"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
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
- actionstringRequiredWhat to do.
listandgetwith areadkey, the others with awritekey.listgetcreateupdatedelete - list_idstringFor
get,updateanddelete, the list's ID, aslistreturns it. - searchstringFor
list, only the lists whose name holds these words. - limitintegerFor
list, how many to return, from 1 to 100. 25 by default. - cursorstring
- namestringFor
createandupdate, its name, 200 characters at most. Only you see it. - notesstringFor
createandupdate, your notes on it, 2 000 characters at most, never shown to contacts. - add_emailsarray of stringsFor
createandupdate, emails to add, 5 000 at most, each one address or several separated by commas, as Paste emails in the app. - import_filestringFor
createandupdate, 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 anemailcolumn and an optionalfirstNamecolumn. - remove_emailsarray of stringsFor
update, emails to take out of the list. - clearbooleanFor
update,truetakes every contact out of the list, alone in its call. - source_eventsarray of stringsFor
createandupdate, the key's Sublaunch's events whose people join the list on their own.new_lead, andnew_memberorcanceled_memberwhen the Sublaunch has members. An empty list disconnects it, the other sources stay.new_membercanceled_membernew_lead - confirmbooleanFor
delete,trueonce 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
deletewithoutconfirmset totrue.paramnames it. Nothing changed. - A
readkey asks for an action that changes something. Use a key withwrite. - 403forbiddenA team member's role does not edit Broadcast.
- No contact list with this ID in the owner's account, or it was deleted.
- The
cursoris not one this list gave, was made for other filters, or goes deeper than its limit.
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,"
}'{
"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
}