lumail.subscribers.list

SDK 2.1.0 · API v2 · GET /api/v2/subscribers

MethodGET
/api/v2/subscribers

[email protected] · lumail.subscribers

subscribers.list(params?: ListSubscribersParams): Promise<LumailResult<ListSubscribersResponse>>

Filter with query, status, tag, limit, after, before.

Query Parameters

SubscriberStatus: PENDING_CONFIRMATION, SUBSCRIBED, UNSUBSCRIBED, BOUNCED, BANNED, COMPLAINED, TRANSACTIONAL.

NameTypeDescription
limitnumberPage size.
afterstringCursor: return contacts after this id.
beforestringCursor: return contacts before this id. Forwarded by the SDK.
tagstringFilter by tag name.
statusSubscriberStatus or "all"Filter by status. all returns every status.
querystringSearch string (email or name).

Response Fields

FieldTypeDescription
object"list"Discriminator. Always list.
has_morebooleantrue when another page exists.
dataListSubscriberEntry[]Contacts, newest first. Each row: id, email, name, status, createdAt, tags.

data is { object, data, has_more }. Failures return { data: null, error: { name, message, statusCode } }.