Ticket Type Attributes

Everything about your ticket type attributes

Operations

MethodEndpointDescription
POST/ticket_types/{ticket_type_id}/attributesCreate a new attribute for a ticket type
PUT/ticket_types/{ticket_type_id}/attributes/{attribute_id}Update an existing attribute for a ticket type

Example

Create a new attribute for a ticket type, 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.ticketTypeAttributes.create();
console.log(result);
Nine more languages

The same call exists in every SDK. See SDKs for the other nine.