Extract
List newsletterSignup
List newsletterSignup
GET
https://example.thoughtindustries.com/incoming/v2/events/newsletterSignupRetrieves 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
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
kind | string | No | query | Filters results to a specific event kind. |
cursor | string | No | query | Opaque cursor string returned by a previous response; used to fetch the next page of results. |
startDate | ISO 8601 timestamp | No | query | Returns only events that occurred at or after this ISO 8601 timestamp. |
endDate | ISO 8601 timestamp | No | query | Returns only events that occurred at or before this ISO 8601 timestamp. |
notifiableId | uuid | No | query | Filters results to events associated with the specified notifiable object UUID. |
userId | uuid | No | query | Filters 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
| Field | Type | Description |
|---|---|---|
pageInfo | CursorPageInfo | Pagination metadata for the current result set. |
pageInfo.perPage | integer | Number of events returned per page. |
pageInfo.cursor | string | Opaque cursor to pass as the cursor parameter to retrieve the next page of results. |
pageInfo.total | integer | Total number of events matching the query. |
pageInfo.hasMore | boolean | Indicates whether additional pages of results are available. |
events | object[] | Array of newsletterSignup event objects matching the query. |