Inspect the API key
GET
Returns the API key that authenticated the request and the company it belongs to. Use it to verify that a key works.
apiKeyheader
AuthorizationBearer <token>A company API key created in Tabula.
OK
application/json- response
apiKey*company*curl -X GET "https://example.com/v1/auth/keys/inspect"{ "apiKey": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "scopes": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z" }, "company": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }}Overview
Endpoints, requests and responses
Upload a document POST
Uploads one invoice (PDF, or XML e-invoice such as XRechnung or ZUGFeRD), other document (PDF or XML), bank statement (PDF) or SEPA credit transfer file (pain.001 XML), up to 50 MB. Tabula reads the file after the request returns; poll the upload until its status is completed or failed. Also needs the `payments:write` scope when `documentType` is `payment_file`.