EntityActivityRequest

Request body for fetching activities related to a sales entity.

All fields are optional. When no fields are provided, returns the most recent activities for the entity using default pagination.

Examples: Fetch last 10 emails: json {"activityTypes": [2], "size": 10}

Fetch inbound emails in a date range:
```json
{
  "activityTypes": [2],
  "fromDatetime": "2024-01-01T00:00:00Z",
  "toDatetime": "2024-03-31T23:59:59Z",
  "direction": "inbound"
}
```
  • Filter by activity tags. None = no filter

  • Filter by activity types. 1=Call, 2=Email, 3=Text, 4=In-person meeting, 5=Online meeting, 6=Quote sent, 7=NDA sent, 8=NDA completed, 9=Note

  • Filter emails by direction (inbound/outbound). Non-email activities always pass through regardless of this filter

    values
    inboundoutbound
  • Boolean meeting filters. None = all defaults (everything included)

    Properties: 4
  • Start of date range filter (inclusive), applied on the activity notes date

  • When true, includes the 'raw' field in activity notes

  • Only return activities that include these participants

  • Maximum number of activities to return

  • End of date range filter (inclusive), applied on the activity notes date