Read a subscriber

Read one subscriber by the ID list subscribers returns.

GET https://sitepaste.com/api/v1/public/sites/{siteId}/newsletter-subscribers/{subscriberId}

Requires the data scope.

Usage

curl "https://sitepaste.com/api/v1/public/sites/default/newsletter-subscribers/n7xkqw3mz9r2" \
  -H "Authorization: Bearer $TOKEN"

Authorizations

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

Response

The subscriber record, in the shape list subscribers returns each entry in.

400 when {subscriberId} is malformed; 404 when it is well formed but names no subscriber on the site.