Get my support ticket
Returns one support ticket and its complete conversation only when the acting PAT/OAuth user is the ticket opener. A ticket belonging to another user is reported as not found.
/support/tickets/{ticketId}AuthorizationOAuth2 access token · headerrequiredapi:readAuthorizationBearer token (JWT) · headerrequiredticketIdstringrequiredSupport ticket UUID.
Ticket details and complete conversation.
createdAtstring<date-time>requiredWhen the ticket was opened.
idstringrequiredSupport ticket UUID.
lastMessageAtstring<date-time>requiredWhen the newest message was created.
lastMessageAuthorSidestringrequiredWhich side wrote the newest message.
UserAdminlastMessageTextBodystringrequiredPlain-text preview of the newest message.
messagesSupportMessageDto[]requiredComplete conversation ordered from oldest to newest.
Show propertiesHide properties
SupportMessageDtoauthorSidestringrequiredWhether the opener or the Leadtime team wrote the message.
UserAdminauthorUserIdobject | nullrequiredThe ticket opener user UUID for opener-authored messages. Null for Leadtime team messages.
bodystringrequiredMessage body rendered as HTML.
createdAtstring<date-time>requiredWhen the message was created.
idstringrequiredSupport message UUID.
manageAuthorobject | nullrequiredName and avatar of the Leadtime team member for team-authored messages. Never contains an email address.
Show propertiesHide properties
avatarobject | nullrequiredAvatar configuration for the Leadtime team member. Null when no avatar is configured.
Show propertiesHide properties
idstringrequiredStable avatar configuration identifier.
kindstringrequiredHow the support team member avatar is rendered.
generateduploadedleadtimeAgentoptionsobjectGenerated-avatar rendering options.
stylestringGenerated-avatar style when kind is generated.
adventurerbotttsinitialspersonasnotionistsdylanbottts-neutralnamestringrequiredDisplay name of the Leadtime team member.
textBodystringrequiredPlain-text message body for summaries and search.
statusstringrequiredCurrent ticket status.
OpenClosedtitlestringrequiredGenerated ticket title, or the immediate first-message fallback while generation is running.
titleIsGeneratingbooleanrequiredWhether a generated title is still being prepared.
unreadbooleanrequiredWhether the acting opener has an unread message from the Leadtime team.
userLastSeenAtobject<date-time> | nullrequiredWhen the ticket opener last viewed the conversation.
The ticket identifier is not a valid UUID.
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions
Ticket not found for the acting user.