import { Crevio } from "@crevio/sdk";
const crevio = new Crevio({
apiKey: process.env["CREVIO_API_KEY"] ?? "",
});
async function run() {
const result = await crevio.webhookEndpoints.listEvents();
console.log(result);
}
run();[
"<string>"
]Returns a list of all available event types that can be subscribed to
import { Crevio } from "@crevio/sdk";
const crevio = new Crevio({
apiKey: process.env["CREVIO_API_KEY"] ?? "",
});
async function run() {
const result = await crevio.webhookEndpoints.listEvents();
console.log(result);
}
run();[
"<string>"
]API key in the format: Bearer {api_token}
List of event types
Was this page helpful?