Subscribers
Last updated
Last updated
GET
https://api.sparkloop.app/v2/campaigns/:identifier/subscribers
Subscribers are ordered in descending order by created_at, meaning the first page shows the latest subscribers.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.sparkloop.app/v2/campaigns/:identifier/subscribers/:subscriber_identifier
Returns a single subscriber by email address or UUID
GET
https://api.sparkloop.app/v2/campaigns/:
identifier/subscribers/:subscriber_identifier/referrals
Get the referrals of a specific subscriber.
Subscribers are ordered descendingly by created_at, meaning the first page shows the latest subscribers.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
identifier*
String
Referral campaign UUID, e.g. MF9a78983d1c.
type
string
Type of subscribers you want to get. Default is all, allowed values are all, referrals, advocates.
expand
String
If you pass "campaigns" the response will include referral_programs data
subscriber_identifier*
string
Subscriber's UUID or email address
identifier*
string
Referral campaign UUID, e.g. MF9a78983d1c.
expand
String
If you pass "campaigns" the response will include referral_programs data
subscriber_identifier*
String
Subscriber's UUID or email address
identifier*
String
Referral campaign UUID, e.g. MF9a78983d1c.
per_page
integer
Number of subscribers returned in a single request. Default is 50, max is 200
page
integer
The page you want to get. Default is 1
expand
String
If you pass "campaigns" the response will include referral_programs data