Create attachment

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 RoleEquivalent Permission Set Role
org.user.note.writeorg.permission.note.create
org.user.message.writeorg.permission.message.create

Uploading attachments

You can upload attachments by sending a multi-part POST request to the URL found in the response object's meta.upload.url property.

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".

Language
Authorization
Bearer
Click Try It! to start a request and see the response here!