The 2026 State of Docs survey is live 📝 Whether you write, edit, or just rely on docs, we want to hear from you!
Take the survey
LogoLogo
ProductPricingLog inSign up
  • Documentation
  • Developers
  • Guides
  • Changelog
  • Developer documentation
  • Build an integration
    • Quickstart
    • Install the CLI
      • CLI reference
    • Configure your integration
    • Develop your integration
      • ContentKit
        • Component reference
        • Markdown
      • Integration runtime
      • Client library
        • GitBook methods
    • Publish your integration
    • Submit your integration for review
    • Concepts
    • Guides
      • Create a custom unfurl action
      • Create interactive blocks
      • Receive webhook notifications
      • Work with HTTP requests
  • GitBook API
    • Quickstart
    • API reference
      • Organizations
        • Organization members
        • Organization invites
        • Organization AI ask
      • Docs sites
        • Site share links
        • Site structure
        • Site auth
        • Site preview
        • Site customization
        • Site spaces
        • Site sections
        • Site section groups
        • Site redirects
        • Site MCP servers
        • Site ads
        • Site users
        • Site insights
        • Site AI
        • Site AI ask
      • Collections
        • Collection users
        • Collection teams
      • Spaces
        • Space content
        • Space comments
        • Space embeds
        • Space users
        • Space teams
        • Space integrations
        • Git
      • Change requests
        • Change request content
        • Change request contributors
        • Change request reviewers
        • Change request comments
      • Translations
        • Glossary
      • Imports
      • Integrations
      • URLs
      • OpenAPI
        • OpenAPI spec versions
      • Conversations
      • Custom fonts
      • Subdomains
      • Users
      • Teams
        • Team members
      • SSO
      • Storage
      • Custom hostnames
      • System info
      • Download OpenAPI spec
    • Authentication
    • Rate limiting
    • Pagination
    • Errors
    • Concepts
    • Guides
      • Track advanced analytics with GitBook's Events Aggregation API
  • Resources
    • ContentKit playground
    • GitHub examples
Powered by GitBook
On this page
  1. GitBook API
  2. API reference
  3. Translations

Glossary

Manage custom terms translations used by the translation feature.

Last updated 16 hours ago

Was this helpful?

LogoLogo

Resources

  • Showcase
  • Enterprise
  • Status

Company

  • Careers
  • Blog
  • Community

Policies

  • Subprocessors
  • Terms of Service
CtrlK
  • The GlossaryEntry object
  • GETList glossary entries
  • PUTUpdate glossary entries
  • GETGet a glossary entry by its ID

Was this helpful?

Define terms and specify their translations for different languages to ensure consistent wording.

The GlossaryEntry object

Attributes
objectstring · enumRequiredPossible values:
idstringRequired

Unique identifier of the glossary entry

createdAtstring · date-timeRequired
updatedAtstring · date-timeRequired

The GlossaryEntry object

{
  "object": "glossary-entry",
  "id": "text",
  "translations": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "createdAt": "2026-01-29T05:25:29.432Z",
  "updatedAt": "2026-01-29T05:25:29.432Z",
  "urls": {
    "location": "https://example.com"
  }
}

List glossary entries

get
Authorizations
Path parameters
organizationIdstringRequired

The unique id of the organization

Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

Responses
200

OK

application/json
Responseall of
get
GET /v1/orgs/{organizationId}/translations-glossary HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "next": {
    "page": "text"
  },
  "count": 1,
  "items": [
    {
      "object": "glossary-entry",
      "id": "text",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "createdAt": "2026-01-29T05:25:29.432Z",
      "updatedAt": "2026-01-29T05:25:29.432Z",
      "urls": {
        "location": "https://example.com"
      }
    }
  ]
}

Update glossary entries

put
Authorizations
Path parameters
organizationIdstringRequired

The unique id of the organization

Body
Responses
204

Glossary entries updated

400

Bad Request

application/json
put
PUT /v1/orgs/{organizationId}/translations-glossary HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 84

{
  "operations": [
    {
      "type": "insert",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    }
  ]
}

No content

Get a glossary entry by its ID

get
Authorizations
Path parameters
organizationIdstringRequired

The unique id of the organization

glossaryEntryIdstringRequired

The unique id of the glossary entry

Responses
200

OK

application/json
404

Not Found

application/json
get
GET /v1/orgs/{organizationId}/translations-glossary/{glossaryEntryId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "object": "glossary-entry",
  "id": "text",
  "translations": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "createdAt": "2026-01-29T05:25:29.432Z",
  "updatedAt": "2026-01-29T05:25:29.432Z",
  "urls": {
    "location": "https://example.com"
  }
}