Skip to main content

Get Customer Timeline

GET 

/api/support/agent/customers/:user/timeline

One customer, every ticket they raised, and a single merged history of the messages, timeline events and links on all of them — newest first. The history spans every tenant: a person who works for two accounts has one history here, matched on their user id or the requester email on the ticket. Internal notes are included and marked internal: true.

Required scope: support:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Path parameters

  • user (integer) — the customer's user id.

Query parameters

  • cursor (optional, string) — keyset cursor from the previous page's meta.next_cursor, formatted <epoch milliseconds>|<source>|<id>. A cursor that cannot be read is treated as the first page rather than an error
  • per_page (optional, integer) — entries per page, default 40, maximum 100

Response fields

  • data[]key (stable source:id, so pages can be de-duplicated), source (event, message or link), id, kind (the event name, message kind or link kind), at (ISO-8601), summary (a short label), detail (nullable — a message snippet of up to 160 characters, an event's from → to, or the link label), url (nullable — links only), internal (boolean, true for internal notes), ticket (the ticket summary shape below), actor ({id, name, label} or null), cursor (this row's keyset)
  • metanext_cursor (nullable) and has_more (boolean)
  • customerfirst page only (omitted whenever cursor is sent): id, name, email, last_seen_at (nullable), ticket_count, open_count, tenants[] ({id, name})
  • ticketsfirst page only: up to the 100 most recently active tickets this person raised, each {id, number, subject, status, status_label, priority, type, tenant_id, tenant_name, important_to_customer, assignee_name, created_at, updated_at, console_url}

Load the first page without a cursor to get the profile and the ticket list once, then page the history with cursor alone.

Authentication: Bearer token with the support:read scope, or an authenticated session, from a caller with an active support role. No tenant context — this endpoint is central.

Request

Responses

OK

Response Headers
    Content-Type