Skip to content

Get a subscriber's page

GET
/api/v1/newsletter/subscribers/{contactId}/profile
curl --request GET \
--url https://digize.com/api/v1/newsletter/subscribers/example/profile \
--header 'x-api-key: <x-api-key>'

One subscriber: their contact with its CRM fields and tags, their subscription with how they came and their engagement, its history with the proof (each consent, confirmation and unsubscribe), every post sent to them with what they did, the segments they’re in, who referred them and their own referrals (code, share link, how their referrals stand, the people they referred, milestones and rewards), and the polls they answered.

Needs the newsletter:read permission.

contactId
required
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
contact
required
object
id
required
string
firstName
required
string
lastName
required
string
name
required
string
email
required
string | null
phone
required

In E.164, such as +15125550142.

string | null
city
required
string | null
companyId
required
string | null
companyName
required
string | null
ownerId
required

The member who looks after them, by user id.

string | null
source
required
string
Allowed values: checkout form booking import manual message google_ads google_local_services lead_ad
tags
required
Array<string>
stage
required

Lead: hasn’t ordered; customer: one or two orders; repeat: three or more.

string
Allowed values: lead customer repeat
orders
required
number
lifetimeValue
required

What they’ve paid, less refunds, in minor units.

number
lastOrderAt
required
Any of:
string format: date-time
lastActivityAt
required
string format: date-time
score
required

Lead score, from the scoring rules in CRM settings.

number
custom
required

Custom field values by field key.

object
key
additional properties
Any of:
string
createdAt
required
string format: date-time
fields
required

The custom fields the contact has a value in.

Array<object>
object
id
required
string
entity
required

What the field is kept on: contacts, companies or opportunities.

string
Allowed values: contact company opportunity
label
required
string
key
required
string
type
required
string
Allowed values: text long_text number money date dropdown multi_select checkbox phone email url
group
required
string
options
required
Array<string>
unit
required
string | null
required
required
boolean
showOnForms
required
boolean
createdAt
required
string format: date-time
subscription
required
Any of:
object
contactId
required
string
status
required
string
Allowed values: pending subscribed unsubscribed
source
required
string
Allowed values: form link checkout import manual api agent
detail
required
string | null
consentedAt
required
Any of:
string format: date-time
confirmedAt
required
Any of:
string format: date-time
unsubscribedAt
required
Any of:
string format: date-time
reason
required
string | null
updatedAt
required
string format: date-time
formId
required

The form they signed up with: <siteId>:<form name> for a site’s form.

string | null
utm
required
Any of:
object
source
string
medium
string
campaign
string
term
string
content
string
referrerUrl
required

The page they signed up on, or the one that sent them.

string | null
country
required

ISO 3166-1 alpha-2, from their signup, else a person’s open or click.

string | null
region
required
string | null
engagement
required

0–5 stars from the posts that reached them in the last 90 days: up to 3 for the share they opened, up to 2 for the share they clicked (half or more gives both). Null when none did.

number | null
recentSent
required

Posts that reached them in the last 90 days.

number
recentOpened
required

Of those, ones a person opened.

number
recentClicked
required

Of those, ones they clicked in.

number
lastOpenedAt
required
Any of:
string format: date-time
lastClickedAt
required
Any of:
string format: date-time
tierId
required

Their paid tier (newsletter.tiers.list); null for free. It holds until tierUntil.

string | null
tierUntil
required
Any of:
string format: date-time
tierSource
required
Any of:
string
Allowed values: stripe comp gift
formLabel
required

The signup form’s name.

string | null
history
required

Their email consent records, newest first: each subscribe, confirmation and unsubscribe, with where, when, who and the words.

Array<object>
object
id
required
string
granted
required
boolean
source
required
string
sourceLabel
required
string
detail
required
string | null
wording
required

The words they agreed to.

string | null
address
required
string | null
at
required
string format: date-time
actorKind
required
string
actorName
required
string
posts
required

Every post sent to them, the newest first (200 at most).

Array<object>
object
recipientId
required
string
newsletterId
required
string
name
required
string
subject
required
string
status
required
string
Allowed values: pending sending sent delivered bounced complained failed cancelled
sentAt
required
Any of:
string format: date-time
deliveredAt
required
Any of:
string format: date-time
openedAt
required
Any of:
string format: date-time
openKind
required
Any of:
string
Allowed values: person machine
opens
required
number
clickedAt
required
Any of:
string format: date-time
clicks
required
number
unsubscribedAt
required
Any of:
string format: date-time
segments
required

The segments (contact lists) they’re in now.

Array<object>
object
id
required
string
name
required
string
referredBy
Any of:
object
contactId
required
string
name
required
string
email
required
string | null
state
required
string
Allowed values: pending counted refused void
note
required
string | null
at
required
Any of:
string format: date-time
referrals
Any of:
object
enabled
required

Whether the referral program is on now.

boolean
code
required

Their referral code.

string | null
link
required

Their share link, while the program is on.

string | null
counts
required

People who came by their link: counted, pending (waiting to confirm), refused by a fraud check, void (voided by a member).

object
counted
required
number
pending
required
number
refused
required
number
void
required
number
refusals
required

Why the fraud checks refused their referrals, the most often first.

Array<object>
object
reason
required
string
count
required
number
referred
required

People who came by their link, the newest first (200 at most): state and note say where each referral stands and why, status their subscription, at when it was counted, refused or voided.

Array<object>
object
contactId
required
string
name
required
string
email
required
string | null
state
required
string
Allowed values: pending counted refused void
note
required
string | null
status
required
string
createdAt
required
string format: date-time
at
required
Any of:
string format: date-time
milestones
required

The active milestones.

Array<object>
object
id
required
string
referrals
required
number
name
required
string
kind
required
string
Allowed values: promo_code download physical
reached
required

Whether their count reaches it.

boolean
next
required
Any of:
object
referrals
required
number
name
required
string
more
required
number
rewards
required

The rewards they earned, with where each is.

Array<object>
object
id
required
string
milestoneId
required
string
milestone
required
string
kind
required
string
Allowed values: promo_code download physical
status
required
string
Allowed values: issued needs_code awaiting_address to_send sent
code
required
string | null
address
required
Any of:
object
name
required
string
>= 1 characters <= 120 characters
line1
required
string
>= 1 characters <= 200 characters
line2
required
string
"" <= 200 characters
city
required
string
>= 1 characters <= 100 characters
region
required
string
"" <= 100 characters
postalCode
required
string
"" <= 20 characters
country
required
string
>= 2 characters <= 60 characters
sentBy
required
string | null
sentAt
required
Any of:
string format: date-time
note
required
string | null
createdAt
required
string format: date-time
pollAnswers

Each poll they answered, the latest first (200 at most).

Array<object>
object
pollId
required
string
question
required
string
option
required

Their answer’s place in the poll’s options.

number
answer
required
string
comment
required
string | null
at
required

When they answered, or last changed it.

string format: date-time
post
required
Any of:
object
id
required
string
name
required
string

Example

{
"contact": {
"source": "checkout",
"stage": "lead"
},
"fields": [
{
"entity": "contact",
"type": "text"
}
],
"subscription": {
"status": "pending",
"source": "form",
"tierSource": "stripe"
},
"posts": [
{
"status": "pending",
"openKind": "person"
}
],
"referredBy": {
"state": "pending"
},
"referrals": {
"referred": [
{
"state": "pending"
}
],
"milestones": [
{
"kind": "promo_code"
}
],
"rewards": [
{
"kind": "promo_code",
"status": "issued",
"address": {
"line2": "",
"region": "",
"postalCode": ""
}
}
]
}
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}