Publish links in a spreadsheet#
Deprecated
This endpoint is deprecated and may be removed in a future release.
This endpoint was deprecated on 2026-02-12.
It is scheduled for sunset on 2029-01-31.
Description#
Publishes the links in a spreadsheet — either all (as spreadsheet owner) or only one’s own.
Note: Publication of only one’s own links requires the data_tables|r scope. Publication of all links (as a spreadsheet owner) requires data_tables|w.
Note: This endpoint is rate-limited. You may experience rates as low as 20 requests per minute. This rate is shared across your workspace. When you encounter a 429, examine the Retry-After header and retry after that many seconds.
POST /spreadsheets/v1/spreadsheets/{spreadsheetId}/publish
Required OAuth Scopes
data_tables|r,data_tables|w
Parameters#
Parameter |
In |
Type |
Required |
Description |
|---|---|---|---|---|
X-Version |
header |
string |
false |
Version of the API (2022-01-01) |
spreadsheetId |
path |
string |
true |
The unique identifier of the spreadsheet |
body |
body |
false |
Body parameter example#
{
"all": false
}
Code Samples#
curl -X POST https://api.app.wdesk.com/spreadsheets/v1/spreadsheets/{spreadsheetId}/publish \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}' \
-H 'X-Version: 2022-01-01'
http POST https://api.app.wdesk.com/spreadsheets/v1/spreadsheets/{spreadsheetId}/publish \
X-Version:2022-01-01 \
Content-Type:application/json \
Accept:application/json \
Authorization:"Bearer {access-token}"
wget --method=POST "https://api.app.wdesk.com/spreadsheets/v1/spreadsheets/{spreadsheetId}/publish" \
--output-document - \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access-token}' \
--header 'X-Version: 2022-01-01'
import requests
headers = {
'X-Version': '2022-01-01',
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('https://api.app.wdesk.com/spreadsheets/v1/spreadsheets/{spreadsheetId}/publish', headers = headers)
print(r.json())
Returns#
200 - OK#
No content returned.
400 - Bad Request#
An ErrorResponse object containing a message and list of errors.
403 - Forbidden#
An ErrorResponse object containing a message and list of errors.
404 - Not Found#
An ErrorResponse object containing a message and list of errors.
429 - Too Many Requests#
An ErrorResponse object containing a message and list of errors.
500 - Internal Server Error#
An ErrorResponse object containing a message and list of errors.
Example Responses#
{
"message": "Operation successful",
"request_id": "d6a6ce3f-f120-4104-9587-a5a2dc45626c"
}