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

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token (Authorization: Bearer sp_...). Created in the dashboard under Account > Tokens. See authentication.

Query parameters

ParameterTypeRequiredDescription
limitintegerNoHow many subscribers to return, 1 to 1000. Defaults to 1000.
offsetintegerNoHow 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
}
FieldTypeDescription
idstringShort subscriber ID. Use it on the single-subscriber routes.
emailstringThe subscriber’s address.
namestringOnly when the subscriber gave one.
phonestringOnly when the subscriber gave one.
categoriesarrayThe 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.
subscribedAtstringRFC 3339.
confirmedAtstringRFC 3339. Only once the subscriber has confirmed.
unsubscribedAtstringRFC 3339. Only when the subscriber has unsubscribed.

total is the size of the whole list, not of the window.