To obtain the URL link to the PDF document, use the order status call. A specific order can be targeted using an order ID, or all orders within a certain time period can be retrieved. Order status API referenceDocumentation Index
Fetch the complete documentation index at: https://developer.kyckr.com/llms.txt
Use this file to discover all available pages before exploring further.
Polling
For documents with a delivery time, poll the system until the document becomes available. The order is ready when thestatus changes from Pending to Complete.
Polling once every minute is recommended, but more bespoke setups can be arranged depending on the jurisdictions and documents typically ordered.
Document status
Thestatus field describes the state of the document order.
| status | Description |
|---|---|
Pending | Order in progress |
Complete | Ready - Document ready to download |
Failed | Order failed |
Order status
When retrieving a list of product orders, all orders can be fetched. Specific orders can also be found usingorderId. The number of results returned can be controlled using pagination parameters (pageNumber, pageSize) and date filters (startDate, endDate).
Parameters:
orderId(specified in the order response)pageNumber(page number for pagination, default: 1)pageSize(number of results per page, default: 100)startDate(filter orders from this date, format: YYYY-MM-DD)endDate(filter orders until this date, format: YYYY-MM-DD)customerReference(filter by customer reference provided when ordering)
Example request by orderId
The example below uses an order ID to check the status and retrieve download linksExample response
Downloading documents
When the order status isComplete, the document can be downloaded using the URL provided in the links.document field. The download URL is a relative path that should be appended to the API base URL.
Example download request
format=pdf- Returns the document in PDF formatformat=json- Returns structured data in JSON format (if available)