Upload a document to a report as multipart form data (up to 10 MB). Target the report by its Kalepa report ID or by your own external_id in the report_id form field (auto-detected by shape; use id_type to force it, and org_group / sub_org_group to select a scope when targeting by external_id). Optionally set a client file type and tags. Returns the created file's ID and name; client_file_type and tags are echoed back only where enabled for your organization.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400The request is invalid, or the external_id in report_id matches more than one report (error code AMBIGUOUS_IDENTIFIER, in the response body at detail.code). Narrow with org_group / sub_org_group, or use the Kalepa report ID. id_type=uuid with a value that is not a Kalepa report ID, and an unknown id_type, are also 400.
401The bearer token is missing or invalid.
403The authenticated client is not permitted to access this resource (e.g. insufficient permissions or org-group scope).
404No report available to your API client matches report_id.
422The request was well-formed, but the server refused to process it.
500An unexpected error occurred.