Upload Attachment
POST
Body
Arguments
string
File name including its extension, such as document.pdf.
string
The file contents encoded as Base64, a text representation of the file's bytes.
Uncommon arguments
string
Optional media type, such as application/pdf. Inferred from the file name extension when omitted.
string
Optional and not recommended for normal uploads. Supply only when migrating identical attachments between sandbox and production; otherwise let EHS Insight generate the identifier.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.