Skip to content

Find a contact by email (normalized); the email goes in the body, not in the URL

POST
/v1/brands/{brand}/contacts:lookup
curl --request POST \
--url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/contacts:lookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "example" }'
brand
required
string
/^brd_[a-z0-9]{26}$/

Example

brd_01hx0000000000000000000000
Media typeapplication/json
object
email
required
string
<= 254 characters

Example generated

{
"email": "example"
}

Contact

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

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