Attachments

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

post/attachments

Request

  • Base URL: https://api.kustomerapp.com/v1
  • URL: https://api.kustomerapp.com/v1/attachments
  • Auth: httpBearer (a scheme the document does not define)

Request body

namestring required
contentTypestring required
contentLengthnumber required
string

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.