Intento Glossaries API ## Sections • [Intento Glossary API](https://developers.inten.to/intento-glossaries-api/intento-glossary-api.md): Intento Glossary API This API provides comprehensive management of glossaries for the Intento Translation platform, including: Creating and managing glossaries Adding, updating, and deleting glossary terms Supporting DNT (Do Not Translate) and Unidirectional term types CSV import/export functionality Publishing changes to routing tables Integration with native provider glossaries For more details, visit the Intento Documentation . Key Features: Support for DNT (Do Not Translate) and Unidirectional glossaries Custom case sensitivity settings Bulk operations via CSV import/export Draft and published term states Multi-provider glossary support (Amazon, DeepL, Google, Microsoft, ModernMT, Systran) Authentication: All API requests require authentication using an API key. To obtain your API key: Register for an account at Intento Console Navigate to the API section in your account dashboard Get an API key Include this key in the 'apikey' header with all your requests Terminology: Intento Source glossary - implementation of glossaries for Microsoft, ModernMT providers Native providers' glossary - implementation of glossaries on provider side (Amazon, DeepL, Google, Systran) DNT (Do Not Translate) - terms that should not be translated Unidirectional - terms with source-to-target translation mapping • [Obtain authentication token](https://developers.inten.to/intento-glossaries-api/authentication/obtain-authentication-token.md): Obtains a Bearer token for authenticating with Studio API endpoints. This token is required for publishing glossaries and CSV operations. • [Create a new glossary](https://developers.inten.to/intento-glossaries-api/glossaries/create-a-new-glossary.md): Creates a new glossary with specified type and configuration. Supports DNT (Do Not Translate) and Unidirectional glossary types. • [Get list of glossaries](https://developers.inten.to/intento-glossaries-api/glossaries/get-list-of-glossaries.md): Retrieves a list of all glossaries for the authenticated user. • [Get a specific glossary](https://developers.inten.to/intento-glossaries-api/glossaries/get-a-specific-glossary.md): Retrieves detailed information about a specific glossary including its terms. • [Update glossary terms](https://developers.inten.to/intento-glossaries-api/glossaries/update-glossary-terms.md): Add or delete terms in a glossary. Supports both DNT and Unidirectional term types. How to calculate flgs variable value: The flgs field uses bitwise operations with predefined masks: PREDEFINED_UPPER_MASK = 1 (converts 'My Term' to 'MY TERM') PREDEFINED_LOWER_MASK = 2 (converts 'My Term' to 'my term') PREDEFINED_REGULAR_MASK = 4 (converts 'My Term' to 'My term') Python example: Plain text source = 'my term' as_typed_source = source PREDEFINED_UPPER_MASK = 1 # ‘My Term’ -> ‘MY TERM’ PREDEFINED_LOWER_MASK = 2 # ‘My Term’ -> ‘my term’ PREDEFINED_REGULAR_MASK = 4 # ‘My Term’ -> ‘My term’ flags = 0 is_lower = True is_upper = False is_regular = True if source != as_typed_source.lower() and is_lower: flags |= PREDEFINED_LOWER_MASK if source != as_typed_source.upper() and is_upper: flags |= PREDEFINED_UPPER_MASK if source != as_typed_source.capitalize() and is_regular: flags |= PREDEFINED_REGULAR_MASK JavaScript example: Plain text let source = 'my term'; let as_typed_source = source; const PREDEFINED_UPPER_MASK = 1; // ‘My Term’ -> ‘MY TERM’ const PREDEFINED_LOWER_MASK = 2; // ‘My Term’ -> ‘my term’ const PREDEFINED_REGULAR_MASK = 4; // ‘My Term’ -> ‘My term’ let flags = 0; let is_lower = true; let is_upper = false; let is_regular = true; if (source !== as_typed_source.toLowerCase() && is_lower) { flags |= PREDEFINED_LOWER_MASK; } if (source !== as_typed_source.toUpperCase() && is_upper) { flags |= PREDEFINED_UPPER_MASK; } if (source !== as_typed_source.charAt(0).toUpperCase() + as_typed_source.slice(1) && is_regular) { flags |= PREDEFINED_REGULAR_MASK; } • [Import terms from CSV data](https://developers.inten.to/intento-glossaries-api/glossaries/import-terms-from-csv-data.md): Imports terms into a glossary from preprocessed CSV data. This is step 2 of the CSV upload process. • [Get routing tables list](https://developers.inten.to/intento-glossaries-api/routing/get-routing-tables-list.md): Retrieves a list of available routing tables for glossary publishing. • [Publish glossary changes](https://developers.inten.to/intento-glossaries-api/publishing/publish-glossary-changes.md): Publishes glossary changes with recompilation to native providers' glossaries. Requires both API key and Bearer token authentication. • [Download glossary as CSV](https://developers.inten.to/intento-glossaries-api/csv-operations/download-glossary-as-csv.md): Downloads glossary terms in CSV format. Supports options for including draft terms and expanding custom variants. • [Upload CSV file for preprocessing](https://developers.inten.to/intento-glossaries-api/csv-operations/upload-csv-file-for-preprocessing.md): Uploads a CSV file and preprocesses it for glossary import. This is step 1 of the CSV upload process.