Getting startedAuthentication

Authentication

Creating an API connection and authentication with the api_key header.

Doklado Public API validates requests using an API key. Send the key in the HTTP header api_key.

Creating an API key

You need a valid Doklado subscription to generate an API key.

  1. In the web application, open Account Overview → API Connection.
  2. Click on + New API Link.
  3. Enter the name of the connection and set a daily or monthly limit, or an unlimited usage limit.
  4. Click on Generate a new connection and save the obtained key in the configuration of your integration.

You can find the detailed procedure and limit management in the API connection link.

Request headers

The following example loads the documents. Replace YOUR_API_KEY with your API key and the sample company identification number (IČO) 12345678 with your own company identification number (IČO).

curl --request POST --fail-with-body --silent --show-error \
  'https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/documents' \
  --header 'api_key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data-raw '{
  "data": {
    "organizationId": "12345678",
    "dateFrom": "2026-09-01T00:00:00Z",
    "dateTo": "2026-09-14T00:00:00Z",
    "dateType": "issue",
    "orderBy": "issue_date",
    "orderByDescending": false,
    "resourceTypes": [
      "receipt",
      "invoice"
    ]
  }
}'

The value of api_key is the key itself, without the Bearer prefix. The Authorization header is not an authentication header defined in this OpenAPI specification.

Store the key on the server, for example in the environment variable DOKLADO_API_KEY. Don't put it in a public repository, client JavaScript or URL, and don't write it in logs.

Choice of organization

The name organizationId does not have the same meaning in all operations:

OperationChoice of organization
/v2/documents, management of organizations /v3/organization/manage/…, uploading an unprocessed document, issuing and editing an invoice via v1company identification number (IČO) v data.organizationId according to the schema of operation
/v2/documents/invoice-issue, invoice-finalize, invoice-send and /v2/documents/invoice-attachments/…Internal Doklado Organization ID v data.organizationId
/v2/documents/invoice-send-statusOnly data.deliveryId. organizationId is not sent
/v1/documents/get-invoice-pdfcompany identification number (IČO) or internal organization ID
/v1/organization/bank-transactionsOrganization derived from API key. It is not sent in the body

company identification number (IČO) does not replace the internal ID. Patterns with a value of INTERNAL_ORGANIZATION_ID require your organization's internal identifier. The Invoicing section description refers to POST /v3/organization/manage/list, but the output schema refers to PublicOrganization.organizationId as company identification number (IČO). Therefore, for eInvoice operations via v2, verify that you are using a real internal ID. If you do not have an internal ID, verify it with support Doklado.

Banking transactions require a key tied to a specific organization. The specification does not specify the procedure for issuing this type of key. If necessary, contact Doklado support. The bad key has HTTP response 401. A key without organization binding has an HTTP response of 403.

Access verification

Run first call API. If you receive 403 or application code APP_UNAUTHENTICATED, check the key value, header name, and access to the desired organization. After the set limit is used up, the API may return 429. Details are in the API connections.

Source of technical parameters: Doklado OpenAPI specification.