List subscribers
List the site’s newsletter subscribers with their confirmation state.
GET https://sitepaste.com/api/v1/public/sites/{siteId}/newsletter-subscribers
Requires the data scope. The API reads and manages subscribers. Sending mail to them stays a dashboard action.
Usage
curl "https://sitepaste.com/api/v1/public/sites/default/newsletter-subscribers?limit=100" \
-H "Authorization: Bearer $TOKEN"
Authorizations
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token (Authorization: Bearer sp_...). Created in the dashboard under Account > Tokens. See authentication. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | How many subscribers to return, 1 to 1000. Defaults to 1000. |
| offset | integer | No | How many to skip. Defaults to 0. |
Exporting as CSV
The same URL serves the subscriber list as CSV when you ask for one:
curl "https://sitepaste.com/api/v1/public/sites/default/newsletter-subscribers" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: text/csv" \
-o subscribers.csv
Columns are email, subscribed_at, confirmed_at, status. The CSV covers every subscriber and takes no limit or offset. Sending either answers 422.
Response
{
"newsletterSubscribers": [
{
"id": "n7xkqw3mz9r2",
"email": "[email protected]",
"name": "Ann Reader",
"phone": "+15555550123",
"categories": ["releases"],
"subscribedAt": "2026-01-15T10:00:00Z",
"confirmedAt": "2026-01-15T10:04:00Z"
}
],
"total": 1840,
"limit": 100,
"offset": 0
}
| Field | Type | Description |
|---|---|---|
| id | string | Short subscriber ID. Use it on the single-subscriber routes. |
| string | The subscriber’s address. | |
| name | string | Only when the subscriber gave one. |
| phone | string | Only when the subscriber gave one. |
| categories | array | The event type slugs the subscriber signed up for, as adding a subscriber takes them. Always present; empty when none were chosen. Deleting an event type removes its slug here. |
| subscribedAt | string | RFC 3339. |
| confirmedAt | string | RFC 3339. Only once the subscriber has confirmed. |
| unsubscribedAt | string | RFC 3339. Only when the subscriber has unsubscribed. |
total is the size of the whole list, not of the window.