Create Files
POST/v1/files/batch
Describe up to 200 files at once and get one upload form per file, in order.
Each form works as the one POST /v1/files answers; then complete them
all with POST /v1/files/batch/complete. Every file goes to one folder:
folderId, or when it is left out the account's uploads folder for the
month, created on first use, where any member may add files.
All or nothing: a file of a refused type (415) or over the per-file limit
(413) refuses the whole batch, and the refusal names its index. The
storage quota and, where the plan sets one, the monthly allowance of new
bytes are checked against the batch's total: over the monthly allowance is
413 monthly_quota_exceeded with remainingBytes, monthlyBytes
and resetsAt. Previews do not count.
Request
Responses
- 201
- 403
- 404
- 422
Successful Response
error is feature_not_offered: files are not included for this account (feature is files), or the target is the account's capture folder and capture is not included (feature is capture). An account admin can switch either on.
Not found
Validation Error