ActivitySubject
The record the activity is about, and where to open it in Bonsai.
- idrequired
Id of the record in the public API when it has an endpoint there: an integer for documents, invoices, deals, projects, contacts and companies, a UUID for notes.
nullfor emails, meetings, forms and legacy documents.- Type: number
Id of the record in the public API when it has an endpoint there: an integer for documents, invoices, deals, projects, contacts and companies, a UUID for notes.
nullfor emails, meetings, forms and legacy documents.
- kindType: stringenumrequired
What kind of record the activity is about.
valuescontactcompanydocumentinvoicenotedealemailcalendar_eventformproject - titleType: string | nullrequired
The record title, or
nullwhen it has none or you may not see it, such as a meeting from a private calendar. - urlType: stringrequired
Opens the record in Bonsai. For an email, meeting, form or legacy contract, or a record that no longer exists, it opens the contact page instead, or the company page when there is no contact.