Activity Object


A dated record of something that happened with a contact — such as a message sent, a subscription change, or any other noteworthy event.

Properties
activityDatestringimmutableformat date-time

Date and time the activity occurred.


contactIdstringformat GUIDimmutable

ID of the contact the activity is associated with.


idstringRead-onlymaxLength 300

Activity ID.


messagestringRead-onlymaxLength 2000

Activity message. For activities created by Wix from a template, this is generated from the template's wording and the supplied params, and returned in the language specified by the language parameter in List Activities. For custom activities you create with Create Custom Activity, this is the free-text message you provided.


paramsStructRead-only

Parameter values used to compose the activity message, as a key-value map. For activities created by Wix from a template, keys correspond to the template's activityParams keys.


templateIdstringimmutableformat GUID

ID of the template used to create this activity. For custom activities you create with Create Custom Activity, this is the ID of the Generic template.

Did this help?