Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.runalloy.com/llms.txt

Use this file to discover all available pages before exploring further.

Events Methods

List Events

Lists all events associated with the user.
JavaScript
const apiClient = new Embedded("YOUR_API_KEY");
await apiClient.identify(userId);
let data = await apiClient.Events.list();

Run Event

Runs a specific event with optional data.
JavaScript
const apiClient = new Embedded("YOUR_API_KEY");
await apiClient.identify(userId);
let eventName = "Get Customers";
let bodyData = { name: "Gregg" };
let data = await apiClient.Events.run(eventName, bodyData);