Sample output on this page is shown as the
--json envelope, which is reproducible. Pretty
tables depend on your terminal width. See Output formats.neetodesk tickets show 1042 and
neetodesk tickets show 0f1e4c9a-6d3b-4f92-8a71-25b0c8d4e6f3 do the same thing. The number is
the one shown in the web app, and is usually the easier of the two to type.
tickets list
Lists the tickets you can access. Use it to triage a queue, or narrow it to the statuses you care about with a comma-separated--status.
assignee and customer are left out when the ticket has none, and fields lists the custom
ticket fields as field_name and field_value pairs.
tickets show
Returns one ticket in full, including its description and the agent, customer, group and tags it is associated with. The record has the same fields as atickets list entry and sits under
a ticket key in data.
Required arguments
<id>- the ticket’s number or UUID.
tickets create
Opens a ticket on behalf of a customer, identified by their email address. The description becomes the ticket’s first comment. If no customer with that email exists, one is created.
The response carries only the new ticket’s identifiers and its URL in the web app. With
--quiet just the id is printed.
tickets update
Changes a ticket’s subject, description, status, priority, category, assignee or group. Pass only the flags you want to change; the rest are left as they are. The updated ticket comes back in full under aticket key in data.
Required arguments
<id>- the ticket’s number or UUID.
tickets comments list
Lists a ticket’s comments in the order they were added, each with its type, author and body.Required arguments
<ticket-id>- the ticket’s number or UUID.
author of type system with no id or email. Each entry in
attachments carries the file’s id, filename and url.
tickets comments show
Returns one comment on a ticket, under acomment key in data.
Required arguments
<ticket-id>- the ticket’s number or UUID.<comment-id>- the comment’s UUID.
tickets comments create
Adds a comment to a ticket. Areply is published on the ticket where the customer reads it; a
note stays internal to the workspace. The comment is attributed to you, the signed-in user.
The new comment comes back under a comment key in data, and --quiet prints just its id.
Required arguments
<ticket-id>- the ticket’s number or UUID.
tickets drafts create
Saves an unsent draft on a ticket, replacing whichever draft the ticket already holds of that type. A reply drafted for an agent, named with--author-email, gets that agent’s saved
signature appended.
Required arguments
<ticket-id>- the ticket’s number or UUID.