Creates a new attachment document. Includes a temporary upload policy for uploading the file with a POST request.
Any one of the following roles is required for this endpoint:
|Legacy Role||Equivalent Permission Set Role|
You can upload attachments by sending a multi-part POST request to the URL found in the response object's
The request must be accompanied by the key/value pairs found in
meta.upload.fields as standard form keys. The file should be included as the last key under the name "file".