List of Events

Retrieve a list of Events

Parameter

Accessible via URL https://api.channel.io/open/v4/users/{userId}/events and HTTP GET

ParameterExampleRequiredDescriptionParameter type
userId5ec3a01fe2b3f4d2cbc5RequiredID of UserPath
sortOrderdesc (or asc)OptionalSorting order. Default value is desc. (descending order means latest message first)Query
since123124122OptionalEpoch time in microseconds of the first message to be retrievedQuery
limit25OptionalRestrict the maximum number of webhooks to be retrievedQuery

Example

GET https://api.channel.io/open/v4/users/5ec3a01fe2b3f4d2cbc5/events

Response

Returns a list of Event objects.

{
  "prev": "string",
  "next": "string",
  "events": [
    {
      "userId": "string",
      "id": "string",
      "channelId": "string",
      "name": "string",
      "property": {
        "additionalProp1": {},
        "additionalProp2": {},
        "additionalProp3": {}
      },
      "createdAt": 1624414650058,
      "expireAt": 1624414650058,
      "version": 0
    }
  ]
}