Skip to navigation

List events

Draft scaffold — not implemented or available in the API.

Lists events newest first, by createdAt (when Paid received them), ties broken by id. Without a createdAt range it covers the last 30 days. Filter by customer, customerUnit, product, eventName, correlationId or dedupeKey. An event can take a few seconds to appear after it’s created; retrieve it by ID to read it straight away.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Headers

Paid-BetaenumRequired

This endpoint is in the events=v1 beta. Send this header to use it.

Allowed values:

Query parameters

correlationIdstringOptional1-255 characters
Your stable identifier, 1 to 255 characters.
createdAt[gte]datetimeOptional

Inclusive start of the receive window. Defaults to 30 days before createdAt[lt].

createdAt[lt]datetimeOptional
Exclusive end of the receive window. Defaults to now.
cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

customerstringOptional1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
customerUnitstringOptional1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
dedupeKeystringOptional1-255 characters
Your stable identifier, 1 to 255 characters.
eventNamestringOptional1-255 characters

The event’s name, such as ticket.closed.

limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.
productstringOptional1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.

Response

200
objectenum

The type of object. Always list.

Allowed values:
datalist of objects
The events on this page.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error