Skip to content

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
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" } ] }'
plan
required
string
/^cmp_[a-z0-9]{26}$/

Example

cmp_01hx0000000000000000000000
Media typeapplication/json
object
items
required
Array<object>
>= 1 items <= 10000 items
object
contactId
string
<= 64 characters
email
string
<= 320 characters
message
required

Key of one of the plan’s messages

string
>= 1 characters <= 40 characters
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
>= 1 characters <= 120 characters

Example generated

{
"items": [
{
"contactId": "example",
"email": "example",
"message": "example",
"at": "2026-04-15T12:00:00Z",
"ref": "example"
}
]
}

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