Zoho Writer Translation API

Translate a document, returning it directly or delivering it via webhook

GitHub OpenAPI

Operations 2

POST /writer/api/v1/documents/{document_id}/translate Translate Document #
POST /writer/api/v1/documents/{document_id}/translate/webhook Translate Document via Webhook #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zoho-writer:zoho-writer-translation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zoho-writer-translation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zoho Writer Translation API
  version: 1.0.0
  description: The Zoho Writer Translation API provides operations to translate a Zoho Writer document into another language, either downloading the translated document directly or delivering it to a webhook.
servers:
- url: www.zohoapis.com
  description: US data center
security:
- oAuth2:
  - ZohoWriter.documentEditor.ALL
tags:
- name: Translation
  description: Translates Zoho Writer documents from one language to another, with results stored in WorkDrive or delivered via webhook.
paths:
  /writer/api/v1/documents/{document_id}/translate:
    post:
      tags:
      - Translation
      summary: Translate Document
      description: 'Translates a Zoho Writer document from a source language to a target language. The translated document is stored in the specified folder.


        The API initially returns a status URL. Once translation is complete, the status changes to completed and a document_link is provided to access the translated document.'
      operationId: translateDocument
      parameters:
      - name: document_id
        in: path
        required: true
        description: The unique ID of the document to translate.
        schema:
          type: string
        example: a1b2c3d4e5f6g7h8i9
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - source_language
              - target_language
              properties:
                source_language:
                  type: string
                  description: The language code of the original document.
                  enum:
                  - en
                  - de
                  - es
                  - ru
                  - zh
                  - it
                  - pt
                  - fr
                  - ja
                  - ro
                  - ar
                  - pl
                  - sv
                  - hu
                  - cs
                  - nl
                  - hi
                  - ta
                  - as
                  - bn
                  - gu
                  - kn
                  - ml
                  - mr
                  - pa
                  - te
                  - or
                  - hr
                  - uk
                  - fa
                  - ur
                  - he
                  - hy
                  - ka
                  - ca
                  - da
                  - fi
                  - et
                  - el
                  - sr
                  - zh-TW
                  - zh-CN
                  - ko
                  - be
                  - bg
                  - lv
                  - lt
                  - sk
                  - sl
                  - mk
                  - id
                  - ms
                  - fil
                  - tl
                  - af
                  - sq
                  - az
                  - eu
                  - eo
                  - gl
                  - is
                  - ga
                  - km
                  - lo
                  - mt
                  - 'no'
                  - th
                  - tr
                  - vi
                  - yi
                  - si
                  - mg
                  - sw
                  - su
                  example: en
                target_language:
                  type: string
                  description: The language code of the target translation language.
                  enum:
                  - en
                  - de
                  - es
                  - ru
                  - zh
                  - it
                  - pt
                  - fr
                  - ja
                  - ro
                  - ar
                  - pl
                  - sv
                  - hu
                  - cs
                  - nl
                  - hi
                  - ta
                  - as
                  - bn
                  - gu
                  - kn
                  - ml
                  - mr
                  - pa
                  - te
                  - or
                  - hr
                  - uk
                  - fa
                  - ur
                  - he
                  - hy
                  - ka
                  - ca
                  - da
                  - fi
                  - et
                  - el
                  - sr
                  - zh-TW
                  - zh-CN
                  - ko
                  - be
                  - bg
                  - lv
                  - lt
                  - sk
                  - sl
                  - mk
                  - id
                  - ms
                  - fil
                  - tl
                  - af
                  - sq
                  - az
                  - eu
                  - eo
                  - gl
                  - is
                  - ga
                  - km
                  - lo
                  - mt
                  - 'no'
                  - th
                  - tr
                  - vi
                  - yi
                  - si
                  - mg
                  - sw
                  - su
                  example: fr
                folder_id:
                  type: string
                  description: The ID of the folder in which to store the translated document. Defaults to "My Folder" in WorkDrive.
                  example: t04apjk9p7d6ba94f4cbf9c56e1b1ed9bac89
      responses:
        '200':
          description: Translation initiated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TranslateJobStatusResponse'
      security:
      - oAuth2:
        - ZohoWriter.documentEditor.ALL
        - WorkDrive.files.ALL
        - WorkDrive.organization.ALL
        - WorkDrive.workspace.ALL
  /writer/api/v1/documents/{document_id}/translate/webhook:
    post:
      tags:
      - Translation
      summary: Translate Document via Webhook
      description: Translates a Zoho Writer document and delivers the result to a specified webhook URL. The API initially returns a status URL. Upon successful translation, the translated document bytes are posted to the webhook endpoint. If all retries fail, a document_link is provided for manual access.
      operationId: translateDocumentViaWebhook
      parameters:
      - name: document_id
        in: path
        required: true
        description: The unique ID of the document to translate.
        schema:
          type: string
        example: a1b2c3d4e5f6g7h8i9
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - source_language
              - target_language
              - webhook
              properties:
                source_language:
                  type: string
                  description: The language code of the original document.
                  enum:
                  - en
                  - de
                  - es
                  - ru
                  - zh
                  - it
                  - pt
                  - fr
                  - ja
                  - ro
                  - ar
                  - pl
                  - sv
                  - hu
                  - cs
                  - nl
                  - hi
                  - ta
                  - as
                  - bn
                  - gu
                  - kn
                  - ml
                  - mr
                  - pa
                  - te
                  - or
                  - hr
                  - uk
                  - fa
                  - ur
                  - he
                  - hy
                  - ka
                  - ca
                  - da
                  - fi
                  - et
                  - el
                  - sr
                  - zh-TW
                  - zh-CN
                  - ko
                  - be
                  - bg
                  - lv
                  - lt
                  - sk
                  - sl
                  - mk
                  - id
                  - ms
                  - fil
                  - tl
                  - af
                  - sq
                  - az
                  - eu
                  - eo
                  - gl
                  - is
                  - ga
                  - km
                  - lo
                  - mt
                  - 'no'
                  - th
                  - tr
                  - vi
                  - yi
                  - si
                  - mg
                  - sw
                  - su
                  example: en
                target_language:
                  type: string
                  description: The language code of the target translation language.
                  enum:
                  - en
                  - de
                  - es
                  - ru
                  - zh
                  - it
                  - pt
                  - fr
                  - ja
                  - ro
                  - ar
                  - pl
                  - sv
                  - hu
                  - cs
                  - nl
                  - hi
                  - ta
                  - as
                  - bn
                  - gu
                  - kn
                  - ml
                  - mr
                  - pa
                  - te
                  - or
                  - hr
                  - uk
                  - fa
                  - ur
                  - he
                  - hy
                  - ka
                  - ca
                  - da
                  - fi
                  - et
                  - el
                  - sr
                  - zh-TW
                  - zh-CN
                  - ko
                  - be
                  - bg
                  - lv
                  - lt
                  - sk
                  - sl
                  - mk
                  - id
                  - ms
                  - fil
                  - tl
                  - af
                  - sq
                  - az
                  - eu
                  - eo
                  - gl
                  - is
                  - ga
                  - km
                  - lo
                  - mt
                  - 'no'
                  - th
                  - tr
                  - vi
                  - yi
                  - si
                  - mg
                  - sw
                  - su
                  example: de
                webhook:
                  type: object
                  description: 'Webhook configuration for receiving the translated document. The `invoke_url` field is required; all other fields are optional.

                    '
                  required:
                  - invoke_url
                  properties:
                    invoke_url:
                      type: string
                      format: uri
                      maxLength: 300
                      description: The webhook URL to which the translated document will be posted.
                      example: https://zylker.com/webhook/translation
                    timeout:
                      type: integer
                      description: The number of seconds the connection is kept open when posting to the webhook URL before giving up on that attempt.
                      minimum: 10
                      maximum: 120
                      default: 60
                      example: 60
                    retry_interval:
                      type: integer
                      description: Interval in seconds between retry attempts if the webhook post fails.
                      minimum: 60
                      maximum: 28800
                      default: 60
                      example: 60
                    headers:
                      type: object
                      description: 'Key-value header pairs to include in the webhook POST request. Maximum of 10 entries. Key names allow alphabets, numbers, hyphens, underscores, and dots. Values have a maximum length of 2500 characters.

                        '
                      maxProperties: 10
                      additionalProperties:
                        type: string
                        maxLength: 2500
                      example:
                        Authorization: Bearer zylker-token-abc123
                    http_method_type:
                      type: string
                      enum:
                      - put
                      - post
                      description: The HTTP method to use when posting to the webhook URL.
                      default: post
                  example:
                    invoke_url: https://zylker.com/webhook/translation
                    timeout: 60
                    retry_interval: 60
                    http_method_type: post
                folder_id:
                  type: string
                  description: The ID of the folder in which to store the translated document. Defaults to "My Folder" in WorkDrive.
                  example: t04apjk9p7d6ba94f4cbf9c56e1b1ed9bac89
      responses:
        '200':
          description: Translation via webhook initiated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TranslateJobStatusResponse'
      security:
      - oAuth2:
        - ZohoWriter.documentEditor.ALL
        - WorkDrive.files.ALL
        - WorkDrive.organization.ALL
        - WorkDrive.workspace.ALL
components:
  schemas:
    TranslateJobStatusResponse:
      type: object
      example:
        status_url: https://writer.zoho.com/writer/api/v1/documents/velgx886437d3f9fa442caa6e87acd9dfad0d/translate/jobs/f931a01183b33
        status: inprogress
  securitySchemes:
    oAuth2:
      type: oauth2
      description: Zoho OAuth 2.0 authentication.
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.zoho.com/oauth/v2/auth
          tokenUrl: https://accounts.zoho.com/oauth/v2/token
          scopes:
            ZohoWriter.documentEditor.ALL: Full access to the Zoho Writer document editor.
            WorkDrive.files.ALL: Full access to Zoho WorkDrive files.
            WorkDrive.organization.ALL: Full access to Zoho WorkDrive organization resources.
            WorkDrive.workspace.ALL: Full access to Zoho WorkDrive workspace resources.