List Activities
GET/api/crm/activities
List the CRM activities you can see: visits, calls, meetings, emails, notes and tasks. Newest first by default (by the activity's when: its start time, else its due date, else when it was created).
customers:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token with the customers scope and the crm_activities.index permission.
The CRM activities feature must be switched on for the account; otherwise every CRM endpoint returns 404.
Visibility: a user who may view all CRM activities sees every activity. Anyone else sees the activities they own plus every activity on a customer whose default sales rep is their own sales rep. An activity or customer outside that scope returns 404, never 403.
Filters (comma-separate several values):
- filter[type], filter[status], filter[owner_user_id], filter[sales_rep_id], filter[customer_id], filter[trip_id], filter[outcome]: match any of the values
- filter[starts_between]: from,to (YYYY-MM-DD, whole days in the account timezone) on the start time
- filter[due_between]: from,to (YYYY-MM-DD) on the due date
- filter[date.from] / filter[date.to]: on or after / on or before a day (YYYY-MM-DD), by the activity's when
- filter[period]: today, this_week, next_7_days or last_7_days (account timezone), by the activity's when
- filter[mine]=1: only activities you own
- filter[overdue]=1 or filter[overdue_tasks]=1: open tasks whose due date has passed
- filter[has_linked_document]: 1 = a quote or sales order was raised from the activity, 0 = none was
- filter[search] or search: subject, notes, next step, customer name or company
Advanced filters use filter[{column}.{operator}]=value:
- Text columns subject, notes, next_step, type, status, outcome, customer_name: contains, does_not_contain, is, is_not, is_one_of, is_not_one_of, starts_with, does_not_start_with, ends_with, does_not_end_with, is_empty, is_not_empty
- Numeric columns id, owner_user_id, trip_id: is, is_not, is_one_of, is_not_one_of, greater_than, less_than, greater_than_or_equal, less_than_or_equal, between, is_empty, is_not_empty
- Date columns starts_at, completed_at, created_at (date-times) and due_on (date): is, is_not, before, after, on_or_before, on_or_after, between, is_empty, is_not_empty, today, yesterday, tomorrow, past_week, past_month, past_year, next_week, next_month, next_year, days_ago, days_from_now, past_days, next_days
filter_groups: instead of filter[...] parameters, send a base64-encoded JSON tree of AND/OR groups over the same columns and operators, e.g. {"conjunction":"and","children":[{"type":"condition","condition":{"column":"type","operator":"is","value":"visit"}}]}. An unknown column or operator returns 400.
Allowed sorts: when (default, descending), starts_at, due_on, created_at, type, status, id, subject, outcome, customer (customer name), owner (owner user ID). Prefix with - for descending.
Pagination: page, per_page (default 10, max 200).
Activity fields: id; type (visit, call, meeting, email, note, task) and type_label; status (planned, completed, cancelled; a task uses planned for open); source (manual, import, recurrence, trip, system, calendar_google, calendar_microsoft); customer (id, name, one-line shipping address, city, phone, latitude/longitude of the geocoded shipping address, archived); contact (id, name, email, phone); owner, sales_rep and assigned_by (id, name; assigned_by is set when someone else logged it for the owner); subject and title (the subject, or e.g. "Visit: Example Customer 1" when there is none); notes; outcome (key, label); next_step, next_step_on; starts_at, ends_at (ISO-8601 UTC); timezone (IANA); all_day; due_on (YYYY-MM-DD, tasks); completed_at; cancel_reason; overdue (an open task past its due date); checkin (checked_in_at, checked_out_at, distance_m from the customer's geocoded address, accuracy_m, away_from_address when the distance exceeds the account's check-in distance warning, imprecise when accuracy is worse than 250 m and no distance was computed, auto_checked_out); trip (id, name, sequence); recurrence (group_id, interval_weeks, until) for a repeating visit; parent_activity_id (the activity a follow-up task came from); linked_documents (quotes and sales orders raised from this activity: type, id, reference, status, total, currency_code, route = the document's path in the app); follow_up_task (id, subject, due_on); created_at, updated_at; can (update, delete) for the calling user.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.