> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/ai-ml/deepl.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# DeepL

DeepL translates and improves text with AI. Translate and correct text, manage glossaries and style rules, and read usage analytics and developer keys.

![DeepL logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-f5f0791d84f5701b2eabbd03a938988d67093ad0%2Fdeepl.png?alt=media)

|                    |                                                                    |
| ------------------ | ------------------------------------------------------------------ |
| **Category**       | [AI and ML](https://docs.fastn.ai/connectors/catalog/ai-ml.md)     |
| **Website**        | [deepl.com](https://deepl.com)                                     |
| **Authentication** | API key                                                            |
| **Slug**           | `deepl`                                                            |
| **On fastn.ai**    | [Embed DeepL in your product](https://fastn.ai/integrations/deepl) |

## Setup

Your customers enter their API key for DeepL when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect DeepL from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **DeepL**.
2. Select **Connect** on the DeepL card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use DeepL's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Correct Text (DeepL Write)</td><td><code>correctText</code></td><td>DeepL Write: corrects grammar and spelling in the supplied text. Returns improvements[] with the corrected text.</td></tr><tr><td>Create Admin Developer Key</td><td><code>adminCreateDeveloperKey</code></td><td>SECURITY WARNING: mints a new DeepL API key for the account and returns it. Treat the response as a live credential - never log it or forward it. Requires a DeepL API Pro account with the Admin API entitlement; Pro host (api.deepl.com) only.</td></tr><tr><td>Create Glossary (v2)</td><td><code>createGlossaryV2</code></td><td>Creates a single language-pair glossary. entries is a TSV or CSV string of source/target term pairs; entries_format must be tsv or csv. Returns the new glossary_id.</td></tr><tr><td>Create Multilingual Glossary (v3)</td><td><code>createMultilingualGlossary</code></td><td>Creates a multilingual glossary holding one dictionary per language pair. dictionaries is an array of {source_lang, target_lang, entries, entries_format}. Returns the new glossary_id.</td></tr><tr><td>Create Spoken Terms Collection</td><td><code>createSpokenTerms</code></td><td>Creates a spoken terms collection used by DeepL Voice to recognise names and jargon. term_lists is an array of {lang, entries}. Returns the new spoken_terms_id.</td></tr><tr><td>Create Style Custom Instruction</td><td><code>createCustomInstruction</code></td><td>Adds a free-text custom instruction to a style rule list, for example 'always address the reader informally'. Returns the new instruction id.</td></tr><tr><td>Create Style Rule List</td><td><code>createStyleRuleList</code></td><td>Creates a style rule list that can be passed to Translate Text as style_id to enforce house style. Returns the new style_id.</td></tr><tr><td>Create Voice Translation Job</td><td><code>createVoiceTranslateJob</code></td><td>DeepL Voice: creates an asynchronous job that transcribes and translates an audio file. Returns job_id, an upload_url for the audio and a short-lived signature. Requires a DeepL Voice entitlement; accounts without it get 403 Forbidden.</td></tr><tr><td>Deactivate Admin Developer Key</td><td><code>adminDeactivateDeveloperKey</code></td><td>DESTRUCTIVE: permanently deactivates one DeepL developer key by key_id. If key_id is the key this connection authenticates with, the connector loses access immediately and DeepL offers no API undo - list the keys first and confirm the id. Requires a DeepL API Pro account with the Admin API entitlement; Pro host (api.deepl.com) only.</td></tr><tr><td>Delete Glossary (v2)</td><td><code>deleteGlossaryV2</code></td><td>Permanently deletes a v2 glossary by id.</td></tr></tbody></table>

<details>

<summary>View 51 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Delete Glossary Dictionary (v3)</td><td><code>deleteGlossaryDictionary</code></td><td>Deletes one language-pair dictionary from a multilingual (v3) glossary, leaving the glossary itself in place.</td></tr><tr><td>Delete Multilingual Glossary (v3)</td><td><code>deleteMultilingualGlossary</code></td><td>Permanently deletes a multilingual (v3) glossary and all of its dictionaries.</td></tr><tr><td>Delete Spoken Terms Collection</td><td><code>deleteSpokenTerms</code></td><td>Permanently deletes a spoken terms collection and all of its term lists.</td></tr><tr><td>Delete Spoken Terms List</td><td><code>deleteSpokenTermsList</code></td><td>Deletes the term list for one language from a spoken terms collection, leaving the collection in place.</td></tr><tr><td>Delete Style Custom Instruction</td><td><code>deleteCustomInstruction</code></td><td>Removes one custom instruction from a style rule list.</td></tr><tr><td>Delete Style Rule List</td><td><code>deleteStyleRuleList</code></td><td>Permanently deletes a style rule list and its custom instructions.</td></tr><tr><td>Delete Translation Memory</td><td><code>deleteTranslationMemory</code></td><td>Permanently deletes a translation memory and all of its segments.</td></tr><tr><td>Download Translated Document</td><td><code>downloadDocument</code></td><td>Downloads the translated document once its status is done. Returns the translated file content. The document can only be downloaded once and is then deleted by DeepL.</td></tr><tr><td>Get Admin Custom Tag Analytics</td><td><code>adminGetCustomTagAnalytics</code></td><td>Admin API: usage statistics grouped by the X-DeepL-Reporting-Tag values sent with translation requests. Requires a DeepL API Pro account with the Admin API entitlement; Pro host (api.deepl.com) only.</td></tr><tr><td>Get Admin Usage Analytics</td><td><code>adminGetAnalytics</code></td><td>Admin API: usage statistics per developer key for a date range. Requires a DeepL API Pro account with the Admin API entitlement and an admin key, and only exists on the Pro host (api.deepl.com) - set the connection's host accordingly...."}.</td></tr><tr><td>Get Document Translation Status</td><td><code>getDocumentStatus</code></td><td>Polls the translation status of an uploaded document. Status is queued, translating, done or error. Poll this until status is done, then call Download Translated Document.</td></tr><tr><td>Get Glossary (v2)</td><td><code>getGlossaryV2</code></td><td>Retrieves metadata for one v2 glossary by id: name, language pair, entry count and readiness.</td></tr><tr><td>Get Glossary Entries (v2)</td><td><code>getGlossaryEntriesV2</code></td><td>Returns the term pairs of a v2 glossary as tab-separated values (one source/target pair per line).</td></tr><tr><td>Get Multilingual Glossary (v3)</td><td><code>getMultilingualGlossary</code></td><td>Retrieves one multilingual (v3) glossary by id, including the list of dictionaries it contains.</td></tr><tr><td>Get Multilingual Glossary Entries (v3)</td><td><code>getMultilingualGlossaryEntries</code></td><td>Returns the entries of one dictionary inside a multilingual (v3) glossary, selected by source_lang and target_lang.</td></tr><tr><td>Get Spoken Terms Collection</td><td><code>getSpokenTerms</code></td><td>Retrieves one spoken terms collection by id, with its per-language term lists and entry counts.</td></tr><tr><td>Get Spoken Terms Entries</td><td><code>getSpokenTermsEntries</code></td><td>Returns the term entries of one language inside a spoken terms collection.</td></tr><tr><td>Get Style Custom Instruction</td><td><code>getCustomInstruction</code></td><td>Retrieves one custom instruction of a style rule list by its id.</td></tr><tr><td>Get Style Rule List</td><td><code>getStyleRuleList</code></td><td>Retrieves one style rule list by style_id, including its configured rules and custom instructions.</td></tr><tr><td>Get Translation Memory</td><td><code>getTranslationMemory</code></td><td>Retrieves one translation memory by id: name, source language, target languages and segment count.</td></tr><tr><td>Get Translation Memory Job</td><td><code>getTranslationMemoryJob</code></td><td>Retrieves the status of a translation memory import or export job, including the resulting translation_memory_id once the job has finished.</td></tr><tr><td>Get Usage and Limits</td><td><code>getUsage</code></td><td>Returns the character count translated so far in the current billing period and the plan's character limit. Use this before running translations to check remaining quota.</td></tr><tr><td>Get Voice Realtime Streaming URL</td><td><code>getVoiceStreamingUrl</code></td><td>DeepL Voice realtime: opens a session and returns the WebSocket streaming_url plus a session token for live speech translation. Pro host only (this route does not exist on api-free.deepl.com); requires a DeepL Voice entitlement.</td></tr><tr><td>Get Voice Translation Job Status</td><td><code>getVoiceTranslateJobStatus</code></td><td>DeepL Voice: returns the status of a voice translation job, its usage and, when complete, a download_url per target. Requires a DeepL Voice entitlement; accounts without it get 403 Forbidden.</td></tr><tr><td>List Admin Developer Keys</td><td><code>adminListDeveloperKeys</code></td><td>SECURITY WARNING: this Admin API endpoint returns the account's own DeepL developer API keys. Treat its response as a live credential - never log it, store it, or forward it to another system. Requires a DeepL API Pro account with the Admin API entitlement; Pro host (api.deepl.com) only.</td></tr><tr><td>List Glossaries (v2)</td><td><code>listGlossariesV2</code></td><td>Lists all single language-pair (v2) glossaries owned by the account.</td></tr><tr><td>List Glossary Language Pairs</td><td><code>listGlossaryLanguagePairs</code></td><td>Lists the source/target language pairs that DeepL glossaries can be created for.</td></tr><tr><td>List Language Resources (v3)</td><td><code>listLanguageResources</code></td><td>Lists every DeepL resource (translate_text, write, glossary, voice,...) together with the features each one supports, such as formality, glossary or tag handling.</td></tr><tr><td>List Languages For Resource (v3)</td><td><code>listLanguagesV3</code></td><td>Lists the languages available for one DeepL resource (translate_text, translate_document, glossary, voice, write, style_rules, translation_memory), including which are usable as source and target.</td></tr><tr><td>List Multilingual Glossaries (v3)</td><td><code>listMultilingualGlossaries</code></td><td>Lists all multilingual (v3) glossaries owned by the account, each with its dictionaries and entry counts.</td></tr><tr><td>List Spoken Terms Collections</td><td><code>listSpokenTerms</code></td><td>Lists all spoken terms collections owned by the account.</td></tr><tr><td>List Style Rule Lists</td><td><code>listStyleRuleLists</code></td><td>Lists the account's style rule lists. Pass detailed=true to include each list's configured rules and custom instructions. NOTE: page is ZERO-BASED - page=0 is the first page; page=1 on a single-page account returns an empty style_rules array.</td></tr><tr><td>List Supported Languages (v2)</td><td><code>listLanguagesV2</code></td><td>Lists the languages supported for translation. Pass type=source or type=target to choose the direction.</td></tr><tr><td>List Translation Memories</td><td><code>listTranslationMemories</code></td><td>Lists the account's translation memories with their segment counts and language directions.</td></tr><tr><td>List Translation Memory Segments</td><td><code>getTranslationMemorySegments</code></td><td>Lists the source/target segment pairs stored in a translation memory. Supports cursor paging and a text filter.</td></tr><tr><td>Reconnect Voice Realtime Session</td><td><code>requestVoiceReconnection</code></td><td>DeepL Voice realtime: exchanges an existing session token for a fresh streaming_url so a dropped WebSocket can be resumed. Pro host only; requires a DeepL Voice entitlement.</td></tr><tr><td>Rename Admin Developer Key</td><td><code>adminRenameDeveloperKey</code></td><td>Admin API: changes the label of one DeepL developer key. Requires a DeepL API Pro account with the Admin API entitlement; Pro host (api.deepl.com) only.</td></tr><tr><td>Rename Style Rule List</td><td><code>updateStyleRuleList</code></td><td>Changes the name of a style rule list. Returns the updated list.</td></tr><tr><td>Rephrase Text (DeepL Write)</td><td><code>rephraseText</code></td><td>DeepL Write: rewrites text to improve clarity, style or tone. Returns improvements[] with the improved text.</td></tr><tr><td>Replace Glossary Dictionary (v3)</td><td><code>replaceGlossaryDictionary</code></td><td>Replaces, or creates, the dictionary for one language pair inside a multilingual (v3) glossary. Returns the resulting entry_count.</td></tr><tr><td>Replace Spoken Terms List</td><td><code>putSpokenTermsList</code></td><td>Replaces, or creates, the term list for one language inside a spoken terms collection. Returns the resulting entry_count.</td></tr><tr><td>Replace Style Custom Instruction</td><td><code>updateCustomInstruction</code></td><td>Replaces the label, prompt and source language of one custom instruction in a style rule list.</td></tr><tr><td>Replace Style Rule Configured Rules</td><td><code>updateStyleRuleConfiguredRules</code></td><td>Replaces the whole configured_rules object of a style rule list. Groups are dates_and_times, formatting, numbers, punctuation, spelling_and_grammar, style_and_tone and vocabulary; each holds rule keys with enum option values. Rules not supplied are cleared.</td></tr><tr><td>Set Admin Developer Key Usage Limits</td><td><code>adminSetDeveloperKeyUsageLimits</code></td><td>Admin API: sets per-key character and speech-to-text usage limits. Requires a DeepL API Pro account with the Admin API entitlement; Pro host (api.deepl.com) only.</td></tr><tr><td>Start Translation Memory Export</td><td><code>createTranslationMemoryExport</code></td><td>Starts an export job that writes a translation memory back out as TMX. Returns a job_id to poll with Get Translation Memory Job, whose results carry the download link.</td></tr><tr><td>Start Translation Memory Import</td><td><code>createTranslationMemoryImport</code></td><td>Starts an import job for a TMX translation memory file. Returns job_id plus a pre-signed upload_url; the TMX file must then be PUT to that upload_url by the caller. Poll Get Translation Memory Job for progress.</td></tr><tr><td>Translate Text</td><td><code>translateText</code></td><td>Translates one or more text strings into a target language. Billed per source character. Returns translations[] with the translated text and the detected source language.</td></tr><tr><td>Translate Text (Legacy v1 Endpoint)</td><td><code>translateTextLegacyV1</code></td><td>Legacy alias of the text translation endpoint. Not present in DeepL's published OpenAPI spec but live and returning the same translations[] shape. Prefer Translate Text; kept for clients still pinned to v1.</td></tr><tr><td>Update Multilingual Glossary (v3)</td><td><code>patchMultilingualGlossary</code></td><td>Renames a multilingual (v3) glossary and/or merges dictionaries into it. Only the supplied fields change.</td></tr><tr><td>Update Spoken Terms Collection</td><td><code>patchSpokenTerms</code></td><td>Renames a spoken terms collection and/or merges term lists into it. Only the supplied fields change.</td></tr><tr><td>Upload Document For Translation</td><td><code>translateDocument</code></td><td>Uploads a document (txt, docx, pptx, xlsx, pdf, html, xlf) and starts its translation. Sends multipart/form-data. Returns document_id and document_key, which are both required to poll status and download the result. Billed per character of the document; the DeepL API Free plan also caps documents per month.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/ai-ml/deepl.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
