Skip to content

Contact activity: permanent summary and event detail

GET
/v1/contacts/{contact}/activity
curl --request GET \
--url https://api.replifier.com/v1/contacts/con_01hx0000000000000000000000/activity \
--header 'Authorization: Bearer <token>'

Range from (inclusive) to to (exclusive), of at most 366 days; by default, the last 90. On paid plans the detail is permanent (the oldest part is read from the archive); on Free only the last 30 days are visible (detailFrom). If there are more events than limit, or if the archive read cap was reached (a page may be empty), nextAfter continues the list.

contact
required
string
/^con_[a-z0-9]{26}$/

Example

con_01hx0000000000000000000000
from

From (inclusive), ISO 8601

string format: date-time

From (inclusive), ISO 8601

to

To (exclusive), ISO 8601

string format: date-time

To (exclusive), ISO 8601

limit
integer
>= 1 <= 1000
after

nextAfter from the previous page

string
/^[0-9T:.\-]+Z\|(evt_[A-Za-z0-9_]{1,120})?$/

nextAfter from the previous page

Activity

Media typeapplication/json
object
summary
required
object
firstOpenAt
required
string
nullable
lastOpenAt
required
string
nullable
firstClickAt
required
string
nullable
lastClickAt
required
string
nullable
countries
required
Array<string>
campaigns
required
Array<object>
object
campaignId
required
string
firstOpenAt
required
string
nullable
firstClickAt
required
string
nullable
events
required
Array<object>
object
id
required
string
type
required
string
campaignId
required
string
nullable
sendId
required
string
nullable
machine
required
boolean
machineReason
required
string
nullable
urlId
required
string
nullable
country
required
string
nullable
device
required
string
nullable
mailClient
required
string
nullable
occurredAt
required
string
nextAfter
required
string
nullable
detailFrom
required
string
nullable

Example generated

{
"summary": {
"firstOpenAt": "example",
"lastOpenAt": "example",
"firstClickAt": "example",
"lastClickAt": "example",
"countries": [
"example"
],
"campaigns": [
{
"campaignId": "example",
"firstOpenAt": "example",
"firstClickAt": "example"
}
]
},
"events": [
{
"id": "example",
"type": "example",
"campaignId": "example",
"sendId": "example",
"machine": true,
"machineReason": "example",
"urlId": "example",
"country": "example",
"device": "example",
"mailClient": "example",
"occurredAt": "example"
}
],
"nextAfter": "example",
"detailFrom": "example"
}

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