rfctl activities list#
List all activities with optional filtering.
Synopsis#
rfctl activities list [flags]Flags#
| Flag | Type | Default | Description |
|---|---|---|---|
--org | int | Filter by organization ID | |
--contact | int | Filter by contact ID | |
--deal | int | Filter by deal ID | |
--user | int | Filter by user ID | |
--type | string | Filter by activity type | |
--since | string | Filter activities since this date (RFC3339 format) | |
--before | string | Filter activities before this date (RFC3339 format) | |
--limit | int | 50 | Maximum number of results |
--offset | int | 0 | Number 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 10Output#
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"
}
]