Skip to main content
GET
/
itsm
/
tickets
/
{ticket_id}
Get ITSM Ticket by ID
curl --request GET \
  --url https://api.leen.dev/v1/itsm/tickets/{ticket_id} \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "status": "<string>",
  "vendor_attributes": {
    "id": "<string>",
    "vendor": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "type": "<string>",
    "type_id": "<string>",
    "status": "<string>",
    "priority": "<string>",
    "data": {
      "vendor": "JIRA",
      "id": "<string>",
      "statusCategory": "<string>",
      "customFields": {}
    }
  },
  "active": true,
  "type": "<string>",
  "type_id": "<string>",
  "parent_ticket_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "due_date": "2023-11-07T05:31:56Z",
  "closed_at": "2023-11-07T05:31:56Z",
  "assigned_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status_updated_at": "2023-11-07T05:31:56Z",
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tags": [
    "<string>"
  ],
  "priority": "<string>",
  "url": "<string>",
  "identifier": "<string>"
}

Authorizations

X-CONNECTION-ID
string
header
required
X-API-KEY
string
header
required

Path Parameters

ticket_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required

Leen's UUID for the Ticket

name
string
required

Name of the Ticket

status
string
required

Status of the Ticket

vendor_attributes
ITSM Ticket Vendor Attributes · object
required

Vendor-specific attributes of the Ticket

active
boolean | null

Whether the Ticket is active

type
string | null

Type of the Ticket (e.g., Epic, Story, Task, Bug)

type_id
string | null

Vendor-specific type ID (e.g., Jira issue type ID)

parent_ticket_id
string<uuid> | null

Parent Ticket ID (for sub-tasks)

description
string | null

Description of the Ticket

due_date
string<date-time> | null

Due date of the Ticket

closed_at
string<date-time> | null

Closing time of the Ticket

assigned_user_id
string<uuid> | null

User ID assigned to the Ticket

created_by_user_id
string<uuid> | null

User ID who created the Ticket

status_updated_at
string<date-time> | null

Last status update time

project_id
string<uuid> | null

Project ID the Ticket belongs to

tags
string[] | null

Tags associated with the Ticket

priority
string | null

Priority of the Ticket

url
string | null

URL of the Ticket

identifier
string | null

User-provided tracking identifier for the Ticket