Skip to content

AttachmentCreateOptions

Options for creating an attachment

Properties

Property Type Description
category? string Label that groups the attachment within the job. Only meaningful together with jobKey.
folderId? number ID of the folder to create the attachment in. Defaults to the tenant's default folder context when omitted.
jobKey? string Key of a job to link the new attachment to. When set, the attachment is created and linked in a single call — no separate jobs.linkAttachment() is needed.