List send rows with status and skip reason (cursor-paginated)
GET
/v1/campaigns/{campaign}/sends
const url = 'https://api.replifier.com/v1/campaigns/cmp_01hx0000000000000000000000/sends?status=queued';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/campaigns/cmp_01hx0000000000000000000000/sends?status=queued' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”campaign
required
string
Example
cmp_01hx0000000000000000000000Query Parameters
Section titled “Query Parameters”limit
string
cursor
string
status
string
Responses
Section titled “Responses”Send rows
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
contactId
required
string
email
required
string
listId
required
string
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
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
deferredBy
required
Connection warm-up moved it to a later day (scheduledFor)
string
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
status
required
string
skipReason
required
string
lastError
required
string
attempts
required
number
providerMessageId
required
string
updatedAt
required
string
nextCursor
required
string
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" }}