Lists the workspace's newsletters, optionally filtered by view (draft / past). Paginated; returns recipient-stripped summaries so list payloads stay small. Sorted by updatedAt descending.
AuthorizationRequiredBearer <token>API key as Bearer token
In: header
viewstringFilter by view; omit to include drafts + sent + scheduled.
"past" | "sent" | "scheduled" | "draft"pageNumberintegerPage number (0-based, default 0)
0Minimum: 0Maximum: 9007199254740991pageSizeintegerItems per page (default 20, max 100)
20Minimum: 1Maximum: 100sortFieldstringField to sort results by. Omit for default (updatedAt descending).
"_id" | "subject" | "sent" | "date_sent" | "recipient_count" | "automatic" | "sync_event_recipients" | "data_version" | "createdAt" | "updatedAt"sortDirectionstringSort direction. Defaults to desc when sortField is provided.
"asc" | "desc"filtersstringJSON-encoded FilterGroup[] for custom filtering. Conditions referencing fields outside the persisted newsletter schema are silently ignored. ANDed with the 'view' filter when both are supplied.
fieldsstringComma-separated list of fields to return. Valid: id, hostId, subject, sent, date_sent, recipient_count, reply_to_email, display_name, automatic, data_version, sync_event_recipients, createdAt, updatedAt, sparkpost_metrics, attachments. Omit for all fields.
Consume Entitlement
Debits units from a customer's entitlement balance. Throws on insufficient balance. Debits one_time_addon grants first, then manual, then subscription_recurring (FIFO within source).
Create Newsletter
Creates a new newsletter (draft by default). Compose the email body through 'viewport_data' (structured site-builder content) — do NOT supply pre-rendered HTML; the send flow renders viewport_data into HTML for you. Recipient emails with typo-looking domains (e.g. gmial.com) are stripped before persistence.