POST /sheets/{sheetId}/attachments

Attaches a file to the sheet. The URL can be any of the following:

For multipart uploads please use "multipart/form-data" content type.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
name String No
description String No
url String No
attachmentSubType String No

Attachment sub type. * type is for EGNYTE values and the rest are GOOGLE_DRIVE values.

Possible values:

  • "PRESENTATION"
  • "DOCUMENT"
  • "SPREADSHEET"
  • "PDF"
  • "DRAWING"
  • "FOLDER*"
attachmentType String No

Attachment type. * types are not supported for Smartsheet.gov accounts.

Possible values:

  • "LINK"
  • "EGNYTE*"
  • "BOX_COM"
  • "DROPBOX*"
  • "ONEDRIVE"
  • "FILE"
  • "EVERNOTE*"
  • "GOOGLE_DRIVE"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.