Use this endpoint to read a customer’s activity timeline: the audit and lifecycle
events recorded against the customer, newest first. Each event exposes its
eventType, the entityType and entityId it concerns, a safe human-readable
summary, and when it occurredAt.
Pass an optional transactionId to restrict the timeline to a single transaction
on the customer.
The timeline is paged: each response holds up to pageSize events (default and
maximum 100). When nextCursor is present, pass it back as cursor to read
older events; a page may hold fewer events than pageSize, so keep paging until
nextCursor is absent.
Entries are limited to the event types the API key member’s customer View
shows, which follow the menu items of their roles, and by their audit, sales and
work order visibility, so the timeline may be partial. The raw event payload is
not exposed; the summary string is the safe, bounded description of each
event.
Lists a customer's activity timeline: audit and lifecycle events recorded against the customer, newest first and paged by cursor. Entries are limited to the event types the API key member's customer View shows and by their audit, sales and work order visibility, so the timeline may be partial. Read-only.
RequestListCustomerTimelineEventsRequest
ResponseListCustomerTimelineEventsResponse
ListCustomerTimelineEventsRequest
Field
Type
Description
customer_id
string
Customer whose activity timeline is returned.
transaction_id
optional string
Restrict the timeline to a single transaction on the customer.
page_size
int32
Maximum events to return. Defaults to 100 and is capped at 100.
cursor
optional string
Opaque continuation token from a previous response's next_cursor.
ListCustomerTimelineEventsResponse
Field
Type
Description
events
repeated CustomerTimelineEvent
Timeline events the API key's member may see, newest first. May hold fewer than page_size entries; keep paging until next_cursor is empty.
next_cursor
optional string
Present when more events are available; pass it back as cursor.
Related Types
CustomerTimelineEvent
Field
Type
Description
id
string
Stable identifier of the timeline event.
event_type
string
Machine-readable event type, for example "comment_created".
entity_type
string
Type of the entity the event concerns, for example "customer" or "order".
entity_id
string
Identifier of the entity the event concerns, when one applies.
summary
string
Short human-readable summary of the event, safe to display. Empty when the event recorded no summary.
occurred_at
int64
Unix timestamp in seconds when the event occurred.
transaction_id
optional string
Transaction the event belongs to, when it was recorded within one.