Skip to content

Orders

Get Orders History

Request

 GET https://api.lindata.ai/api/v1/orders

Headers

json
{
  "x-api-key": "api-key"
}

Body

json
{
  "data": [
    {
      "id": "...",
      "type": "...",
      "status": "...",
      "contacts": 0,
      "createdAt": 0
    }
  ],
  "meta": {
    "total": 1
  }
}
PropertyTypeDescription
dataarrayArray of contact order requests
idstringUnique identifier of the request
typestringTypeof the order
statusstringStatus of the order
contactsnumberTotal number of results for the order
createdAtnumberDate and time of the order creation in Unix timestamp format (UTC)
metaarrayOrders metadata
totalnumberTotal number of orders

Request

GET https://api.lindata.ai/api/v1/orders/exports/{orderUuid}?format={format}
ParameterTypeDescription
orderUuidstringOrder Id
formatstringFormat: csv, json, xml, txt

Response

json
{
  "url": "..."
}

Headers

json
{
  "x-api-key": "api-key"
}
PropertyTypeDescription
urlstringLink to the download file

Download file

INFO

You can take a download link from the response of the create export link request.