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

Extract

List userLastActive31

List userLastActive31

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

Retrieves a paginated list of userLastActive31 events — emitted when a user has been inactive for 31 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/userLastActive31" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
kindstringNoqueryFilters events by kind, narrowing results to a specific event sub-type.
cursorstringNoqueryOpaque cursor string used to fetch the next page of results in a paginated response.
startDateISO 8601 timestampNoqueryReturns only events occurring on or after this ISO 8601 timestamp.
endDateISO 8601 timestampNoqueryReturns only events occurring on or before this ISO 8601 timestamp.
notifiableIduuidNoqueryFilters events to those associated with the specified notifiable resource UUID.
userIduuidNoqueryFilters events to those belonging to the specified user UUID.

Example response

{
  "data": {
    "APIEvents": {
      "pageInfo": {
        "perPage": 0,
        "cursor": "string",
        "total": 0,
        "hasMore": true
      },
      "events": [
        {}
      ]
    }
  }
}

Response fields

FieldTypeDescription
pageInfoCursorPageInfoPagination metadata for the current result set.
pageInfo.perPageintegerNumber of events returned per page.
pageInfo.cursorstringCursor value to pass in the next request to retrieve the following page of results.
pageInfo.totalintegerTotal number of events matching the query.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
eventsobject[]Array of userLastActive31 event objects matching the query.