Zum Inhalt springen
Leadtime
Deutsch
Esc
navigierenöffnen⌘Jvorschau

List my support tickets

Lists only support tickets opened by the acting PAT/OAuth user, ordered by newest message first. Tickets opened by workspace colleagues are never returned.

GET/support/tickets
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:read
or
AuthorizationBearer token (JWT) · headerrequired
Responses
200The acting user’s support tickets.
Array of SupportTicketDto
createdAtstring<date-time>required
When the ticket was opened.
idstringrequired
Support ticket UUID.
lastMessageAtstring<date-time>required
When the newest message was created.
lastMessageAuthorSidestringrequired
Which side wrote the newest message.
Allowed:UserAdmin
lastMessageTextBodystringrequired
Plain-text preview of the newest message.
statusstringrequired
Current ticket status.
Allowed:OpenClosed
titlestringrequired
Generated ticket title, or the immediate first-message fallback while generation is running.
titleIsGeneratingbooleanrequired
Whether a generated title is still being prepared.
unreadbooleanrequired
Whether the acting opener has an unread message from the Leadtime team.
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X GET "https://leadtime.app/api/public/support/tickets" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
[
  {
    "createdAt": "2019-08-24T14:15:22Z",
    "id": "5532b85e-bef7-48c9-9272-9de7c63a1234",
    "lastMessageAt": "2019-08-24T14:15:22Z",
    "lastMessageAuthorSide": "User",
    "lastMessageTextBody": "The project page stays blank after I select it.",
    "status": "Open",
    "title": "Project page stays blank",
    "titleIsGenerating": true,
    "unread": true
  }
]