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.
| Name | Type | Description |
|---|---|---|
limit | number | Page size. |
after | string | Cursor: return contacts after this id. |
before | string | Cursor: return contacts before this id. Forwarded by the SDK. |
tag | string | Filter by tag name. |
status | SubscriberStatus or "all" | Filter by status. all returns every status. |
query | string | Search string (email or name). |
Response Fields
| Field | Type | Description |
|---|---|---|
object | "list" | Discriminator. Always list. |
has_more | boolean | true when another page exists. |
data | ListSubscriberEntry[] | 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 } }.