Event Definitions
List event definitions
Retrieves a paginated list of event definitions in your account. Each definition includes its name, code, and metadata.
GET
This endpoint returns a paginated list of event definitions. Each definition contains its display name, code name, and creation timestamp.
Query parameters
Sort the results by one or more fields. Available fields:
createdAt: Creation timestampcodeName: Technical namedisplayName: Display name
- Single field:
orderBy=createdAtororderBy=-createdAt(descending) - Multiple fields:
orderBy[]=-createdAt&orderBy[]=displayName
Specifies the maximum number of items to return in a single response. The value must be between 1 and 100. If not specified, defaults to 20 items per page.
Specifies the starting point for the next page of results. The response will include items that come after (but not including) the object with this ID. To get the next page, use the ID of the last item from your previous request. The easiest way is to use the list object’s cursor field. If not provided, the API will return items from the beginning of the list.
Response
Returns a list object containing an array of event definition objects in theresults property. The response includes pagination information in the next and previous fields.