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"
}
```
- activitiesType: array of stringnullable
Tags Filter by activity tags. None = no filter
- activityType: array of ActivityTypeenumnullable
Types 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
- directionType: ActivityDirectionenumnullable
Filter emails by direction (inbound/outbound). Non-email activities always pass through regardless of this filter
valuesinboundoutbound - flagsType: ActivityFlagsnullableProperties: 4
Boolean meeting filters. None = all defaults (everything included)
- fromType: stringFormat: date-timenullable
Datetime Start of date range filter (inclusive), applied on the activity notes date
- includeType: boolean
Raw When true, includes the 'raw' field in activity notes
- peopleType: array of stringnullable
Ids Only return activities that include these participants
- sizeType: integernullable
Maximum number of activities to return
- toType: stringFormat: date-timenullable
Datetime End of date range filter (inclusive), applied on the activity notes date

