Version: 202601
List cards added to a template
GET/openapi/2026-01/themes/edit-sessions/:oseid/files/:doc_id/sections
List all cards added to a template within an edit session, including global card groups such as the header and footer.
Request
Path Parameters
oseid stringrequired
Edit session ID
doc_id stringrequired
Document (template file) ID
Query Parameters
template_name string
Optional current page template name; scopes supported data source types
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
dataobject
Cards of the template plus the global card groups: page_sections, sections,
header_sections, footer_sections, app_embeds, plugins, script_tags
json
{
"code": "string",
"message": "string",
"data": {
"data": {}
}
}