Skip to content
WincoradevelopersBack to Wincora
API v1
TENANT API · V1

Create download grants

Purpose returns short-lived authorized download.

POST/api/v1/tenant/documents/{id}/download-grants

Authorization

Use a server-side API key with the listed grants and permitted resource access.

documents:read

Request headers

X-Api-Keyrequired
Your server-side integration credential.
Idempotency-Keyrequired
Stable key for this intended action. Reuse it for retries of the same request.

Path parameters

idstring · required
Opaque identifier in the authorized resource scope. Nested identifiers must belong to their parent resource.

Response

201Created

Returns the authorized resource or result for this operation. List results use items, nextCursor, and hasMore.

Behavior to account for

Only authorized, released content can be downloaded. Grant URLs expire and must not be stored as permanent file locations.

Errors

Authentication failures return 401 or 403. Inaccessible resources return 404. Business and idempotency conflicts return 409. Rate limits return 429 with retry guidance.

Error handling guide
Search the developer documentation
↑↓ NavigateEnter OpenEsc Close
Explore documentation