An activity event that occurred for a contact, such as creation, merge, or deletion.
The type of activity event.
Enum:"contact.created""contact.role_updated""contact.deleted""contact.merged""contact.merge_failed"
Example:"contact.created"
The unique identifier for the contact the event relates to.
Example:"6329bd9ffe4e2e91dc5d6a1e"
The role of the contact at the time of the event, either user, lead, or visitor. Omitted when not recorded.
Example:"user"
For merge events, the identifier of the contact that was merged away. Omitted on other events.
Example:"5f7f0d217c3f2e001a4e8b12"
For merge events, the identifier of the contact that was merged into. Omitted on other events.
Example:"6329bd9ffe4e2e91dc5d6a1e"
For failed events, the reason the activity did not succeed. Omitted on other events.
Example:"duplicate_external_id"
{ "type": "contact_activity", "id": "1717000000000.0000a1", "event_type": "contact.created", "contact_id": "6329bd9ffe4e2e91dc5d6a1e", "external_id": "user-42", "role": "user", "merge_source_id": "5f7f0d217c3f2e001a4e8b12", "merge_target_id": "6329bd9ffe4e2e91dc5d6a1e", "failure_reason": "duplicate_external_id", "created_at": 1717000000 }