Translations
Configure multi-language support and translation options for your documentation.
The Translations API provides ways to localize your content into various languages. It supports custom strings, default language settings, and more.
Unique identifier of the translation settings
Title of the translation settings
The TranslationSettings object
{
"object": "translation-settings",
"id": "text",
"title": "text",
"languages": [
"en"
],
"createdAt": "2025-06-21T04:39:51.533Z",
"updatedAt": "2025-06-21T04:39:51.533Z",
"permissions": {
"view": true,
"edit": true
},
"urls": {
"location": "https://example.com"
}
}
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
GET /v1/orgs/{organizationId}/translations HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"object": "translation-settings",
"id": "text",
"title": "text",
"languages": [
"en"
],
"createdAt": "2025-06-21T04:39:51.533Z",
"updatedAt": "2025-06-21T04:39:51.533Z",
"permissions": {
"view": true,
"edit": true
},
"urls": {
"location": "https://example.com"
}
}
]
}
The unique id of the organization
The title of the translation settings
POST /v1/orgs/{organizationId}/translations HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"title": "text"
}
{
"object": "translation-settings",
"id": "text",
"title": "text",
"languages": [
"en"
],
"createdAt": "2025-06-21T04:39:51.533Z",
"updatedAt": "2025-06-21T04:39:51.533Z",
"permissions": {
"view": true,
"edit": true
},
"urls": {
"location": "https://example.com"
}
}
The unique id of the organization
The unique id of the translation settings
GET /v1/orgs/{organizationId}/translations/{translationSettingsId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"object": "translation-settings",
"id": "text",
"title": "text",
"languages": [
"en"
],
"createdAt": "2025-06-21T04:39:51.533Z",
"updatedAt": "2025-06-21T04:39:51.533Z",
"permissions": {
"view": true,
"edit": true
},
"urls": {
"location": "https://example.com"
}
}
The unique id of the organization
The unique id of the translation settings
The title of the translation settings
PUT /v1/orgs/{organizationId}/translations/{translationSettingsId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"title": "text"
}
{
"object": "translation-settings",
"id": "text",
"title": "text",
"languages": [
"en"
],
"createdAt": "2025-06-21T04:39:51.533Z",
"updatedAt": "2025-06-21T04:39:51.533Z",
"permissions": {
"view": true,
"edit": true
},
"urls": {
"location": "https://example.com"
}
}
The unique id of the organization
The unique id of the translation settings
DELETE /v1/orgs/{organizationId}/translations/{translationSettingsId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Translation settings has been deleted
No content
Was this helpful?