Create

Create a new attachment. Assumes the file is already uploaded to S3 through the upload service.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
s3PathstringRequired
titlestringRequired
descriptionstringRequired
propertiesmap from strings to stringsRequired
labelsset of stringsRequired
workspacestringOptional

The workspace in which to create the attachment. If not provided, the attachment will be created in the default workspace for the user’s organization, if the default workspace for the organization is configured.

Response

This endpoint returns an object.
ridstring

Unique resource identifier for an Attachment

titlestring
s3Pathstring
fileTypestring
descriptionstring
createdBystring
propertiesmap from strings to strings
labelsset of strings
createdAtdatetime
isArchivedboolean