Data Events
Everything about your Data Events
Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /events | List all data events |
POST | /events | Submit a data event |
POST | /events/summaries | Create event summaries |
Example
List all data events, with the TypeScript SDK:
ts
import { Intercom } from "@octridev/intercom";
const client = new Intercom({
// Optional: replaces the default server and any server an operation declares.
baseUrl: "https://api.intercom.io",
auth: { bearerAuth: process.env.API_TOKEN! },
});
const result = await client.dataEvents.list({
type: "type",
});
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.