Skip to content

List send rows with status and skip reason (cursor-paginated)

GET
/v1/campaigns/{campaign}/sends
curl --request GET \
--url 'https://api.replifier.com/v1/campaigns/cmp_01hx0000000000000000000000/sends?status=queued' \
--header 'Authorization: Bearer <token>'
campaign
required
string
/^cmp_[a-z0-9]{26}$/

Example

cmp_01hx0000000000000000000000
limit
string
cursor
string
status
string
Allowed values: queued sending accepted skipped failed

Send rows

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
contactId
required
string
email
required
string
listId
required
string
nullable
message
required

Plan message (M6.9) or A/B test variant; empty for a campaign without a test

string
ref
required

Client reference of the plan item

string
nullable
scheduledFor
required

Instant it is due to go out (send by time zone or optimal time, M6.6); null if it goes out as soon as possible

string
nullable
deferredBy
required

Connection warm-up moved it to a later day (scheduledFor)

string
nullable
Allowed values: warmup
scheduleBasis
required

Why that time: contact time zone, brand time zone (the contact has no valid one), optimal time from its history, or the default time (no history)

string
nullable
Allowed values: contact_tz brand_tz optimal default
status
required
string
Allowed values: queued sending accepted skipped failed
skipReason
required
string
nullable
lastError
required
string
nullable
attempts
required
number
providerMessageId
required
string
nullable
updatedAt
required
string
nextCursor
required
string
nullable

Example

{
"data": [
{
"deferredBy": "warmup",
"scheduleBasis": "contact_tz",
"status": "queued"
}
]
}

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