POST
/
activities
/
import

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
peopleActivities
object[]
required

An array of person IDs with an array of activities. Max 1000 activities across all people

Response

202 - application/json
activitiesCount
number
required

The total number of activities being imported

importId
string
required

A unique identifier for the import, can be used to look up status and will be included in the webhook

message
string
required
peopleCount
number
required

The number of people that activities are being imported for

errors
object[]

Partial errors that occurred during the import. This follows the same error schema as a 400 error but this list are the only ones that were not imported, the rest were