Attach a document to a related entity in the resolved organization, as multipart/form-data with the file in the file part and relatedEntityId and relatedEntityType as form fields. Returns the stored attachment's metadata. relatedEntityType is EXEMPTION, FILING or FILING_DOCUMENT. FILING_DOCUMENT is a supporting file on a filing that a partner firm files, and a filing takes any number of them. Only the partner that files the return may upload a FILING_DOCUMENT: the partner's portfolio key, or a partner user who can see the organization. The organization's own users and organization API keys cannot. Returns 404 if the related entity does not exist or belongs to an organization your credential cannot access, or if the filing for a FILING_DOCUMENT is not filed by a partner firm, and 403 if your credential cannot upload a FILING_DOCUMENT for the partner. A FILING_DOCUMENT must be a PDF, PNG or JPEG whose content and extension match its type, else 422. The file must be at most 10 MB.
Release date, as YYYY-MM-DD. Defaults to 2026-07-21.
Target organization id (Organization-Id selector).
Target connection id; resolves to its organization.
Platform entity id; resolves to a connection's organization.
Optional source to disambiguate an Entity-Id.
Kintsugi's unique identifier for the attachment.
Name the file was uploaded under.
Media type of the file.
Size of the file in bytes.
When the attachment was uploaded, as an RFC-3339 UTC timestamp.
Successful Response
The request was invalid.
Authentication failed or was missing.
The credential is not permitted for this request.
The requested resource was not found.
The request conflicts with existing state.
The request body is larger than this endpoint accepts.
The request failed validation.