latestOpenAPI 3.0.32026-08-19299284712.8 KB

67d9f45bb99b

Library

Create a template.

Create a new template.

  • When submitted fields contain A1 range values, these values will be normalized (shifted) relative to cell A1 before being stored.

  • Matrix fields such as content, styles, sheet_metadata, formulas, and images will be sparsified for storage optimization, meaning their values will be stored as key-value pairs addressed by their cell references.

post/templates

Headers

X-Company-IDstring required

Associates request with company

Request body

idstring uuid required
namestring required
allow_web_publishboolean
addressstring required
descriptionstring nullable
{"stackTrail":"components:schemas:Template:properties:content","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:styles","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:formulas","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:formats","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:data_validation","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:sheet_metadata","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:merged_cells","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:images","oasType":"schema","type":"unknown"}
sharing_schemestring
shared_withstring[]
created_atstring date-time required
modified_atstring date-time required
folderinteger nullable
last_opened_atstring nullable required

Response

idstring uuid required
namestring required
allow_web_publishboolean
addressstring required
descriptionstring nullable
{"stackTrail":"components:schemas:Template:properties:content","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:styles","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:formulas","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:formats","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:data_validation","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:sheet_metadata","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:merged_cells","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:Template:properties:images","oasType":"schema","type":"unknown"}
sharing_schemestring
shared_withstring[]
created_atstring date-time required
modified_atstring date-time required
folderinteger nullable
last_opened_atstring nullable required