v1
latestOpenAPI 3.0.02026-08-06165119238.1 KBExport users and user events
Downloads all subscribers and subscriber events data in csv format.
- To download subscribers data, specify the attributes query parameter to true, and use the attr, appIds, appIdsRestrictive, grants, since, registeredSince, registeredBefore, foreignKeys query parameters.
- To download subscriber events data, specify the eventsExport query parameter to true, and use the from and to query parameters.
- For pagination, use the rpp and page query parameters
Query parameters
Whether or not to include core attributes
Comma-delimited list of user attribute filters in the following format: attributeKey.operation.value or attributeKey.operation.value1.value2.
Comma-delimited list of appIds to retrieve extended profile data for. If appIds is present and attributes isn't, only users with matching extended profiles will be returned. Use all to retrieve all extended profile data.
Only include users with a matching extended profile
Include information about entitlements
Users who were updated after the specified date
Users who have registered after the specified date
Users who have registered before the specified date
Include user foreign keys
Indicates to export the subscriber events csv file
Subscriber event after the specified date
Subscriber event before the specified date
Results per page
The requested page of results
Response
OK - User and user event data have been returned successfully
Example response
{
"results": [
[
{
"seq-no": 1,
"user": {
"identifiers": {
"email_address": "joe.blow@company.com"
},
"attributes": {
"first_name": "Joe",
"surname": "Blow"
}
},
"grants": {
"results": [
{
"grantId": "e196ad75-a6d0-471b-90b3-de3843dd7860",
"user_id": "e1812285-2f21-441e-8be4-b08835cd4b2c",
"account_id": "14515649-565f-4b1c-8346-eb98301c1d6b",
"entitlement_id": "b74df5c4-fded-492c-ad90-07646bded5db",
"startTime": "2022-06-01 00:00:00",
"endTime": "2022-12-31 23:59:59",
"product_id": "86abb44a-e6f2-4f9b-ac26-46ae0a13ed31",
"createdAt": "2022-05-31 23:59:59"
}
]
}
}
]
],
"meta": {
"count": 100,
"rpp": 20,
"paginated": true
},
"links": {
"first": {
"url": "https://example.com?rpp=10",
"page": 1
},
"last": {
"url": "https://example.com?rpp=10",
"page": 1
},
"previous": {
"url": "https://example.com?rpp=10",
"page": 1
},
"next": {
"url": "https://example.com?rpp=10",
"page": 1
}
}
}