Skip to content

Contacts of the brand, most recent first (cursor pagination, never OFFSET); filters: status, emailPrefix, name, tag. With `name` the order is by lowercase name (byte order) and id; with only `emailPrefix`, by email (byte order); in both cases the cursor carries that key. If a contact changes name (or email) between two pages, it may be repeated or skipped: the cursor is a position in the order, not a snapshot of the list

GET
/v1/brands/{brand}/contacts
curl --request GET \
--url 'https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/contacts?status=active' \
--header 'Authorization: Bearer <token>'
brand
required
string
/^brd_[a-z0-9]{26}$/

Example

brd_01hx0000000000000000000000
limit
string
cursor
string
status
string
Allowed values: active unsubscribed bounced complained suppressed
emailPrefix

Email prefix (case-insensitive)

string
>= 1 characters <= 254 characters /^[^\x00-\x1f\x7f]*$/

Email prefix (case-insensitive)

name

Prefix of the first name, last name or full name

string
>= 1 characters <= 120 characters /^[^\x00-\x1f\x7f]*$/

Prefix of the first name, last name or full name

tag

Exact tag

string
>= 1 characters <= 64 characters /^[^\x00-\x1f\x7f]*$/

Exact tag

Contacts

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
brandId
required
string
email
required
string
emailDomain
required
string
firstName
required
string
nullable
lastName
required
string
nullable
locale
required
string
nullable
timezone
required
string
nullable
country
required

Two-letter uppercase ISO 3166-1 country code

string
nullable
referrer
required

Page or site the contact came from

string
nullable
notes
required

Internal notes about the contact

string
nullable
status
required
string
Allowed values: active unsubscribed bounced complained suppressed
statusInfo
required

Unified status with reason (if applicable) and recommended action as i18n keys

object
status
required
string
Allowed values: active unsubscribed bounced complained suppressed
reason
required

Full i18n key of the reason; null if not applicable

string
nullable
recommendedAction
required

Full i18n key of the recommended action

string
trackingConsent
required
string
Allowed values: full anonymous none
fields
required
object
key
additional properties
nullable
tags
required
Array<string>
source
required
string
createdAt
required
string
updatedAt
required
string
lastActivityAt
required
string
nullable
nextCursor
required
string
nullable

Example

{
"data": [
{
"status": "active",
"statusInfo": {
"status": "active"
},
"trackingConsent": "full"
}
]
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}