Skip to the page

List events

The events the workspace knows, newest first, each with how often it was sent and when last.

GET/v1/events
Needs the scopeevents:read

Query parameters

  • qstring

    Text to search for. Only items that contain it are returned. Up to 40 characters.

  • limitinteger

    How many items to return, from 1 to 100. Without it you get 25.

  • offsetinteger

    How many items to skip. Use it with limit to read the next page. Default: 0.

  • afterstring

    The id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.

  • beforestring

    The id of the first item you have. The answer ends with the item just before it. Give this or after, not both. Up to 64 characters.

Returns

  • object"list"

    Always list.

  • dataobject[]

    The items on this page.

  • data[].object"event"

    Always event.

  • data[].idstring

    The id of the event.

  • data[].namestring

    The name of the event, such as order.paid.

  • data[].schemaRecord<string, string> | null

    The type of each value its data has to carry: string, number, boolean or date. null takes any data.

  • data[].receivedinteger

    How many times it has been sent.

  • data[].lastReceivedAtstring | null

    When it was last sent, or null.

  • data[].createdAtstring

    When the event was first defined or sent.

  • totalinteger

    How many items match in all, on every page together.

  • hasMoreboolean

    Whether more items follow this page.