List all Usage Events
Changed onList all Usage Events
Request
- Base URLhttps://sandbox.sequencehq.com/api
- URLhttps://sandbox.sequencehq.com/api/usage-events
- Authnone declared. Required headers: Authorization
Query parameters
Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.after or pagination.before to retrieve each page.
Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.after or pagination.before to retrieve each page.
Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
Pagination offset. To retrieve a non-contiguous page, use this parameter to specify the offset to fetch relative to pagination.after or pagination.before.
Filter events by customer alias
Include unmapped aliases only
Filter events by type
Filter events by event id
Filter events by timestamp before
Filter events by timestamp after
Sort column. Default: creation time.
Headers
Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
Response
OK
Example response
{
"items": [
{
"id": "0184421a-8202-70ea-a729-30308a40bbf7",
"customerEventId": "event-id-H4twuTWpYx1rkd8OMTki2hTUcZ",
"customerAlias": "customer-id-2H4u5BBwBWsS5V2sroRFqJfTXpW",
"eventType": "message-sent",
"sequenceAccountId": "af9b5988-1d7b-45f6-a188-326df5e59b24",
"eventTimestamp": "2022-10-01T00:00:00Z",
"eventProperties": {
"length": 500,
"type": "text_message"
}
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status
- breaking
- warning
deleted the
headerrequest parametersequence-version - info
added the new optional
headerrequest parameterSequence-Version - info
for the
queryrequest parameterlimit, the format was generalized fromint32to no format - info
for the
queryrequest parameteroffset, the format was generalized fromint64to no format
- warning