Query
query TimelineEntries($customerId: ID!) {
timelineEntries(customerId: $customerId) {
edges {
cursor
node {
id
customerId
threadId
timestamp {
__typename
}
entry {
__typename
... on NoteEntry {
__typename
}
}
actor {
__typename
... on UserActor {
__typename
}
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Variables
{
"customerId": "id"
}Response
{
"data": {
"timelineEntries": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"customerId": "id",
"threadId": "id",
"timestamp": {
"__typename": "DateTime"
},
"entry": {
"__typename": "NoteEntry"
},
"actor": {
"__typename": "UserActor"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
timelineEntries
Returns a paginated list of all timeline entries for a customer, ordered from oldest to newest.
Timeline entries include every event, message, note, and automated activity that has occurred
across all of the customer’s threads. Supports cursor-based pagination via first/after
and last/before arguments.
QUERY
timelineEntries(customerId: ID!, first: Int, after: String, last: Int, before: String): TimelineEntryConnection!Arguments
customerId
ID!
required
first
Int
after
String
last
Int
before
String
Returns
edges
pageInfo
Query
query TimelineEntries($customerId: ID!) {
timelineEntries(customerId: $customerId) {
edges {
cursor
node {
id
customerId
threadId
timestamp {
__typename
}
entry {
__typename
... on NoteEntry {
__typename
}
}
actor {
__typename
... on UserActor {
__typename
}
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Variables
{
"customerId": "id"
}Response
{
"data": {
"timelineEntries": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"customerId": "id",
"threadId": "id",
"timestamp": {
"__typename": "DateTime"
},
"entry": {
"__typename": "NoteEntry"
},
"actor": {
"__typename": "UserActor"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

