POST /sheets/{sheetId}/attachments
Attaches a file to the sheet. The URL can be any of the following:
- Normal URL (attachmentType "LINK")
- Box.com URL (attachmentType "BOX_COM")
- Dropbox URL (attachmentType "DROPBOX")
- Egnyte URL (attachmentType "EGNYTE")
- Evernote URL (attachmentType "EVERNOTE")
- Google Drive URL (attachmentType "GOOGLE_DRIVE")
- OneDrive URL (attachmentType "ONEDRIVE")
For multipart uploads please use "multipart/form-data" content type.
Servers
- https://api.smartsheet.com/2.0
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:
|
attachmentType |
String | No |
Attachment type. * types are not supported for Smartsheet.gov accounts. Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.