Skip to main content
https://.thoughtindustries.com

Extract

List userLastActive7

List userLastActive7

GEThttps://example.thoughtindustries.com/incoming/v2/events/userLastActive7

Retrieves a paginated list of userLastActive7 events, which fire when a user has been inactive for 7 days. Filter results by date range, user, or notifiable resource using the available query parameters.

Example request

curl "https://example.thoughtindustries.com/incoming/v2/events/userLastActive7" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
kindstringYespathThe event kind to extract, supplied as the final path segment of the URL (userLastActive7 for this endpoint).
cursorstringNoqueryOpaque cursor string used to fetch the next page of results.
startDateintegerNoqueryReturns only events that occurred at or after this time, expressed as a Unix timestamp in milliseconds.
endDateintegerNoqueryReturns only events that occurred at or before this time, expressed as a Unix timestamp in milliseconds.

Example response

{
  "pageInfo": {
    "cursor": "string",
    "hasMore": true
  },
  "events": []
}

Response fields

FieldTypeDescription
pageInfoobjectCursor-based pagination metadata for the event stream.
pageInfo.cursorstringOpaque cursor to pass on the next request to retrieve the following page.
pageInfo.hasMorebooleanWhether additional pages of results are available.
eventsobject[]Array of event objects matching the query parameters.