Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get a ticket by ID

Retrieve details of a specific ticket

Get a ticket by ID

get

Retrieves a ticket by ID with extended details including watchers

Authorizations
AuthorizationstringRequired

Harmony API bearer token.

Path parameters
ticket_idstringRequired
Query parameters
include_ai_insightsbooleanOptional

When true, enrich the response with AI category insights from auto-tagging. Off by default to avoid an extra remote call on callers that don't need it.

Default: false
include_linked_ticketsbooleanOptional

When true, enrich the response with linked external ITSM tickets. Off by default to avoid an extra remote call.

Default: false
include_harmony_ticket_linksbooleanOptional

When true, enrich the response with links to other Harmony tickets (related, parent/child, blocks/blocked by, duplicate, depends on). Off by default to avoid an extra query.

Default: false
Responses
200

Successful Response

application/json
idstringRequired
display_idstringOptional

User-facing id composed from the ticket's current type

Default: ""
titlestringRequired
descriptionstring · nullableOptional
ticket_typestring · enumRequiredPossible values:
prioritystring · enumRequiredPossible values:
sourcestring · enumRequiredPossible values:
statusstring · enumRequiredPossible values:
reporterstringRequired
created_bystringRequired
assigneestring · nullableOptional
assignee_sync_providerstring · nullableOptional

ITSM provider whose inbound sync set the current assignee, one of AssigneeSyncProvider. Null when the assignment was made in Harmony. Deliberately typed looser than the request field: a value written by a newer service-desk than the reader's SDK should render no badge, not fail deserialization for every consumer of the ticket.

desk_idstringRequired
subdesk_idstringRequired
created_atstring · date-timeRequired
updated_atstring · date-timeRequired
related_asset_idsstring · uuid[] · nullableOptional

List of asset IDs (UUIDs) associated with this ticket

thread_idstring · uuid · nullableOptional

Thread ID for the ticket conversation

service_catalog_item_idstring · uuid · nullableOptional
survey_ratinginteger · min: 1 · max: 5 · nullableOptional
resolved_atstring · date-time · nullableOptional

Timestamp when the ticket was moved to a resolved or closed status

response_sla_deadlinestring · date-time · nullableOptional
response_sla_completed_atstring · date-time · nullableOptional
resolution_sla_deadlinestring · date-time · nullableOptional
resolution_sla_completed_atstring · date-time · nullableOptional
resolution_business_secondsinteger · nullableOptional
response_business_secondsinteger · nullableOptional
sla_paused_atstring · date-time · nullableOptional
sla_total_paused_business_minutesintegerOptionalDefault: 0
approver_idsstring[]Optional
get/api/v1/tickets/{ticket_id}
GET /service-desk/api/v1/tickets/{ticket_id} HTTP/1.1
Host: api.harmony.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "text",
  "display_id": "",
  "title": "text",
  "description": "text",
  "ticket_type": "request",
  "priority": "low",
  "source": "slack",
  "status": "open",
  "reporter": "text",
  "created_by": "text",
  "assignee": "text",
  "assignee_sync_provider": "text",
  "desk_id": "text",
  "subdesk_id": "text",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "custom_fields": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "ticket_metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "checklist": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "text": "text",
      "completed": false,
      "completed_by": "text",
      "completed_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "kb_resolution": {
    "answer_summary": "text",
    "sources": [
      {
        "url": "text",
        "title": "text"
      }
    ],
    "chunks_count": 1,
    "confidence": 1,
    "queried_at": "2026-01-01T00:00:00.000Z"
  },
  "ai_insights": {
    "ticket_type": "text",
    "category": "text",
    "sub_category": "text",
    "entities": [
      "text"
    ],
    "symptoms": [
      "text"
    ],
    "edge_case_tags": [
      "text"
    ],
    "required_information_fields": [
      "text"
    ],
    "solution_flow": [
      {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    ],
    "resolution_insights": [
      "text"
    ],
    "user_request": "text",
    "user_intent": "text",
    "classified_at": "2026-01-01T00:00:00.000Z"
  },
  "workflows": [
    {
      "workflow_id": "text",
      "name": "text",
      "description": "text",
      "workflow_target": "text"
    }
  ],
  "tags": [
    {
      "id": 1,
      "desk_id": "text",
      "name": "text",
      "color": "text",
      "description": "text",
      "system_tag": true,
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "related_asset_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "thread_id": "123e4567-e89b-12d3-a456-426614174000",
  "service_catalog_item_id": "123e4567-e89b-12d3-a456-426614174000",
  "survey_rating": 1,
  "resolved_at": "2026-01-01T00:00:00.000Z",
  "response_sla_deadline": "2026-01-01T00:00:00.000Z",
  "response_sla_completed_at": "2026-01-01T00:00:00.000Z",
  "resolution_sla_deadline": "2026-01-01T00:00:00.000Z",
  "resolution_sla_completed_at": "2026-01-01T00:00:00.000Z",
  "resolution_business_seconds": 1,
  "response_business_seconds": 1,
  "sla_paused_at": "2026-01-01T00:00:00.000Z",
  "sla_total_paused_business_minutes": 0,
  "itsm_sub_tickets": [
    {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ],
  "watchers": [
    {
      "id": 1,
      "watcher_id": "text",
      "notification_reply_id": "123e4567-e89b-12d3-a456-426614174000",
      "source": "assignee",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "attachments": [
    {
      "id": "text",
      "filename": "text",
      "content_type": "text",
      "file_size": 1,
      "upload_status": "pending",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "approver_ids": [
    "text"
  ],
  "approval_run": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "status": "in_progress",
    "source_type": "text",
    "override": {
      "by_id": "text",
      "by_name": "text",
      "decision": "text",
      "reason": "text",
      "at": "2026-01-01T00:00:00.000Z"
    },
    "steps": [
      {
        "step_order": 1,
        "step_name": "text",
        "strategy": "text",
        "status": "text",
        "approvers": [
          {
            "employee_id": "text",
            "name": "text",
            "status": "text",
            "position": 1,
            "sent_at": "2026-01-01T00:00:00.000Z",
            "responded_at": "2026-01-01T00:00:00.000Z",
            "added_by": "text",
            "added_at": "2026-01-01T00:00:00.000Z"
          }
        ]
      }
    ]
  },
  "linked_tickets": [
    {
      "provider": "text",
      "provider_ticket_id": "text",
      "display_id": "text",
      "ticket_url": "text"
    }
  ],
  "harmony_ticket_links": [
    {
      "id": 1,
      "link_type": "duplicate_of",
      "linked_ticket": {
        "id": "text",
        "title": "text",
        "status": "open",
        "priority": "low",
        "assignee": "text"
      },
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}

Last updated

Was this helpful?