Zoho Writer Templates API
List, create, copy, inspect and delete merge templates
List, create, copy, inspect and delete merge templates
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/zoho-writer:zoho-writer-templates-api"
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.
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: 3.2.0
info:
title: Zoho Writer Template Templates API
version: 1.0.0
description: The Zoho Writer Template API lets you create, list, retrieve, copy, and delete Writer templates. Organization template operations require a template admin role in Zoho WorkDrive and a non-Personal Edition plan.
servers:
- url: www.zohoapis.com
description: US data center
security:
- oAuth2:
- ZohoWriter.documentEditor.ALL
tags:
- name: Templates
description: Manages the Zoho Writer template catalogue, personal or organization-scoped, covering creation from scratch, an uploaded file, a URL, or an existing document; browsing; copying as a new template or a standalone document; and deletion. Organization-scoped operations require a template admin role and a non-Personal Edition WorkDrive plan.
paths:
/writer/api/v1/templates:
get:
tags:
- Templates
summary: List Templates
description: Retrieves a paginated list of templates, optionally filtered by category (personal or organization) or team, and sorted by a chosen field.
operationId: listTemplates
parameters:
- name: type
in: query
required: false
description: The category of templates to list.
schema:
type: string
enum:
- personal
- organization
default: personal
- name: offset
in: query
required: false
description: The starting index for pagination.
schema:
type: integer
default: 0
- name: limit
in: query
required: false
description: The maximum number of templates to return in a single response. Maximum allowed value is 100.
schema:
type: integer
default: 50
maximum: 100
- name: sortby
in: query
required: false
description: 'The field by which to sort the template list. `name` sorts alphabetically, `created_time` sorts by creation date, and `modified_time` sorts by the date the template was last modified. If omitted, the default order for the account type is used.
'
schema:
type: string
enum:
- name
- created_time
- modified_time
- name: team_id
in: query
required: false
description: The ID of the team/organization whose templates to retrieve.
schema:
type: string
responses:
'200':
description: List of templates retrieved successfully.
content:
application/json:
schema:
type: object
example:
total_count: 5
templates:
- created_time: '2019-08-28T16:30:33Z'
modified_time_ms: 1567009834477
owner_id: '14335411'
last_opened_time: '2019-08-28T16:30:33Z'
open_url: https://writer.zoho.com/writer/template/a7iyybadb
last_opened_time_ms: 1567009833936
type: template
thumbnail_url: https://writer.zoho.com/writer/thumbnail/a7iyybadb
created_by: amelia
created_time_ms: 1567009833936
modified_time: '2019-08-28T16:30:34Z'
preview_url: https://writer.zoho.com/writer/zwpreview/a7iyybadbb8
creator_id: '11122329'
name: ' New Template'
id: a7iyybadbb8b74e1147638bad04abc161e79e
permalink: https://writer.zoho.com/file/a7iyybadb
status: active
security:
- oAuth2:
- ZohoWriter.documentEditor.ALL
- WorkDrive.files.ALL
- WorkDrive.organization.ALL
- WorkDrive.workspace.ALL
post:
tags:
- Templates
summary: Create Template
description: 'Creates a Zoho Writer template, optionally populated from an uploaded file, a web URL, plain text, or an existing document or template to duplicate. If none of those is provided, a blank template is created.
Provide at most one of content, url, text, or document_id.'
operationId: createTemplate
requestBody:
required: false
content:
multipart/form-data:
schema:
type: object
properties:
content:
type: string
format: binary
description: 'The file to upload as the new template''s content, up to 13 MB. Supported formats: `docx`, `rtf`, `html`, `txt`, `odt`.
'
url:
type: string
format: uri
maxLength: 5000
description: 'A publicly accessible URL from which to import the template content, up to 13 MB. Supported formats: `docx`, `rtf`, `html`, `txt`, `odt`.
'
example: https://zylker.com/invoice-template.docx
text:
type: string
maxLength: 100000
description: The plain text content to populate the new template with.
example: Invoice details for Q1 2026
document_id:
type: string
description: 'The unique ID of an existing document or template to duplicate as the new template''s content. The authenticated user must have copy access to this resource.
'
example: t04apjk9p7d6ba94f4cbf9c56e1b1ed9bac89
name:
type: string
maxLength: 255
description: 'A unique name for the new template. If omitted, a default untitled name is used.
'
example: Invoice Template 2026
type:
type: string
enum:
- personal
- organization
description: The category under which the template is created. Creating an `organization` template requires the template admin role in Zoho WorkDrive and a non-Personal Edition WorkDrive plan.
default: personal
team_id:
type: string
description: 'The unique ID of the team/organization in which to create the template. Applicable only when `type` is `organization`.
'
password:
type: string
maxLength: 255
description: 'The password to unlock the uploaded `content` file or the document imported from `url`, if it is password-protected.
'
responses:
'200':
description: Template created successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/TemplateObject'
security:
- oAuth2:
- ZohoWriter.documentEditor.ALL
- WorkDrive.files.ALL
- WorkDrive.organization.ALL
- WorkDrive.workspace.ALL
/writer/api/v1/templates/{template_id}:
get:
tags:
- Templates
summary: Get Template Details
description: Retrieves detailed metadata for a specific Zoho Writer template, including its ID, name, owner, creation and modification timestamps, access URLs, and the caller's permissions on it.
operationId: getTemplateDetails
parameters:
- name: template_id
in: path
required: true
description: The unique identifier of the template.
schema:
type: string
example: a1b2c3d4e5f6g7h8i9
responses:
'200':
description: Template details retrieved successfully.
content:
application/json:
schema:
type: object
example:
created_time: '2019-08-28T16:30:33Z'
modified_time_ms: 1567009834477
owner_id: '14335411'
last_opened_time: '2019-08-28T16:30:33Z'
open_url: https://writer.zoho.com/writer/template/a7iyybadb
last_opened_time_ms: 1567009833936
type: template
thumbnail_url: https://writer.zoho.com/writer/thumbnail/a7iyybadb
created_by: amelia
created_time_ms: 1567009833936
modified_time: '2019-08-28T16:30:34Z'
preview_url: https://writer.zoho.com/writer/zwpreview/a7iyybadbb8
creator_id: '11122329'
name: Sample Name
id: a7iyybadbb8b74e1147638bad04abc161e79e
permalink: https://writer.zoho.com/file/a7iyybadb
status: active
permissions:
can_delete: true
can_trash: true
can_share: true
can_download: true
can_publish: true
can_org_publish: false
can_edit: true
can_rename: true
can_favourite: true
can_read: true
can_restore: true
can_lock: true
can_unlock: true
can_discard_lock: true
is_admin: false
can_read_fill: true
can_copy: true
can_leave: false
can_remove_share: true
security:
- oAuth2:
- ZohoWriter.documentEditor.ALL
- WorkDrive.files.ALL
- WorkDrive.organization.ALL
- WorkDrive.workspace.ALL
/writer/api/v1/templates/{template_id}/copy:
post:
tags:
- Templates
summary: Copy Template
description: Creates a copy of a specific Zoho Writer template, either as a new template or as a standalone document.
operationId: copyTemplate
parameters:
- name: template_id
in: path
required: true
description: The unique identifier of the template to copy.
schema:
type: string
example: a1b2c3d4e5f6g7h8i9
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
type:
type: string
enum:
- personal
- organization
description: The category under which the copied template is created. Copying to `organization` requires the template admin role in Zoho WorkDrive and a non-Personal Edition WorkDrive plan.
default: personal
name:
type: string
maxLength: 255
description: 'A unique name for the copied template. If omitted, defaults to "Copy of" followed by the source template''s name.
'
example: Copy of Invoice Template 2026
save_as:
type: string
enum:
- document
- template
default: template
description: 'Whether the copy is saved as a template or converted into a standalone document.
'
team_id:
type: string
description: 'The unique ID of the team/organization library to copy the template into. Applicable only when copying a public template.
'
responses:
'200':
description: Success response. The fields returned depend on whether the copy was saved as a template or as a document.
content:
application/json:
schema:
type: object
examples:
template:
summary: Copied as template
value:
created_time: '2019-08-28T16:30:33Z'
modified_time_ms: 1567009834477
owner_id: '14335411'
last_opened_time: '2019-08-28T16:30:33Z'
open_url: https://writer.zoho.com/writer/template/a7iyybadb
last_opened_time_ms: 1567009833936
type: template
thumbnail_url: https://writer.zoho.com/writer/thumbnail/a7iyybadb
created_by: amelia
created_time_ms: 1567009833936
modified_time: '2019-08-28T16:30:34Z'
preview_url: https://writer.zoho.com/writer/zwpreview/a7iyybadbb8
creator_id: '11122329'
name: Copy of Invoice Template 2026
id: a7iyybadbb8b74e1147638bad04abc161e79e
permalink: https://writer.zoho.com/file/a7iyybadb
status: active
document:
summary: Copied as document
value:
extension: zwriter
role: OWNER
modified_time_ms: 1736426248822
owner_id: '14335411'
is_published: false
open_url: https://writer.zoho.com/writer/open/6yc4z4f557db79e9f446ca37f5702c8b901f6
is_favourite: false
thumbnail_url: https://writer.zoho.com/writer/thumbnail/6yc4z4f557db79e9f446ca37f5702c8b901f6
document_id: 6yc4z4f557db79e9f446ca37f5702c8b901f6
type: document
lock_info:
status: false
document_name: Copy of Invoice Template 2026
modified_time: '2025-01-09T12:37:28Z'
permissions:
can_read_fill: true
can_trash: true
can_share: true
can_edit: true
can_lock: true
can_copy: true
can_org_publish: true
can_read: true
is_admin: false
can_discard_lock: false
can_remove_share: false
can_publish: true
can_delete: false
can_restore: false
can_rename: true
can_favourite: true
can_leave: false
can_download: true
can_unlock: false
download_url: https://writer.zoho.com/writer/api/v1/download/6yc4z4f557db79e9f446ca37f5702c8b901f6
id: 6yc4z4f557db79e9f446ca37f5702c8b901f6
final_info:
status: false
parent_info:
folder_name: My Folders
folder_link: https://workdrive.zoho.com/home/ep/6oq3d00e1e07d58c64077b4f1c1f28da4a777/privatespace/folders/files
created_time: '2025-01-08T10:38:56Z'
parent_folder_id: qpz9g646b2ddd954247b3988165bc17c156fe
resource_type: native
created_by: Amelia
created_time_ms: 1736332736838
preview_url: https://writer.zoho.com/writer/zwpreview/6yc4z4f557db79e9f446ca37f5702c8b901f6
creator_id: '14335411'
name: Copy of Invoice Template 2026
permalink: https://workdrive.zoho.com/file/6yc4z4f557db79e9f446ca37f5702c8b901f6
status: active
security:
- oAuth2:
- ZohoWriter.documentEditor.ALL
- WorkDrive.files.ALL
- WorkDrive.organization.ALL
- WorkDrive.workspace.ALL
/writer/api/v1/templates/{template_id}/delete:
delete:
tags:
- Templates
summary: Delete Template
description: Permanently deletes a specific Zoho Writer template from the template list. Deleting an organization template requires the template admin role in Zoho WorkDrive and a non-Personal Edition WorkDrive plan.
operationId: deleteTemplate
parameters:
- name: template_id
in: path
required: true
description: The unique identifier of the template to delete.
schema:
type: string
example: a1b2c3d4e5f6g7h8i9
responses:
'200':
description: Template deleted successfully.
content:
application/json:
schema:
type: object
example:
deleted_by:
email_id: amelia@zylker.com
profile_photo: https://contacts.zoho.com/file?t=user&ID=1247393&fs=thumb
user_id: '1247393'
timezone: Asia/Kolkata
language: en
display_name: Amelia
message: Template has been deleted successfully.
security:
- oAuth2:
- ZohoWriter.documentEditor.ALL
- WorkDrive.files.ALL
- WorkDrive.organization.ALL
- WorkDrive.workspace.ALL
components:
schemas:
TemplateObject:
type: object
example:
created_time: '2019-08-28T16:30:33Z'
modified_time_ms: 1567009834477
owner_id: '14335411'
last_opened_time: '2019-08-28T16:30:33Z'
open_url: https://writer.zoho.com/writer/template/a7iyybadb
last_opened_time_ms: 1567009833936
type: template
thumbnail_url: https://writer.zoho.com/writer/thumbnail/a7iyybadb
created_by: amelia
created_time_ms: 1567009833936
modified_time: '2019-08-28T16:30:34Z'
preview_url: https://writer.zoho.com/writer/zwpreview/a7iyybadbb8
creator_id: '11122329'
name: ' Sample Name'
id: a7iyybadbb8b74e1147638bad04abc161e79e
permalink: https://writer.zoho.com/file/a7iyybadb
status: active
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 workspaces.