All operations
UTILITY
Uploads a file and attaches it to a crmSeries record.
Send as `multipart/form-data` with `file`, `recordType` and either `recordId` or `externalId`. Supported record types: `Contact`, `Company`, `Equipment`, `Opportunity`, `Lead`, `Task` and `Note`. When `externalId` is given and is linked to a record of that type, that record is used; otherwise `recordId` is used. The upload is recorded in the record's history.
POST
/api/v2/utility/file-uploadAuthentication
Choose one supported method for this request.
Request body
The file, the record type, and the crmSeries record ID or your external ID of the record.
FilefileRecordTypestringRecordIdinteger · int32ExternalIdstring
Responses
File uploaded and attached to the record.
Standard response envelope
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
boolean