Skip to main content

CreateTicketType creates a new ticket type for the organization.

POST 

/api/v1/ticketing/types

Creates a new classification type that can be assigned to tickets. The key must be unique within the organization.

Parameters

  • name: Display name (required)
  • key: URL-safe identifier (required, unique, lowercase with underscores)

Response

Returns the created TicketType with generated ID and timestamps.

Errors

  • INVALID_ARGUMENT: Missing name/key or key format invalid
  • ALREADY_EXISTS: Key already exists in organization
  • PERMISSION_DENIED: Caller lacks ticket:admin permission

Request

Responses

A successful response.