rfctl activities list#

List all activities with optional filtering.

Synopsis#

rfctl activities list [flags]

Flags#

FlagTypeDefaultDescription
--orgintFilter by organization ID
--contactintFilter by contact ID
--dealintFilter by deal ID
--userintFilter by user ID
--typestringFilter by activity type
--sincestringFilter activities since this date (RFC3339 format)
--beforestringFilter activities before this date (RFC3339 format)
--limitint50Maximum number of results
--offsetint0Number of results to skip

Examples#

# List all activities
rfctl activities list

# Filter by organization
rfctl activities list --org 1

# Filter by type
rfctl activities list --type call

# Filter by date range
rfctl activities list --since "2024-01-01T00:00:00Z" --before "2024-01-31T23:59:59Z"

# Combine filters
rfctl activities list --org 1 --type call --limit 10

Output#

Returns JSON array of activities:

[
  {
    "id": 1,
    "type": "call",
    "subject": "Discovery call",
    "body": "Discussed product requirements...",
    "organization_id": 1,
    "user_id": 1,
    "contact_id": 1,
    "occurred_at": "2024-01-15T14:00:00Z",
    "created_at": "2024-01-15T14:30:00Z"
  }
]