Overview
NeetoDesk uses two types of identifiers for tickets:- Ticket ID - A unique UUID-based identifier required for API calls.
- Ticket Number - A sequential, user-friendly number for display and customer communication.
What is a Ticket ID?
A ticket ID is a unique UUID assigned to each ticket in your workspace. It’s required for making API requests that interact with specific tickets, such as retrieving ticket details, updating tickets, or adding comments. e.g.,123e4567-e89b-12d3-a456-426614174000
What is a Ticket Number?
A ticket number is a sequential identifier displayed in the NeetoDesk interface for each ticket in your workspace. Unlike ticket IDs, ticket numbers are user-friendly sequential numbers like#1
, #2
, #3
, etc., primarily used for display purposes and customer communication.
Getting Ticket Identifiers
There are two main ways to get ticket identifiers:- Using the API - Programmatically retrieve all tickets and their identifiers.
- From the URL - Extract the number directly from your browser’s address bar (ticket number only).
Method 1: Using the API Endpoint
The List all tickets API endpoint returns both ticket IDs and numbers along with other ticket information.Step-by-Step Instructions
-
Make the API request
Send a
GET
request to the List all tickets API endpoint, including your API key in the request header. -
Parse the response
The response will contain an array of tickets, each with both
id
andnumber
fields. Example: -
Extract the ticket identifiers
From this example:
- Ticket ID:
123e4567-e89b-12d3-a456-426614174000
- Ticket Number:
1
- Ticket ID:
The
tickets
array contains all tickets in your workspace. You can filter by subject, status, or other properties to find the specific ticket you need.Method 2: From the URL (Ticket Numbers Only)
Ticket numbers also appear in NeetoDesk interface URLs, making them easy to identify when viewing tickets in the web interface. For example, in the URL:Step-by-Step Instructions
- Navigate to your ticket Log into your NeetoDesk workspace and navigate to the ticket you want to work with.
- Locate the ticket URL Once you’re viewing the ticket, look at your browser’s address bar. The URL will contain the ticket number.
-
Extract the ticket number
The ticket number is found at the end of the URL path. Look for a pattern like:
The
{ticket-number}
part is what you need.
URL Examples
Here are some examples of how ticket numbers appear in URLs:URL Example | Ticket Number |
---|---|
https://mycompany.neetodesk.com/admin/tickets/1 | 1 |
https://support.neetodesk.com/admin/tickets/25 | 25 |
https://helpdesk.neetodesk.com/admin/tickets/150 | 150 |