Skip to content

Per-contact campaign variables with their source (cursor-paginated); filters: contactId, name

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

Example

cmp_01hx0000000000000000000000
limit
string
cursor
string
contactId
string
/^con_[a-z0-9]{26}$/
name
string
/^[a-z][a-z0-9_]{0,39}$/

Variables

Media typeapplication/json
object
data
required
Array<object>
object
contactId
required
string
name
required
string
value
required
string
origin
required
object
type
required

Ai = an AI via MCP (on behalf of the person); api_key = an API key; user = the person

string
Allowed values: ai api_key user
id
required

Person (usr_…) or key (key_…) it is attributed to

string
label
required

MCP client and permission, or the literal Llave de API for an API key

string
batchId
required

Write id; also present in the audit log (after.batchId)

string
updatedAt
required
string
nextCursor
required
string
nullable

Example

{
"data": [
{
"origin": {
"type": "ai"
}
}
]
}

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