/api/v1/tickets/{id}/details
const url = 'https://api.endless.zaia.app/api/v1/tickets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/details';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.endless.zaia.app/api/v1/tickets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/detailsRetrieves a ticket with details.
Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”A UUID v4 string that identifies an entity.
A UUID v4 string that identifies an entity.
Responses
Seção intitulada “Responses”Retrieves a ticket.
object
The email of the user currently assigned to the ticket.
The user ID currently assigned to the ticket.
The display name of the user currently assigned to the ticket.
The picture of the user currently assigned to the ticket.
The channel ID associated with the ticket chat.
The display name of the channel associated with the ticket chat.
The type of the channel associated with the ticket chat.
The chat ID associated with the ticket.
Whether the chat associated with the ticket has been soft removed.
The chat owner super identity ID associated with the ticket chat.
When the ticket was completed.
When the ticket was created.
The ticket ID represented by this row.
Whether the external chat owner is blocked.
When the ticket entered the ongoing state.
The email of the chat owner when the owner is a platform user.
The owner entity type associated with the chat owner super identity.
The identifier of the chat owner when the owner is an external user.
The display name of the chat owner resolved from external users or users.
The number of pending chat messages still waiting on the ticket.
The responder entity type assigned to the ticket chat.
The responder ID assigned to the ticket chat.
The display name of the responder assigned to the ticket chat.
The picture of the responder assigned to the ticket chat.
The version ID of the responder entity for this ticket chat.
The version number of the responder entity for this ticket chat.
The lifecycle status of the ticket.
The short summary of the ticket.
The tags currently associated with the ticket.
object
A UUID v4 string that identifies an entity.
The number of distinct pending or ongoing tickets linked to this tag via ticket_tags or chat_tags.
The color of the tag.
The description of the tag.
The display name of the tag.
The workspace that owns this tag.
The ticketing team ID currently assigned to the ticket.
The display name of the ticketing team currently assigned to the ticket.
The picture of the ticketing team currently assigned to the ticket.
The workspace ID associated with the ticket.
Example
{ "channelType": "api", "ownerEntity": "externalUsers", "responderEntity": "agents", "status": "pending", "tags": [ { "color": "default" } ]}Unauthorized.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}Ticket not found.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}