Tabula API

List uploads

GET
/v1/uploads

Returns the company's uploads, newest first, including every file from an upload batch. Use it to find an upload's ID or to check what was uploaded recently.

Authorization

apiKey
headerAuthorizationBearer <token>

A company API key created in Tabula.

Query Parameters

limit?integer

Uploads per page, at most 100.

Range1 <= value <= 100
Default25
cursor?string

nextCursor of the previous page. Omit it for the first page.

Length1 <= length

Response Body

OK

application/json
  1. response
uploads*array<>

Newest first.

nextCursor*|

Pass as cursor to get the next page. Null on the last page.

curl -X GET "https://example.com/v1/uploads"
{  "uploads": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "batchId": "5579c111-9c50-47e2-af92-f16d52e63189",      "externalId": "string",      "fileName": "string",      "documentType": "auto",      "status": "queued",      "result": {        "type": "invoice",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "url": "http://example.com"      },      "error": {        "code": "unsupported_file_type",        "message": "string"      },      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}