EmailEvent
Get Email events
Retrieves Email events. Supports filtering, sorting and paging.
Filtering
The filter parameter accepts a list of semicolon-separated filters in the form: {fieldName}{operator}{fieldValue} Filter terms within a single filter parameter are joined by a logical AND. Separate filter parameters are joined by a logical OR.
Supported filter fields
| Field |
|---|
| identifyId |
| date |
| engagementId |
| emailTrackType |
| executionDate |
Operators
| Operator | Meaning |
|---|---|
| == | Exact match |
| != | Not equal |
| < | Less than |
| <= | Less than or equal |
| > | Greater than |
| >= | Greater than or equal |
| ~ | Matches string, supports wildcard characters * and ? |
| !~ | Not like, supports wildcard characters * and ? |
Examples:
| URI | Results |
|---|---|
| GET /v1/events/email?filter=identifyId==ABC123 | Email event matches for user with identifyId of 'ABC123'. |
Sorting
The sort parameter accepts a list of semi-colon separated fields names, each with an optional dash to imply descending sort order.
Supported sort fields
| Field |
|---|
| date |
Examples:
| URI | Results |
|---|---|
| GET /v1/events/email?sort=-date | Matches sorted by date descending. |
get/v1/events/email
Request
- Base URLhttps://app.aptrinsic.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
filterstring[]
Filters
pageSizeinteger
Number of events per page
scrollIdstring
Used for fetching subsequent pages after the first one. Returned in response.scrollId
sortstring
Sort fields
Response
Success
Example response
{
"results": [
{
"inferredLocation": {
"countryName": "United States",
"countryCode": "USA",
"stateName": "California",
"stateCode": "CA",
"city": "San Mateo",
"street": "101 Broadway",
"continent": "NA",
"coordinates": {
"latitude": 37.567147,
"longitude": -122.324211
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.