Skip to content

Create a contact (email unique per brand: 409 if it already exists); optionally subscribes it to lists

POST
/v1/brands/{brand}/contacts
curl --request POST \
--url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "example", "firstName": "example", "lastName": "example", "locale": "es-MX", "timezone": "example", "country": "example", "referrer": "example", "notes": "example", "trackingConsent": "full", "fields": { "additionalProperty": "example" }, "tags": [ "example" ], "lists": [ "example" ], "consent": { "source": "form", "ip": "example", "userAgent": "example", "text": "example", "textVersion": "example", "occurredAt": "2026-04-15T12:00:00Z" } }'
brand
required
string
/^brd_[a-z0-9]{26}$/

Example

brd_01hx0000000000000000000000
Media typeapplication/json
object
email
required
string
<= 254 characters
firstName
string
nullable <= 120 characters /^[^\x00-\x1f\x7f]*$/
lastName
string
nullable <= 120 characters /^[^\x00-\x1f\x7f]*$/
locale
string
nullable
Allowed values: es-MX es-ES es-AR en pt-BR fr de it ja ko zh-CN ar
timezone
string
nullable <= 64 characters
country

Two-letter ISO 3166-1 country code

string
nullable /^[A-Za-z]{2}$/
referrer
string
nullable <= 500 characters /^[^\x00-\x1f\x7f]*$/
notes
string
nullable <= 5000 characters /^[^\x00-\x08\x0b\x0c\x0e-\x1f\x7f]*$/
trackingConsent
string
Allowed values: full anonymous none
fields
object
key
additional properties
nullable
tags
Array<string>
<= 50 items
lists
Array<string>
<= 50 items
consent
object
source
required
string
Allowed values: form api import panel
ip
string
<= 64 characters
userAgent
string
<= 1000 characters
text
string
<= 5000 characters
textVersion
string
<= 64 characters
occurredAt
string format: date-time

Contact created

Media typeapplication/json
object
id
required
string
brandId
required
string
email
required
string
emailDomain
required
string
firstName
required
string
nullable
lastName
required
string
nullable
locale
required
string
nullable
timezone
required
string
nullable
country
required

Two-letter uppercase ISO 3166-1 country code

string
nullable
referrer
required

Page or site the contact came from

string
nullable
notes
required

Internal notes about the contact

string
nullable
status
required
string
Allowed values: active unsubscribed bounced complained suppressed
statusInfo
required

Unified status with reason (if applicable) and recommended action as i18n keys

object
status
required
string
Allowed values: active unsubscribed bounced complained suppressed
reason
required

Full i18n key of the reason; null if not applicable

string
nullable
recommendedAction
required

Full i18n key of the recommended action

string
trackingConsent
required
string
Allowed values: full anonymous none
fields
required
object
key
additional properties
nullable
tags
required
Array<string>
source
required
string
createdAt
required
string
updatedAt
required
string
lastActivityAt
required
string
nullable

Example

{
"status": "active",
"statusInfo": {
"status": "active"
},
"trackingConsent": "full"
}

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