List all data events
🚧
Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days
The events belonging to a customer can be listed by sending a GET request to https://api.intercom.io/events with a user or lead identifier along with a type parameter. The identifier parameter can be one of user_id, email or intercom_user_id. The type parameter value must be user.
- https://api.intercom.io/events?type=user&user_id={user_id}
- https://api.intercom.io/events?type=user&email={email}
- https://api.intercom.io/events?type=user&intercom_user_id={id} (this call can be used to list leads)
The email parameter value should be url encoded when sending.
You can optionally define the result page size as well with the per_page parameter.
Query parameters
The value must be user
summary flag
Headers
Intercom API version.</br>By default, it's equal to the version set in the app package.
Response
Successful response
Example response
{
"type": "event.summary",
"email": "Sam.Sung@example.com",
"intercom_user_id": "63a0979a5eeebeaf28dd56ba",
"user_id": "62b997f288e14803c5006932",
"events": [
{
"name": "placed-order",
"first": "2014-01-16T23:12:21.000+00:00",
"last": "2014-01-16T23:12:21.000+00:00 ",
"count": 1,
"description": "A user placed an order"
}
]
}