Skip to content

Emails sent to a contact, most recent first (cursor-paginated); each one opens its timeline

GET
/v1/contacts/{contact}/sends
curl --request GET \
--url https://api.replifier.com/v1/contacts/con_01hx0000000000000000000000/sends \
--header 'Authorization: Bearer <token>'
contact
required
string
/^con_[a-z0-9]{26}$/

Example

con_01hx0000000000000000000000
limit
string
cursor
string

Email, WhatsApp and SMS sends, most recent first

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
channel

Send channel

string
default: email
Allowed values: email sms whatsapp
campaignId
required
string
nullable
campaignName
required
string
nullable
status
required

Status: queued/sending/accepted/skipped/failed (email) or queued/sent/delivered/read/failed (messaging)

string
createdAt
required
string
origin
required

Where the send came from: a campaign or a per-contact plan (M6.9). Always campaign for WhatsApp and SMS

string
Allowed values: campaign plan
message
required

A/B test variant or, in a plan, the row message (empty for WhatsApp and SMS)

string
ref
required

Client reference of a plan row

string
nullable
skipReason
required
string
nullable
scheduledFor
required
string
nullable
updatedAt
required
string
nextCursor
required
string
nullable

Example

{
"data": [
{
"channel": "email",
"origin": "campaign"
}
]
}

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"
}
}