Site section groups
Group and manage sections of your docs for easier organization.
Was this helpful?
Group and manage sections of your docs for easier organization.
Was this helpful?
Was this helpful?
Section groups let you bundle multiple top-level sections together, offering additional structuring capabilities and simplifying navigation for your readers.
The object type, which is always "site-section-group"
Unique identifier of the site section group
Title of the site section group
Name of the icon
gear
The unique id of the organization
The unique id of the site
Identifier of the page results to fetch.
The number of results per page
OK
OK
The unique id of the organization
The unique id of the site
Title of the site section group
Name of the icon
gear
IDs of the sections to be added to the section group
Section group added to the site
The unique id of the organization
The unique id of the site
The unique id of the site group
Site section group did not exist
Site section group has been deleted
No content
The unique id of the organization
The unique id of the site
The unique id of the site group
Title of the site section group
Name of the icon
gear
OK
The unique id of the organization
The unique id of the site
The unique id of the site group
ID of the section to add to the section group
Section added to the section group
The unique id of the organization
The unique id of the site
The unique id of the site group
The unique id of the section within a site
Section was not part of the group
Section has been removed from the section group
The unique id of the organization
The unique id of the site
The unique id of the site group
Site section group moved
Invalid move site section group position provided
No matching site section group found
Section group added to the site
{
"object": "site-section-group",
"id": "text",
"title": "text",
"sections": [
{
"object": "site-section",
"id": "text",
"title": "text",
"description": "text",
"default": true,
"path": "text",
"condition": "text",
"sectionGroup": "text",
"siteSpaces": [
{
"object": "site-space",
"id": "text",
"path": "text",
"section": "text",
"space": {
"object": "space",
"id": "text",
"title": "text",
"emoji": "🎉",
"visibility": "public",
"createdAt": "2025-08-26T20:57:05.299Z",
"updatedAt": "2025-08-26T20:57:05.299Z",
"deletedAt": "2025-08-26T20:57:05.299Z",
"editMode": "live",
"urls": {
"location": "https://example.com",
"app": "https://example.com",
"published": "https://example.com",
"public": "https://example.com",
"icon": "https://example.com"
},
"organization": "text",
"parent": "text",
"language": "en",
"gitSync": {
"repoName": "text",
"installationProvider": "github",
"integration": "text",
"url": "text",
"updatedAt": "2025-08-26T20:57:05.299Z"
},
"visitorAuth": {
"backend": "custom"
},
"revision": "text",
"defaultLevel": "admin",
"comments": 1,
"changeRequests": 1,
"changeRequestsOpen": 1,
"changeRequestsDraft": 1,
"permissions": {
"view": true,
"access": true,
"admin": true,
"viewInviteLinks": true,
"edit": true,
"triggerGitSync": true,
"comment": true,
"merge": true,
"review": true,
"installIntegration": true
}
},
"title": "text",
"default": true,
"condition": "text",
"hasAdvancedCustomizationFeature": true,
"urls": {
"published": "https://example.com"
}
}
],
"urls": {
"published": "https://example.com"
},
"icon": "gear"
}
],
"icon": "gear"
}
OK
{
"object": "site-section-group",
"id": "text",
"title": "text",
"sections": [
{
"object": "site-section",
"id": "text",
"title": "text",
"description": "text",
"default": true,
"path": "text",
"condition": "text",
"sectionGroup": "text",
"siteSpaces": [
{
"object": "site-space",
"id": "text",
"path": "text",
"section": "text",
"space": {
"object": "space",
"id": "text",
"title": "text",
"emoji": "🎉",
"visibility": "public",
"createdAt": "2025-08-26T20:57:05.299Z",
"updatedAt": "2025-08-26T20:57:05.299Z",
"deletedAt": "2025-08-26T20:57:05.299Z",
"editMode": "live",
"urls": {
"location": "https://example.com",
"app": "https://example.com",
"published": "https://example.com",
"public": "https://example.com",
"icon": "https://example.com"
},
"organization": "text",
"parent": "text",
"language": "en",
"gitSync": {
"repoName": "text",
"installationProvider": "github",
"integration": "text",
"url": "text",
"updatedAt": "2025-08-26T20:57:05.299Z"
},
"visitorAuth": {
"backend": "custom"
},
"revision": "text",
"defaultLevel": "admin",
"comments": 1,
"changeRequests": 1,
"changeRequestsOpen": 1,
"changeRequestsDraft": 1,
"permissions": {
"view": true,
"access": true,
"admin": true,
"viewInviteLinks": true,
"edit": true,
"triggerGitSync": true,
"comment": true,
"merge": true,
"review": true,
"installIntegration": true
}
},
"title": "text",
"default": true,
"condition": "text",
"hasAdvancedCustomizationFeature": true,
"urls": {
"published": "https://example.com"
}
}
],
"urls": {
"published": "https://example.com"
},
"icon": "gear"
}
],
"icon": "gear"
}
Section added to the section group
{
"object": "site-section-group",
"id": "text",
"title": "text",
"sections": [
{
"object": "site-section",
"id": "text",
"title": "text",
"description": "text",
"default": true,
"path": "text",
"condition": "text",
"sectionGroup": "text",
"siteSpaces": [
{
"object": "site-space",
"id": "text",
"path": "text",
"section": "text",
"space": {
"object": "space",
"id": "text",
"title": "text",
"emoji": "🎉",
"visibility": "public",
"createdAt": "2025-08-26T20:57:05.299Z",
"updatedAt": "2025-08-26T20:57:05.299Z",
"deletedAt": "2025-08-26T20:57:05.299Z",
"editMode": "live",
"urls": {
"location": "https://example.com",
"app": "https://example.com",
"published": "https://example.com",
"public": "https://example.com",
"icon": "https://example.com"
},
"organization": "text",
"parent": "text",
"language": "en",
"gitSync": {
"repoName": "text",
"installationProvider": "github",
"integration": "text",
"url": "text",
"updatedAt": "2025-08-26T20:57:05.299Z"
},
"visitorAuth": {
"backend": "custom"
},
"revision": "text",
"defaultLevel": "admin",
"comments": 1,
"changeRequests": 1,
"changeRequestsOpen": 1,
"changeRequestsDraft": 1,
"permissions": {
"view": true,
"access": true,
"admin": true,
"viewInviteLinks": true,
"edit": true,
"triggerGitSync": true,
"comment": true,
"merge": true,
"review": true,
"installIntegration": true
}
},
"title": "text",
"default": true,
"condition": "text",
"hasAdvancedCustomizationFeature": true,
"urls": {
"published": "https://example.com"
}
}
],
"urls": {
"published": "https://example.com"
},
"icon": "gear"
}
],
"icon": "gear"
}
No content
{
"object": "site-section-group",
"id": "text",
"title": "text",
"sections": [
{
"object": "site-section",
"id": "text",
"title": "text",
"description": "text",
"default": true,
"path": "text",
"condition": "text",
"sectionGroup": "text",
"siteSpaces": [
{
"object": "site-space",
"id": "text",
"path": "text",
"section": "text",
"space": {
"object": "space",
"id": "text",
"title": "text",
"emoji": "🎉",
"visibility": "public",
"createdAt": "2025-08-26T20:57:05.299Z",
"updatedAt": "2025-08-26T20:57:05.299Z",
"deletedAt": "2025-08-26T20:57:05.299Z",
"editMode": "live",
"urls": {
"location": "https://example.com",
"app": "https://example.com",
"published": "https://example.com",
"public": "https://example.com",
"icon": "https://example.com"
},
"organization": "text",
"parent": "text",
"language": "en",
"gitSync": {
"repoName": "text",
"installationProvider": "github",
"integration": "text",
"url": "text",
"updatedAt": "2025-08-26T20:57:05.299Z"
},
"visitorAuth": {
"backend": "custom"
},
"revision": "text",
"defaultLevel": "admin",
"comments": 1,
"changeRequests": 1,
"changeRequestsOpen": 1,
"changeRequestsDraft": 1,
"permissions": {
"view": true,
"access": true,
"admin": true,
"viewInviteLinks": true,
"edit": true,
"triggerGitSync": true,
"comment": true,
"merge": true,
"review": true,
"installIntegration": true
}
},
"title": "text",
"default": true,
"condition": "text",
"hasAdvancedCustomizationFeature": true,
"urls": {
"published": "https://example.com"
}
}
],
"urls": {
"published": "https://example.com"
},
"icon": "gear"
}
],
"icon": "gear"
}
{
"object": "site-section-group",
"id": "text",
"title": "text",
"sections": [
{
"object": "site-section",
"id": "text",
"title": "text",
"description": "text",
"default": true,
"path": "text",
"condition": "text",
"sectionGroup": "text",
"siteSpaces": [
{
"object": "site-space",
"id": "text",
"path": "text",
"section": "text",
"space": {
"object": "space",
"id": "text",
"title": "text",
"emoji": "🎉",
"visibility": "public",
"createdAt": "2025-08-26T20:57:05.299Z",
"updatedAt": "2025-08-26T20:57:05.299Z",
"deletedAt": "2025-08-26T20:57:05.299Z",
"editMode": "live",
"urls": {
"location": "https://example.com",
"app": "https://example.com",
"published": "https://example.com",
"public": "https://example.com",
"icon": "https://example.com"
},
"organization": "text",
"parent": "text",
"language": "en",
"gitSync": {
"repoName": "text",
"installationProvider": "github",
"integration": "text",
"url": "text",
"updatedAt": "2025-08-26T20:57:05.299Z"
},
"visitorAuth": {
"backend": "custom"
},
"revision": "text",
"defaultLevel": "admin",
"comments": 1,
"changeRequests": 1,
"changeRequestsOpen": 1,
"changeRequestsDraft": 1,
"permissions": {
"view": true,
"access": true,
"admin": true,
"viewInviteLinks": true,
"edit": true,
"triggerGitSync": true,
"comment": true,
"merge": true,
"review": true,
"installIntegration": true
}
},
"title": "text",
"default": true,
"condition": "text",
"hasAdvancedCustomizationFeature": true,
"urls": {
"published": "https://example.com"
}
}
],
"urls": {
"published": "https://example.com"
},
"icon": "gear"
}
],
"icon": "gear"
}
GET /v1/orgs/{organizationId}/sites/{siteId}/section-groups HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"object": "site-section-group",
"id": "text",
"title": "text",
"sections": [
{
"object": "site-section",
"id": "text",
"title": "text",
"description": "text",
"default": true,
"path": "text",
"condition": "text",
"sectionGroup": "text",
"siteSpaces": [
{
"object": "site-space",
"id": "text",
"path": "text",
"section": "text",
"space": {
"object": "space",
"id": "text",
"title": "text",
"emoji": "🎉",
"visibility": "public",
"createdAt": "2025-08-26T20:57:05.299Z",
"updatedAt": "2025-08-26T20:57:05.299Z",
"deletedAt": "2025-08-26T20:57:05.299Z",
"editMode": "live",
"urls": {
"location": "https://example.com",
"app": "https://example.com",
"published": "https://example.com",
"public": "https://example.com",
"icon": "https://example.com"
},
"organization": "text",
"parent": "text",
"language": "en",
"gitSync": {
"repoName": "text",
"installationProvider": "github",
"integration": "text",
"url": "text",
"updatedAt": "2025-08-26T20:57:05.299Z"
},
"visitorAuth": {
"backend": "custom"
},
"revision": "text",
"defaultLevel": "admin",
"comments": 1,
"changeRequests": 1,
"changeRequestsOpen": 1,
"changeRequestsDraft": 1,
"permissions": {
"view": true,
"access": true,
"admin": true,
"viewInviteLinks": true,
"edit": true,
"triggerGitSync": true,
"comment": true,
"merge": true,
"review": true,
"installIntegration": true
}
},
"title": "text",
"default": true,
"condition": "text",
"hasAdvancedCustomizationFeature": true,
"urls": {
"published": "https://example.com"
}
}
],
"urls": {
"published": "https://example.com"
},
"icon": "gear"
}
],
"icon": "gear"
}
]
}
POST /v1/orgs/{organizationId}/sites/{siteId}/section-groups HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"title": "text",
"icon": "gear",
"sections": [
"text"
]
}
DELETE /v1/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
PATCH /v1/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"title": "text",
"icon": "gear"
}
POST /v1/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"sectionId": "text"
}
DELETE /v1/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
POST /v1/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 103
{
"position": {
"before": {
"type": "site-section",
"id": "text"
},
"after": {
"type": "site-section",
"id": "text"
}
}
}