Lodol Docs

Smartsheet

API actions for the Smartsheet integration.

Smartsheet

Manage Smartsheet sheets, columns, rows, and sharing with an API token.


Add column

Add a column to an existing Smartsheet sheet.

Parameters

ParameterTypeRequiredDescription
sheet_idstringYesThe ID number of the sheet, as returned by 'List sheets'.
titlestringYesThe heading shown at the top of the new column.
typestringYesWhat kind of values this column holds.

Response

{
  "message": "SUCCESS",
  "result": [
    {
      "id": 444555666,
      "title": "Status"
    }
  ],
  "resultCode": 0
}

Create sheet

Create a new Smartsheet sheet with columns.

Parameters

ParameterTypeRequiredDescription
namestringYesA name for the new sheet.
columnsarrayYesThe columns for the new sheet. Each column needs a title and a type. Exactly one column must be marked as the primary column (the main column shown first).

Response

{
  "message": "SUCCESS",
  "result": {
    "id": 987654321,
    "name": "New Sheet"
  },
  "resultCode": 0
}

Get sheet details

Get the details of a Smartsheet sheet, including its columns and rows.

Parameters

ParameterTypeRequiredDescription
sheet_idstringYesThe ID number of the sheet, as returned by 'List sheets'.

Response

{
  "columns": [],
  "id": 123456789,
  "name": "Project Plan",
  "rows": []
}

List sheets

List all sheets in your Smartsheet account.

Response

[
  {
    "accessLevel": "ADMIN",
    "id": 123456789,
    "name": "Project Plan"
  }
]

Share sheet

Share a Smartsheet sheet with a collaborator.

Parameters

ParameterTypeRequiredDescription
sheet_idstringYesThe ID number of the sheet, as returned by 'List sheets'.
emailstringYesThe email address of the person to share the sheet with.
access_levelstringYesHow much access the person gets.

Response

{
  "message": "SUCCESS",
  "result": [
    {
      "accessLevel": "EDITOR",
      "email": "user@example.com",
      "id": "share_123"
    }
  ],
  "resultCode": 0
}

On this page