Lists & contacts
Your audience lives in lists. Broadcasts target lists; suppression lists keep people who opted out from ever being emailed again.
Audience endpoints require a key with the contacts scope.
Lists
/lists/lists/lists/:id/lists/:id/lists/:idcurl -X POST https://api.inbuzzed.com/api/v1/esp/lists \
-H "X-Api-Key: ib_live_..." \
-H "Content-Type: application/json" \
-d '{ "name": "Newsletter subscribers" }'Add contacts
/lists/:listId/feedcurl -X POST https://api.inbuzzed.com/api/v1/esp/lists/list_123/feed \
-H "X-Api-Key: ib_live_..." \
-H "Content-Type: application/json" \
-d '{
"email": "ada@example.com",
"data": { "firstname": "Ada" },
"tags": ["newsletter"]
}'emailstringrequiredThe contact's email address.
dataobjectCustom field values, keyed by field name — string values only. Anything besides email goes here, never top-level.
tagsstring[]Tags to apply to the contact.
removetagsstring[]Tags to remove from the contact.
resubscribebooleanRe-activate a previously unsubscribed contact.
unsubscribebooleanMark the contact unsubscribed.
Read a list
/lists/:id/feedReturns the list's contacts, newest first. Page backwards with ?older= using the cursor from the previous page.
Suppression lists
Suppression lists are exclusion sets: attach them to a broadcast via supplists and their members are skipped.
/supplists/supplists/supplists/:id/supplists/:idExports
/lists/:id/export/exportsExports run asynchronously — request one, then poll /exports for the download (requires the analytics scope).