Skip to main content

Share a finished bulk download with another user.

POST/api/v1/bulk-downloads/{bulk_download_id}/sharedocuments:write

Needs Share Bulk Download Bundles. Gives the user an entry of their own for the same stored file (nothing is copied; the entry stays private). Only your own completed entries; sharing with yourself is refused. Sharing again with the same user answers their existing entry.

Scopedocuments:write
AsynchronousNo
MCP toolshare_bulk_download
Portal permissionsshare_bulk_download_bundles

Parameters​

NameInTypeRequiredDescription
bulk_download_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonBulkDownloadShareInput

Responses​

StatusDescriptionBody
200Success.application/json BulkDownloadShared or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflict, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

BulkDownloadShareInput​

FieldTypeRequiredDescription
user_idstringRequiredThe user who gets an entry of their own for the same stored file.

BulkDownloadShared​

FieldTypeRequiredDescription
bulk_download_idstringRequired
is_newbooleanRequiredfalse when the user already had an entry for this file.
shared_bulk_download_idstringRequiredThe other user's own entry; only they can read it.
shared_withUserRefRequired

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired