API Reference

Retrieve a single spreadsheet

Description

Retrieves a spreadsheet given its ID.

GET /spreadsheets/{spreadsheetId}

🚧

Required OAuth Scopes:

file:read

Parameters

ParameterInTypeRequiredDescription
spreadsheetIdpathstringtrueThe unique identifier of the spreadsheet
$expandquerystringfalseReturns related resources inline with the main resource

Expand Options

Expands Options Supported
sheets

Code Samples

curl -X GET https://api.app.wdesk.com/platform/v1/spreadsheets/{spreadsheetId}  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http GET https://api.app.wdesk.com/platform/v1/spreadsheets/{spreadsheetId}  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=GET "https://api.app.wdesk.com/platform/v1/spreadsheets/{spreadsheetId}" \
 --output-document -  \ 
 --header 'Accept: application/json' \ 
 --header 'Authorization: Bearer {access-token}'
import requests
headers = {
  'Accept': 'application/json',
  'Authorization': 'Bearer {access-token}'
}

r = requests.get('https://api.app.wdesk.com/platform/v1/spreadsheets/{spreadsheetId}', headers = headers)

print(r.json())

Returns

200 - OK

Returns a Spreadsheet object containing details about the requested Spreadsheet.

Example Responses


{
  "created": {
    "dateTime": "2018-10-21T15:03:27Z"
  },
  "name": "Year-end review",
  "id": "124efa2a142f472ba1ceab34ed18915f",
  "modified": {
    "dateTime": "2018-10-21T15:03:27Z"
  },
  "template": false
}