Skip to main content

List Customer Timeline

GET 

/api/crm/customers/:customer/timeline

List a customer's CRM history newest first, merged from: activities you can see, the customer's quotes and sales orders, and system entries (orders placed on the dealer's behalf through the buyer portal, statement and payment request emails).

Required scope: customers:read

Grant 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.

Query parameters (all optional):

  • filter: all (default), visits, calls, notes, tasks, documents (quotes and sales orders) or system
  • search (max 200): matches activity subject and notes, quote and sales order numbers, system entry descriptions, and email subject and recipient
  • per_page (1-100, default 25)
  • cursor: the next_cursor of the previous page. An expired or altered cursor returns 422

Each entry has kind and at (ISO-8601 UTC) plus one of: activity (the full activity plus comments_count, its number of coaching comments; read them with List Activity Comments), document (type quote or sales_order, id, reference, status, total, currency_code, route, and source_activity_id = the activity it was raised from, or null) or system (id, description, causer {id, name}, route). next_cursor is null on the last page.

Request​

Responses​

OK

Response Headers
    Content-Type