Ticket Types
Everything about your ticket types
Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /ticket_types | List all ticket types |
POST | /ticket_types | Create a ticket type |
GET | /ticket_types/{ticket_type_id} | Retrieve a ticket type |
PUT | /ticket_types/{ticket_type_id} | Update a ticket type |
Example
List all ticket types, 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.ticketTypes.list();
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.