Gets a Folder object.
folderId required | number Folder Id where you can create sheets, sights, reports, templates, and other folders. |
include | string A comma-separated list of optional elements to include in the response:
|
Authorization | string API Access Token used to authenticate requests to Smartsheet APIs. Example: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789 |
curl https://api.smartsheet.com/2.0/folders/{folderId} \ -H " Authorization: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789"
{- "id": 0,
- "name": "string",
- "favorite": true,
- "permalink": "string",
- "folders": [
- { }
], - "reports": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sheets": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sights": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
], - "templates": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
]
}
Deletes a folder.
folderId required | number Folder Id where you can create sheets, sights, reports, templates, and other folders. |
Authorization | string API Access Token used to authenticate requests to Smartsheet APIs. Example: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789 |
curl https://api.smartsheet.com/2.0/folders/{folderId} \ -H " Authorization: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789" \ -X DELETE
{- "message": "SUCCESS",
- "resultCode": 0
}
Updates a folder.
folderId required | number Folder Id where you can create sheets, sights, reports, templates, and other folders. |
Authorization | string API Access Token used to authenticate requests to Smartsheet APIs. Example: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789 |
{- "id": 0,
- "name": "string",
- "favorite": true,
- "permalink": "string",
- "folders": [
- { }
], - "reports": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sheets": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sights": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
], - "templates": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
]
}
{- "version": 0,
- "failedItems": [
- {
- "rowId": 0,
- "error": {
- "refId": "string",
- "errorCode": 0,
- "message": "string"
}, - "index": 0
}
], - "message": "SUCCESS",
- "resultCode": 0,
- "result": {
- "id": 0,
- "name": "string",
- "favorite": true,
- "permalink": "string",
- "folders": [
- { }
], - "reports": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sheets": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sights": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
], - "templates": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
]
}
}
Copies a folder.
folderId required | number Folder Id where you can create sheets, sights, reports, templates, and other folders. |
include | string A comma-separated list of elements to copy:
|
exclude | string When specified with a value of sheetHyperlinks, excludes this category from the response |
skipRemap | string A comma-separated list of references to NOT re-map for the newly created folder. |
Authorization | string API Access Token used to authenticate requests to Smartsheet APIs. Example: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789 |
Content-Type | string Default: application/json Required for POST and PUT requests. Defines the structure for the request body. |
New folder name.
destinationId | number The Id of the destination container (when copying or moving a sheet or a folder). Required if destinationType is "folder" or "workspace". If destinationType is "home", this value must be null. |
destinationType | string Nullable Type of the destination container. |
newName | string Name of the newly created object (when creating a copy of a dashboard, folder, sheet, or workspace). This attribute is not supported for "move" operations. |
{- "destinationId": 0,
- "destinationType": "folder",
- "newName": "string"
}
{- "destinationId": 0,
- "destinationType": "folder",
- "newName": "string"
}
Gets a list of folders in a given folder. The list contains an abbreviated Folder object for each folder.
folderId required | number Folder Id where you can create sheets, sights, reports, templates, and other folders. |
includeAll | boolean Default: false (Deprecated as of February 1, 2025, and will be removed. A replacement is coming soon.) If true, include all results, that is, do not paginate. Mutually exclusive with page and pageSize (they are ignored if includeAll=true is specified). |
page | number Default: 1 (Deprecated as of February 1, 2025, and will be removed. A replacement is coming soon.) Which page to return. Defaults to 1 if not specified. If you specify a value greater than the total number of pages, the last page of results is returned. |
pageSize | number Default: 100 The maximum number of items to return per page. Unless otherwise stated for a specific endpoint, defaults to 100. If only page is specified, defaults to a page size of 100. For reports, the default is 100 rows. If you need larger sets of data from your report, returns a maximum of 10,000 rows per request. |
Authorization | string API Access Token used to authenticate requests to Smartsheet APIs. Example: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789 |
curl https://api.smartsheet.com/2.0/folders/{folderId}/folders \ -H "Authorization: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789" \ -H "Content-Type: application/json"
{- "pageNumber": 1,
- "pageSize": 50,
- "totalPages": 25,
- "totalCount": 136,
- "result": [
- {
- "id": 0,
- "name": "string",
- "favorite": true,
- "permalink": "string",
- "folders": [
- { }
], - "reports": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sheets": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sights": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
], - "templates": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
]
}
]
}
Creates a new folder.
folderId required | number Folder Id where you can create sheets, sights, reports, templates, and other folders. |
include | string A comma-separated list of elements to copy:
|
exclude | string When specified with a value of sheetHyperlinks, excludes this category from the response |
skipRemap | string A comma-separated list of references to NOT re-map for the newly created folder. |
Authorization | string API Access Token used to authenticate requests to Smartsheet APIs. Example: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789 |
Content-Type | string Default: application/json Required for POST and PUT requests. Defines the structure for the request body. |
Folder to create.
id | number Folder Id. |
name | string Folder name. |
favorite | boolean (Deprecated) Returned only if the user has marked the folder as a favorite in their "Home" tab (value = true). |
permalink | string URL that represents a direct link to the folder in Smartsheet. |
Array of objects Folders contained in folder. | |
Array of objects Reports contained in folder. | |
Array of objects Sheets contained in folder. | |
Array of objects Dashboards contained in folder. | |
Array of objects Templates contained in folder. |
{- "id": 0,
- "name": "string",
- "favorite": true,
- "permalink": "string",
- "folders": [
- {
- "id": 0,
- "name": "string",
- "favorite": true,
- "permalink": "string",
- "folders": [ ],
- "reports": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sheets": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sights": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
], - "templates": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
]
}
], - "reports": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sheets": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sights": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
], - "templates": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
]
}
{- "message": "SUCCESS",
- "resultCode": 0,
- "result": {
- "id": 0,
- "name": "string",
- "favorite": true,
- "permalink": "string",
- "folders": [
- { }
], - "reports": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sheets": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
], - "sights": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
], - "templates": [
- {
- "id": 0,
- "name": "string",
- "permalink": "string"
}
]
}
}
Moves a folder.
folderId required | number Folder Id where you can create sheets, sights, reports, templates, and other folders. |
Authorization | string API Access Token used to authenticate requests to Smartsheet APIs. Example: Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789 |
Content-Type | string Default: application/json Required for POST and PUT requests. Defines the structure for the request body. |
New folder destination.
destinationId | number The Id of the destination container (when copying or moving a sheet or a folder). Required if destinationType is "folder" or "workspace". If destinationType is "home", this value must be null. |
destinationType | string Nullable Type of the destination container. |
newName | string Name of the newly created object (when creating a copy of a dashboard, folder, sheet, or workspace). This attribute is not supported for "move" operations. |
{- "destinationId": 0,
- "destinationType": "folder",
- "newName": "string"
}
{- "destinationId": 0,
- "destinationType": "folder",
- "newName": "string"
}