Recent captures
/api/v1/ticket_importsDar kapsamlı anahtarla da çalışır: ticket_import
Newest first. Doubles as the agent's "test connection" probe and its
"last N imported" panel; walk page.next_cursor to read back past the
first page, which is what a reconnecting agent needs after an outage.
Parametreler
Sorgu
limitintegervarsayılan 25Rows per page.
cursorstringOpaque; take it from the previous response's
page.next_cursor.
Yanıt · 200
dataobject[]zorunluAlanları gösterAlanları gizle
iduuidstatusenumşunlardan biri
parsedduplicatefailedproviderstringformatstringfilenamestringnull olabilirticket_sale_iduuidnull olabilirerrorstringnull olabilircaptured_atdate-timenull olabilircreated_atdate-timeduplicate_ticket_numbersstring[]null olabilirOn a ticket-grain duplicate, the document numbers this capture repeats.
pageobjectzorunluThe cursor for the list beside it. Re-send the same request with
?cursor=<next_cursor>whilehas_moreis true.next_cursorisnullon the last page.Alanları gösterAlanları gizle
next_cursorstringzorunlunull olabilirhas_morebooleanzorunlulimitintegerzorunlu
Yanıtlar
401Missing or invalid Bearer token403The key lacks the required scope, or the plan doesn't include API access429Rate limit exceeded
curl -X GET 'https://YOUR-CELL.lydira.com/api/v1/ticket_imports' \
-H 'Authorization: Bearer sek_YOUR_API_KEY'{
"data": [
{
"id": "9d2f7c3a-1b4e-4a7d-8e51-2c0f6b9a4d18",
"status": "parsed",
"provider": "amadeus",
"format": "amadeus_air",
"filename": "voucher.pdf",
"ticket_sale_id": "9d2f7c3a-1b4e-4a7d-8e51-2c0f6b9a4d18",
"error": "string",
"captured_at": "2026-03-14T09:30:00Z",
"created_at": "2026-03-14T09:30:00Z",
"duplicate_ticket_numbers": [
"string"
]
}
],
"page": {
"next_cursor": "MjAyNi0wMy0xNFQwOTozMDowMC4wMDAwMDBafDk0MQ",
"has_more": true,
"limit": 25
}
}