List paid readers
GET
/api/v1/newsletter/paid/readers
const url = 'https://digize.com/api/v1/newsletter/paid/readers?source=stripe&offset=0&limit=50';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://digize.com/api/v1/newsletter/paid/readers?source=stripe&offset=0&limit=50' \ --header 'x-api-key: <x-api-key>'The readers at a paid tier now, by tier and by what gives it (stripe, comp or gift), with their subscription’s price and status when they pay.
Needs the newsletter:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”tierId
string
source
string
offset
integer
limit
integer
Responses
Section titled “Responses”Done
Media typeapplication/json
object
data
required
Array<object>
object
contactId
required
string
name
required
string
email
required
string | null
tierId
required
string
tier
required
string
source
required
string
until
required
string format: date-time
grantId
required
string | null
subscriptionId
required
string | null
amount
required
number | null
intervalDays
required
number | null
status
required
string | null
total
required
number
Example
{ "data": [ { "source": "stripe" } ]}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}