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

Extract

List subscriptionReactivation

List subscriptionReactivation

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

Retrieves a paginated list of subscription reactivation events. Each event is emitted when a learner's subscription is reactivated after a lapse or cancellation. Use cursor and date range parameters to filter and page through results.

Example request

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

Parameters

NameTypeRequiredLocationDescription
kindstringNoqueryFilters results to a specific event kind.
cursorstringNoqueryOpaque cursor value used to fetch the next page of results.
startDateISO 8601 timestampNoqueryReturns only events that occurred at or after this ISO 8601 timestamp.
endDateISO 8601 timestampNoqueryReturns only events that occurred at or before this ISO 8601 timestamp.
notifiableIduuidNoqueryFilters results to events associated with a specific notifiable resource, identified by UUID.
userIduuidNoqueryFilters results to events associated with a specific user, identified by 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 matching events across all pages.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
eventsobject[]Array of subscription reactivation event objects matching the query.