Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt

Use this file to discover all available pages before exploring further.

Every zendesk.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Comments

list

comments.list List comments for a specific ticket Risk: read
await corsair.zendesk.api.comments.list({
  ticket_id: 12345
});
Input
NameTypeRequiredDescription
ticket_idnumberYes
pagenumberNo
per_pagenumberNo
Output
NameTypeRequiredDescription
commentsobject[]Yes
next_pagestringNo
previous_pagestringNo
countnumberNo
{
  id: number,
  type?: string | null,
  body?: string | null,
  html_body?: string | null,
  plain_body?: string | null,
  public?: boolean | null,
  author_id?: number | null,
  attachments?: any[] | null,
  created_at?: string | null
}[]

Tickets

create

tickets.create Create a new ticket Risk: write
await corsair.zendesk.api.tickets.create({});
Input
NameTypeRequiredDescription
subjectstringNo
descriptionstringNo
commentobjectNo
statusstringNo
prioritystringNo
requester_idnumberNo
assignee_idnumberNo
group_idnumberNo
organization_idnumberNo
tagsstring[]No
{
  body: string,
  public?: boolean,
  author_id?: number
}
Output
NameTypeRequiredDescription
ticketobjectYes
{
  id: number,
  url?: string | null,
  external_id?: string | null,
  created_at?: string | null,
  updated_at?: string | null,
  type?: string | null,
  subject?: string | null,
  raw_subject?: string | null,
  description?: string | null,
  priority?: string | null,
  status?: string | null,
  recipient?: string | null,
  requester_id?: number | null,
  submitter_id?: number | null,
  assignee_id?: number | null,
  organization_id?: number | null,
  group_id?: number | null,
  collaborator_ids?: number[] | null,
  follower_ids?: number[] | null,
  email_cc_ids?: number[] | null,
  forum_topic_id?: number | null,
  problem_id?: number | null,
  has_incidents?: boolean | null,
  is_public?: boolean | null,
  due_at?: string | null,
  tags?: string[] | null
}

delete

tickets.delete Delete a ticket by its ID Risk: destructive
await corsair.zendesk.api.tickets.delete({
  id: 12345
});
Input
NameTypeRequiredDescription
idnumberYes
Output
NameTypeRequiredDescription
idnumberNo

get

tickets.get Retrieve a ticket by its ID Risk: read
await corsair.zendesk.api.tickets.get({
  id: 12345
});
Input
NameTypeRequiredDescription
idnumberYes
Output
NameTypeRequiredDescription
ticketobjectYes
{
  id: number,
  url?: string | null,
  external_id?: string | null,
  created_at?: string | null,
  updated_at?: string | null,
  type?: string | null,
  subject?: string | null,
  raw_subject?: string | null,
  description?: string | null,
  priority?: string | null,
  status?: string | null,
  recipient?: string | null,
  requester_id?: number | null,
  submitter_id?: number | null,
  assignee_id?: number | null,
  organization_id?: number | null,
  group_id?: number | null,
  collaborator_ids?: number[] | null,
  follower_ids?: number[] | null,
  email_cc_ids?: number[] | null,
  forum_topic_id?: number | null,
  problem_id?: number | null,
  has_incidents?: boolean | null,
  is_public?: boolean | null,
  due_at?: string | null,
  tags?: string[] | null
}

list

tickets.list List tickets with pagination Risk: read
await corsair.zendesk.api.tickets.list({});
Input
NameTypeRequiredDescription
pagenumberNo
per_pagenumberNo
sort_bystringNo
sort_orderstringNo
Output
NameTypeRequiredDescription
ticketsobject[]Yes
next_pagestringNo
previous_pagestringNo
countnumberNo
{
  id: number,
  url?: string | null,
  external_id?: string | null,
  created_at?: string | null,
  updated_at?: string | null,
  type?: string | null,
  subject?: string | null,
  raw_subject?: string | null,
  description?: string | null,
  priority?: string | null,
  status?: string | null,
  recipient?: string | null,
  requester_id?: number | null,
  submitter_id?: number | null,
  assignee_id?: number | null,
  organization_id?: number | null,
  group_id?: number | null,
  collaborator_ids?: number[] | null,
  follower_ids?: number[] | null,
  email_cc_ids?: number[] | null,
  forum_topic_id?: number | null,
  problem_id?: number | null,
  has_incidents?: boolean | null,
  is_public?: boolean | null,
  due_at?: string | null,
  tags?: string[] | null
}[]

update

tickets.update Update an existing ticket Risk: write
await corsair.zendesk.api.tickets.update({
  id: 12345,
  subject: "Updated ticket subject"
});
Input
NameTypeRequiredDescription
idnumberYes
subjectstringNo
statusstringNo
prioritystringNo
requester_idnumberNo
assignee_idnumberNo
commentobjectNo
tagsstring[]No
{
  body: string,
  public?: boolean,
  author_id?: number
}
Output
NameTypeRequiredDescription
ticketobjectYes
{
  id: number,
  url?: string | null,
  external_id?: string | null,
  created_at?: string | null,
  updated_at?: string | null,
  type?: string | null,
  subject?: string | null,
  raw_subject?: string | null,
  description?: string | null,
  priority?: string | null,
  status?: string | null,
  recipient?: string | null,
  requester_id?: number | null,
  submitter_id?: number | null,
  assignee_id?: number | null,
  organization_id?: number | null,
  group_id?: number | null,
  collaborator_ids?: number[] | null,
  follower_ids?: number[] | null,
  email_cc_ids?: number[] | null,
  forum_topic_id?: number | null,
  problem_id?: number | null,
  has_incidents?: boolean | null,
  is_public?: boolean | null,
  due_at?: string | null,
  tags?: string[] | null
}

Users

create

users.create Create a new user Risk: write
await corsair.zendesk.api.users.create({
  name: "Jane Doe",
  email: "jane.doe@example.com"
});
Input
NameTypeRequiredDescription
namestringYes
emailstringYes
rolestringNo
external_idstringNo
activebooleanNo
Output
NameTypeRequiredDescription
userobjectYes
{
  id: number,
  url?: string | null,
  name: string,
  email?: string | null,
  created_at?: string | null,
  updated_at?: string | null,
  time_zone?: string | null,
  iana_time_zone?: string | null,
  phone?: string | null,
  shared_phone?: boolean | null,
  locale_id?: number | null,
  locale?: string | null,
  organization_id?: number | null,
  role?: string | null,
  verified?: boolean | null,
  external_id?: string | null,
  tags?: string[] | null,
  active?: boolean | null
}

delete

users.delete Delete a user by their ID Risk: destructive
await corsair.zendesk.api.users.delete({
  id: 12345
});
Input
NameTypeRequiredDescription
idnumberYes
Output
NameTypeRequiredDescription
idnumberNo

get

users.get Retrieve a user by their ID Risk: read
await corsair.zendesk.api.users.get({
  id: 12345
});
Input
NameTypeRequiredDescription
idnumberYes
Output
NameTypeRequiredDescription
userobjectYes
{
  id: number,
  url?: string | null,
  name: string,
  email?: string | null,
  created_at?: string | null,
  updated_at?: string | null,
  time_zone?: string | null,
  iana_time_zone?: string | null,
  phone?: string | null,
  shared_phone?: boolean | null,
  locale_id?: number | null,
  locale?: string | null,
  organization_id?: number | null,
  role?: string | null,
  verified?: boolean | null,
  external_id?: string | null,
  tags?: string[] | null,
  active?: boolean | null
}

list

users.list List users with pagination Risk: read
await corsair.zendesk.api.users.list({});
Input
NameTypeRequiredDescription
pagenumberNo
per_pagenumberNo
rolestringNo
Output
NameTypeRequiredDescription
usersobject[]Yes
next_pagestringNo
previous_pagestringNo
countnumberNo
{
  id: number,
  url?: string | null,
  name: string,
  email?: string | null,
  created_at?: string | null,
  updated_at?: string | null,
  time_zone?: string | null,
  iana_time_zone?: string | null,
  phone?: string | null,
  shared_phone?: boolean | null,
  locale_id?: number | null,
  locale?: string | null,
  organization_id?: number | null,
  role?: string | null,
  verified?: boolean | null,
  external_id?: string | null,
  tags?: string[] | null,
  active?: boolean | null
}[]

update

users.update Update an existing user Risk: write
await corsair.zendesk.api.users.update({
  id: 12345,
  name: "Jane Smith"
});
Input
NameTypeRequiredDescription
idnumberYes
namestringNo
emailstringNo
rolestringNo
external_idstringNo
activebooleanNo
Output
NameTypeRequiredDescription
userobjectYes
{
  id: number,
  url?: string | null,
  name: string,
  email?: string | null,
  created_at?: string | null,
  updated_at?: string | null,
  time_zone?: string | null,
  iana_time_zone?: string | null,
  phone?: string | null,
  shared_phone?: boolean | null,
  locale_id?: number | null,
  locale?: string | null,
  organization_id?: number | null,
  role?: string | null,
  verified?: boolean | null,
  external_id?: string | null,
  tags?: string[] | null,
  active?: boolean | null
}