Translate Document
Purpose
This API allows you to translate the document.
HTTP Request URL
https://{zohoapis_domain}/writer/api/v1/documents/<document_id>/translate
Path Parameters
Parameter | Data Type | Description |
Mandatory Parameter | ||
document_id | String | Specify the unique id of the document that needs to be translated. |
Body Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
source_language | String | Specify the language code of the given original document. |
target_language | String | Specify the language code in which the original document needs to be translated. |
Optional Parameter | ||
folder_id | String | Specify the ID of the folder where you'd like to store the translated document. By default, it will be saved in the "My Folder" of WorkDrive. |
Note:
- To use this API, an OAuth token should be generated with the following scopes; ZohoWriter.documentEditor.ALL
- You can check the possible errors list here.