---
title: "GET /api/v1/tickets/{id}/details"
method: GET
path: "/api/v1/tickets/{id}/details"
tags: ["Tickets"]
---

# GET /api/v1/tickets/{id}/details

`GET /api/v1/tickets/{id}/details`

Retrieves a ticket with details.

## Path parameters

- `id` string, uuid, required — A UUID v4 string that identifies an entity.

## Headers

- `authorization` string, required — The API key to use for authentication. Can be created in the api keys section on the workspace settings page.

## Response `200`

Retrieves a ticket.

- object
  - `assigneeEmail` string, nullable, required — The email of the user currently assigned to the ticket.
  - `assigneeId` string, uuid, nullable, required — The user ID currently assigned to the ticket.
  - `assigneeName` string, nullable, required — The display name of the user currently assigned to the ticket.
  - `assigneePicture` string, nullable, required — The picture of the user currently assigned to the ticket.
  - `channelId` string, uuid, nullable, required — The channel ID associated with the ticket chat.
  - `channelName` string, nullable, required — The display name of the channel associated with the ticket chat.
  - `channelType` 'api' | 'widget' | 'waha' | 'whatsapp' | 'instagram' | 'telegram' | 'null', nullable, required — The type of the channel associated with the ticket chat.
  - `chatId` string, uuid, required — The chat ID associated with the ticket.
  - `chatIsRemoved` boolean, required — Whether the chat associated with the ticket has been soft removed.
  - `chatOwnerId` string, uuid, required — The chat owner super identity ID associated with the ticket chat.
  - `chatPublicMemory` object, required — The shared chat memory snapshot associated with the ticket.
  - `completedAt` string, date-time, nullable, required — When the ticket was completed.
  - `createdAt` string, date-time, required — When the ticket was created.
  - `id` string, uuid, required — The ticket ID represented by this row.
  - `isOwnerBlocked` boolean, nullable, required — Whether the external chat owner is blocked.
  - `ongoingAt` string, date-time, nullable, required — When the ticket entered the ongoing state.
  - `ownerEmail` string, nullable, required — The email of the chat owner when the owner is a platform user.
  - `ownerEntity` 'externalUsers' | 'users', required — The owner entity type associated with the chat owner super identity.
  - `ownerIdentifier` string, nullable, required — The identifier of the chat owner when the owner is an external user.
  - `ownerName` string, nullable, required — The display name of the chat owner resolved from external users or users.
  - `pendingChatMessages` integer, required — The number of pending chat messages still waiting on the ticket.
  - `responderEntity` 'agents' | 'squads', required — The responder entity type assigned to the ticket chat.
  - `responderId` string, uuid, required — The responder ID assigned to the ticket chat.
  - `responderName` string, required — The display name of the responder assigned to the ticket chat.
  - `responderPicture` string, nullable, required — The picture of the responder assigned to the ticket chat.
  - `responderVersionId` string, uuid, nullable, required — The version ID of the responder entity for this ticket chat.
  - `responderVersionNumber` integer, nullable, required — The version number of the responder entity for this ticket chat.
  - `status` 'pending' | 'ongoing' | 'completed', required — The lifecycle status of the ticket.
  - `summary` string, required — The short summary of the ticket.
  - `tags` object[], required — The tags currently associated with the ticket.
    - `createdAt` string, date-time, required
    - `id` string, uuid, required — A UUID v4 string that identifies an entity.
    - `updatedAt` string, date-time, required
    - `activeTicketCount` integer, required — The number of distinct pending or ongoing tickets linked to this tag via ticket_tags or chat_tags.
    - `color` 'default' | 'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'brown', required — The color of the tag.
    - `description` string, required — The description of the tag.
    - `name` string, required — The display name of the tag.
    - `workspaceId` string, uuid, required — The workspace that owns this tag.
  - `ticketingTeamId` string, uuid, nullable, required — The ticketing team ID currently assigned to the ticket.
  - `ticketingTeamName` string, nullable, required — The display name of the ticketing team currently assigned to the ticket.
  - `ticketingTeamPicture` string, nullable, required — The picture of the ticketing team currently assigned to the ticket.
  - `workspaceId` string, uuid, required — The workspace ID associated with the ticket.

## Other responses

- `401` — Unauthorized.
- `404` — Ticket not found.

---

[API](https://skmtc.dev/zaia/apis/public-api.md) · [All operations](https://skmtc.dev/zaia/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zaia/public-api/revisions/58da3b2ba49f/schema)
