API reference
Leads
A lead is an email one of your Sublaunch's free lead magnets or forms collected, before any payment.
Endpoints
The lead object
An email one of your Sublaunch's free lead magnets or forms collected.
Attributes
- idstringUnique identifier for the lead.
- objectstringAlways
lead. - emailstring or nullThe email, in lowercase.
- first_namestring or nullThe first name.
- last_namestring or nullThe last name.
- phonestring or nullThe phone number.
- sourcestring or nullWhere it came from, like
lead_magnet. - lead_magnet_idstring or nullThe lead magnet that collected it.
- fieldsarray of objectsThe form's other answers, 20 at most.
- created_atstringWhen it was collected, ISO 8601.
Lead object
{
"id": "Ld3xQ8mKpR",
"object": "lead",
"email": "alex@example.com",
"first_name": "Alex",
"last_name": null,
"phone": null,
"source": "lead_magnet",
"lead_magnet_id": "lm2K9x",
"fields": [
{
"name": "Experience",
"value": "Two years"
}
],
"created_at": "2026-11-16T08:11:05.000Z"
}List leads
Returns the Sublaunch's leads, newest first.
Query parameters
- emailstringOnly the lead with this email.
- sincestringOnly the leads collected from this date on, ISO 8601.
- untilstringOnly the leads collected before this date, ISO 8601.
- 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 lead 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.
GET/v1/ leads
curl -G https://api.sublaunch.com/v1/leads \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-d limit=50Response200
{
"object": "list",
"data": [
{
"id": "Ld3xQ8mKpR",
"object": "lead",
"email": "alex@example.com",
"first_name": "Alex",
"last_name": null,
"phone": null,
"source": "lead_magnet",
"lead_magnet_id": "lm2K9x",
"fields": [
{
"name": "Experience",
"value": "Two years"
}
],
"created_at": "2026-11-16T08:11:05.000Z"
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0xMS0xNVQxNzowMjo0MC4wMDBaIn0"
}