List global sections
curl --request GET \
--url https://studio.weaverse.io/api/v1/content/projects/{projectId}/global-sections \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://studio.weaverse.io/api/v1/content/projects/{projectId}/global-sections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://studio.weaverse.io/api/v1/content/projects/{projectId}/global-sections"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "list",
"data": [
{
"id": "clz9g7x1k0001gs0secn0001",
"name": "Header",
"itemId": "clz9h1a2b0003gs01hdr0001",
"projectId": "clz8p2k0q0001ab12cd34ef56",
"createdAt": "2026-10-14T09:12:30.000Z",
"updatedAt": "2026-10-14T09:12:30.000Z",
"deletedAt": null,
"usageCount": 2,
"usedInPages": [
{
"type": "INDEX",
"handle": "",
"locale": "",
"market": null
},
{
"type": "PRODUCT",
"handle": "__template__default",
"locale": "",
"market": null
}
],
"items": [
{
"id": "clz9h1a2b0003gs01hdr0001",
"type": "header",
"data": {
"sticky": true
},
"children": [
{
"id": "clz9h1a2b0004gs01nav0002"
}
]
},
{
"id": "clz9h1a2b0004gs01nav0002",
"type": "header-menu",
"data": {
"menu": "main-menu"
},
"children": []
}
]
}
]
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}Global sections
List global sections
Lists every global section of the project, newest first. A global section is one shared item subtree (for example a header or footer) rendered by several pages; editing it changes every page that hosts it.
Each section carries:
id: the section id used by the per-section endpointitemId: the root item of the shared subtreeusageCountandusedInPages: the page assignments (type,handle,locale,market) that render ititems: the current live item subtree
Required scope: content:read
GET
/
projects
/
{projectId}
/
global-sections
List global sections
curl --request GET \
--url https://studio.weaverse.io/api/v1/content/projects/{projectId}/global-sections \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://studio.weaverse.io/api/v1/content/projects/{projectId}/global-sections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://studio.weaverse.io/api/v1/content/projects/{projectId}/global-sections"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "list",
"data": [
{
"id": "clz9g7x1k0001gs0secn0001",
"name": "Header",
"itemId": "clz9h1a2b0003gs01hdr0001",
"projectId": "clz8p2k0q0001ab12cd34ef56",
"createdAt": "2026-10-14T09:12:30.000Z",
"updatedAt": "2026-10-14T09:12:30.000Z",
"deletedAt": null,
"usageCount": 2,
"usedInPages": [
{
"type": "INDEX",
"handle": "",
"locale": "",
"market": null
},
{
"type": "PRODUCT",
"handle": "__template__default",
"locale": "",
"market": null
}
],
"items": [
{
"id": "clz9h1a2b0003gs01hdr0001",
"type": "header",
"data": {
"sticky": true
},
"children": [
{
"id": "clz9h1a2b0004gs01nav0002"
}
]
},
{
"id": "clz9h1a2b0004gs01nav0002",
"type": "header-menu",
"data": {
"menu": "main-menu"
},
"children": []
}
]
}
]
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}Authorizations
Bearer token: a shop API key (WEAVERSE_API_KEY), a scoped API key or a delegated MCP OAuth token; translation-unit routes also accept a project-bound translation agent token. Each operation lists the scope it requires; the scope table is in the API description.
Path Parameters
Response
Sections with usages
The response is of type object.
Was this page helpful?