Data Attributes
Everything about your Data Attributes
Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /data_attributes | List all data attributes |
POST | /data_attributes | Create a data attribute |
PUT | /data_attributes/{data_attribute_id} | Update a data attribute |
Example
List all data attributes, 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.dataAttributes.list();
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.