latestOpenAPI 3.0.42026-08-10174362.4 KB

70fb92d278f5

References

Create Citation Attachment

Uploads a file and attaches it to an existing citation. The citation must already exist — this endpoint does not create citations. To create a citation and attach a file in one call, use POST /references/folder/citations/with-attachment.

The file is scanned for malware before upload. Infected files are rejected.

Supports both numeric and GUID folder and citation IDs. FolderId and CitationId must both be numeric or both be non-numeric.

IsMain: 0 = secondary attachment, 1 = primary attachment. Setting IsMain to 1 demotes the previous primary attachment.

Maximum file size: 100 MB.

post/references/folder/citations/attachments

Response

Attachment processed.

folderIdstring nullable

Echo of the folder identifier from the request.

citationIdstring nullable

Echo of the citation identifier from the request.

attachmentIdstring nullable

The generated attachment identifier (numeric or 32-character hex GUID). Null when Success is false.

successboolean

Indicates whether the attachment was uploaded and recorded successfully.

errorstring nullable

Error description when Success is false. Null when the operation succeeds.