Skip to main content
PATCH
Edit a spreadsheet

Authorizations

Authorization
string
header
required

A Custral API key, created in Settings → Developers → Applications, sent as Authorization: Bearer sk_…. The X-Api-Key header is also accepted and takes precedence. Use a secret key (sk_…) from your server; a publishable key (pk_…) may hold only objects:read and usage:write. Never expose a secret key in a browser.

Path Parameters

id
string
required

The spreadsheet page's id (page_…), or the documentId POST /v1/pages returned.

Body

application/json
operations
object[]
required

Applied in order, all or nothing.

Required array length: 1 - 200 elements

Response

200 - application/json

The spreadsheet after the edit.

data
object
reqId
string

A per-request id (req_…). Quote it to support when reporting a problem.

Example:

"req_2a1f9c8e7b6d5"