Orders
Get Orders History
Request
GET https://api.lindata.ai/api/v1/ordersHeaders
json
{
"x-api-key": "api-key"
}Body
json
{
"data": [
{
"id": "...",
"type": "...",
"status": "...",
"contacts": 0,
"createdAt": 0
}
],
"meta": {
"total": 1
}
}| Property | Type | Description |
|---|---|---|
| data | array | Array of contact order requests |
| id | string | Unique identifier of the request |
| type | string | Typeof the order |
| status | string | Status of the order |
| contacts | number | Total number of results for the order |
| createdAt | number | Date and time of the order creation in Unix timestamp format (UTC) |
| meta | array | Orders metadata |
| total | number | Total number of orders |
Create export link
Request
GET https://api.lindata.ai/api/v1/orders/exports/{orderUuid}?format={format}| Parameter | Type | Description |
|---|---|---|
| orderUuid | string | Order Id |
| format | string | Format: csv, json, xml, txt |
Response
json
{
"url": "..."
}Headers
json
{
"x-api-key": "api-key"
}| Property | Type | Description |
|---|---|---|
| url | string | Link to the download file |
Download file
INFO
You can take a download link from the response of the create export link request.