Skip to main content
POST
File a contact's past activities under its accounts

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

contact_id
string
required

The contact's id

Example:

"p_5f2c9a"

Body

application/json
accounts
string[]
required

The ids of the accounts to file the contact's past activities under, up to 100: accounts the contact is on now. Others are skipped

Required array length: 1 - 100 elements
Example:
window_days
integer
required

How many days back to reach, from 1 to 365

Required range: 1 <= x <= 365
Example:

90

Response

202 - application/json

Successful Response

accounts
string[]
required

The accounts the contact's activities are filed under: those sent that the contact is on, in the order sent

contact_id
string
required

The contact's id

status
string
required

The re-filing started; it runs in the background

Allowed value: "accepted"
window_days
integer
required

How many days back it reaches