Add up to 10,000 items (contact by id or email, message and exact time). Only while the plan is a draft; a plan with millions of items is submitted in several requests
POST
/v1/send-plans/{plan}/items
const url = 'https://api.replifier.com/v1/send-plans/cmp_01hx0000000000000000000000/items';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"items":[{"contactId":"example","email":"example","message":"example","at":"2026-04-15T12:00:00Z","ref":"example"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.replifier.com/v1/send-plans/cmp_01hx0000000000000000000000/items \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "items": [ { "contactId": "example", "email": "example", "message": "example", "at": "2026-04-15T12:00:00Z", "ref": "example" } ] }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”plan
required
string
Example
cmp_01hx0000000000000000000000Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
items
required
Array<object>
object
contactId
string
email
string
message
required
Key of one of the plan’s messages
string
at
required
Exact send date and time; one in the past goes out immediately
string format: date-time
ref
Customer reference to match the send with their system
string
Example generated
{ "items": [ { "contactId": "example", "email": "example", "message": "example", "at": "2026-04-15T12:00:00Z", "ref": "example" } ]}Responses
Section titled “Responses”How many were added, how many already existed and how many were skipped and why
Media typeapplication/json
object
added
required
number
duplicates
required
Items that already existed (same combination of plan, contact, message and time): repeating a request does not duplicate
number
skipped
required
Items that were skipped and why (visible in the rows with skipReason)
object
suppressed
required
number
frequency_cap
required
number
deferredByWarmup
required
Items that the connection’s warmup moved to a later day
number
Example generated
{ "added": 1, "duplicates": 1, "skipped": { "suppressed": 1, "frequency_cap": 1 }, "deferredByWarmup": 1}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" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
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" }}Conflict
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" }}