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

Extract

List newsletterSignup

List newsletterSignup

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

Retrieves a paginated list of newsletterSignup events. Emitted when a user signs up for a newsletter. Use the cursor and date parameters to filter or page through results.

Example request

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

Parameters

NameTypeRequiredLocationDescription
kindstringNoqueryFilters results to a specific event kind.
cursorstringNoqueryOpaque cursor string returned by a previous response; 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 the specified notifiable object UUID.
userIduuidNoqueryFilters results to events associated with 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.cursorstringOpaque cursor to pass as the cursor parameter to retrieve the next page of results.
pageInfo.totalintegerTotal number of events matching the query.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
eventsobject[]Array of newsletterSignup event objects matching the query.