filing_items registered. Set FILING_ID to the ID of your managed filing.
The shell examples use Bash, curl, and jq.
Choose the upload location and owner
ReadGET /api/v2/managed-filings/{filingId}. Set FILING_SCOPE to the returned
scope, including its mc: prefix. Use it to initialize uploads for this filing.
To match the native filing Documents tab, use:
targetUri: "@mc/Documents": the Documents folder in the selected MC.scope: "mc:<MC UUID or stable slug>": selects the MC for@mcin v2.ownerType: "records.filings"andownerId: <filing UUID>on each uploaded file: associates the artifact with the filing record.
ownerType/ownerId, not
parentType. The server derives the artifact’s folder parentId from
targetUri; do not put the filing ID in that field.
The general upload API also supports non-MC destinations. Send scope only
for @mc destinations. V2 uploads do not use an MC header; completion uses
the destination captured in the upload token.
Upload a document
Save this filing-specific request asupload-request.json:
form.pdf:
POST /api/v2/files/uploads: initialize the upload.- PUT the bytes to the returned signed URL.
POST /api/v2/files/uploads/complete: confirm the upload and save the successful result’sartifact.idandartifact.name.
Add a filing item
CallPOST /api/v2/managed-filings/{filingId}/items with
Content-Type: application/json and the uploaded artifact IDs:
artifactId and artifactName from the same successful completion result
(artifact.id and artifact.name). Do not reuse the requested filename: Vault
may rename redline.pdf to redline (1).pdf when a file with that name exists.
The 201 response contains the created item. Save its id for updates.
Omit attachments when there are no related documents. Omit both schedule
fields to add preparation notes or other unscheduled working items.
The artifact’s owner identifies its record relationship. The filing item stores
the working document reference and any schedule position. Adding an item is not
a substitute for setting the upload location and owner.
Existing documents may belong to another record, such as a form edition. They
can be referenced without changing their owner if the caller has the required
access. The server checks access to every attached file. Working attachments
follow the file’s current content; submission recording pins versions later.
List filing items
UseGET /api/v2/managed-filings/{filingId}/items?limit=50. The response contains
items and nextCursor. Follow nextCursor with the same filing and limit until null.
Item cursors expire after 24 hours.
This lists filing items, not every filing-owned Vault document. Reading an item
does not itself grant permission to read its file bytes.
Update or remove an item
PATCH /api/v2/managed-filings/{filingId}/items/{itemId}: send a newartifactIdto replace the working file reference. Send both schedule fields as null to remove an assignment, or both values to assign a position. Updating an item does not change retained submission contents.DELETE /api/v2/managed-filings/{filingId}/items/{itemId}: remove the item. Returns204, retains file bytes, and rejects removal when dependencies require the item. A repeated delete returns404.