Endpoint overview
Overview of 12 public Doklado SAPI and SAPI+ operations.
The reference covers 12 public Doklado SAPI and SAPI+ operations. The base server and paths are listed in SAPI+ overview. Operation names in the REST API reference start with a capital letter.
| Method | Endpoint | Purpose |
|---|---|---|
POST | /v1/sapi/auth/token | Obtaining an access token |
GET | /v1/sapi/auth/token/status | Token validity check |
POST | /v1/sapi/auth/renew | Token renewal |
POST | /v1/sapi/auth/revoke | Token revocation |
POST | /v1/sapi/document/send | Sending an XML eInvoice |
GET | /v1/sapi/document/receive | List of received documents |
GET | /v1/sapi/document/receive/{documentId} | Detail and XML document |
POST | /v1/sapi/document/receive/{documentId}/acknowledge | Confirmation of successful download |
GET | /v1/sapi-plus/document/send/{providerDocumentId}/status | Delivery status and TDD reporting |
GET | /v1/sapi-plus/document/send/{providerDocumentId}/receipts | List of receipts of the sent document |
GET | /v1/sapi-plus/document/send/{providerDocumentId}/receipts/{receiptId} | Detail or download MLS/AS4 receipts |
GET | /v1/sapi-plus/participant/lookup | Participant search by tax identification number (DIČ) |
Scope of the public interface
renew renews the token with refresh_token; revoke serves to cancel it. For examples of requests, see the tutorial Authentication and Tokens. You get client credentials when activating.
Sending and receiving documents belong to SAPI (/v1/sapi/document/...). The SAPI+ extensions provide the status of the sent document, the list and download of receipts under /v1/sapi-plus/document/send/... and the search for the participant GET /v1/sapi-plus/participant/lookup. Internal verification for the web application is not part of the public interface.
You can find the procedure for the three new operations in the Status of sending and receipts. They require a Bearer token with authorization document:send, a header X-Peppol-Participant-Id from the original sender, and providerDocumentId from the send response. Delivery status and TDD reporting result are returned separately; a successful load may return HTTP 200 even with a rejected document.
The three state operations and their schemas are based on the current Swagger Doklado SAPI PLUS. The existing participant search remains as an additional operation from the previous documentation; this Swagger does not list it.
The reference does not contain an endpoint for managing webhooks or testing them.
The webhook is outgoing POST from Doklado to the client URL. Its structure is in the tutorial Webhooky; it is not another endpoint on the Doklado API server.
Rate limits according to endpoints
| Endpoint | Number of calls per minute |
|---|---|
POST /v1/sapi/auth/token | 5 |
POST /v1/sapi/auth/renew | 5 |
GET /v1/sapi/auth/token/status | 100 |
POST /v1/sapi/auth/revoke | 100 |
POST /v1/sapi/document/send | 30 |
GET /v1/sapi/document/receive | 100 |
GET /v1/sapi/document/receive/{documentId} | 100 |
POST /v1/sapi/document/receive/{documentId}/acknowledge | 100 |
GET /v1/sapi-plus/participant/lookup | 100 |
GET /v1/sapi-plus/document/send/{providerDocumentId}/status | 100 |
GET /v1/sapi-plus/document/send/{providerDocumentId}/receipts | 100 |
GET /v1/sapi-plus/document/send/{providerDocumentId}/receipts/{receiptId} | 100 |
The table shows the current limits. In the short term, at full capacity, up to 50 sending calls and up to 200 lookup calls or other routes with a default limit can be made.
HTTP 429 is returned when the limit is exceeded. Repeat the request with gradually increasing intervals and respect Retry-After if it is given.
How to read a reference
The reference lists operation inputs, field descriptions, and example responses. When renewing and canceling the token, the format of the answers is not defined in the current documents. Replace the example identifiers and XML with your own valid data.