Emails sent to a contact, most recent first (cursor-paginated); each one opens its timeline
GET
/v1/contacts/{contact}/sends
const url = 'https://api.replifier.com/v1/contacts/con_01hx0000000000000000000000/sends';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/contacts/con_01hx0000000000000000000000/sends \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”contact
required
string
Example
con_01hx0000000000000000000000Query Parameters
Section titled “Query Parameters”limit
string
cursor
string
Responses
Section titled “Responses”Email, WhatsApp and SMS sends, most recent first
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
channel
Send channel
string
campaignId
required
string
campaignName
required
string
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
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
skipReason
required
string
scheduledFor
required
string
updatedAt
required
string
nextCursor
required
string
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" }}