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.
| Scope | documents:write |
| Asynchronous | No |
| MCP tool | share_bulk_download |
| Portal permissions | share_bulk_download_bundles |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
bulk_download_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Request body
| Content type | Type |
|---|---|
application/json | BulkDownloadShareInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json BulkDownloadShared or object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | conflict, idempotency_in_progress | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
BulkDownloadShareInput
| Field | Type | Required | Description |
|---|---|---|---|
user_id | string | Required | The user who gets an entry of their own for the same stored file. |
BulkDownloadShared
| Field | Type | Required | Description |
|---|---|---|---|
bulk_download_id | string | Required | |
is_new | boolean | Required | false when the user already had an entry for this file. |
shared_bulk_download_id | string | Required | The other user's own entry; only they can read it. |
shared_with | UserRef | Required |
UserRef
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required |