Subsail Help Docs

Search...
K

List subscribers

List subscribers

Overview

List subscribers

gethttps://api.subsail.com/v1/subscribers/

Request parameters

cursorstring

query

Opaque cursor from the previous response. Omit for the first page.

limitnumber

query

Items per page. Default: 50. Maximum: 200.

searchstring

query

Partial text search across subscriber ID, name, email, and related subscription fields.

Request body

No request body.

Request examples

No request body.

Responses

200Paginated list of subscribers
has_morebooleanRequired

True if more items are available after this page.

cursorstringRequired

Pass this as cursor to fetch the next page. Null when has_more is false.

itemsSubscriber[]Required

Array (Subscriber):

idstring

Subscriber ID.

first_namestring
last_namestring
full_namestring
emailstring
latest_countrystring
latest_order_datedate
has_active_subscriptionboolean
subscription_countnumber
ltvstring

Lifetime value (account currency).

ltv_currencystring

ISO currency code for ltv (account selling currency).

date_createddate

Example

JSON
{
  "has_more": "<boolean>",
  "cursor": "<string>",
  "items": [
    {
      "id": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "full_name": "<string>",
      "email": "<string>",
      "latest_country": "<string>",
      "latest_order_date": "<date>",
      "has_active_subscription": "<boolean>",
      "subscription_count": "<number>",
      "ltv": "<string>",
      "ltv_currency": "<string>",
      "date_created": "<date>"
    }
  ]
}
401Missing or invalid API key (empty response body).
403Account is inactive (empty response body).

© Subsail Help Docs

Powered by Basedoc