Skip to main content

Create Template

Purpose 

This API allows you to create templates. The template that is created can be accessed from the template list in your Writer account.

HTTP Request URL

https://{zohoapis_domain}/writer/api/v1/templates

Body Parameters

ParameterData TypeDescription
Optional Parameters
nameStringSpecify a unique name for the Writer template. If this param is not passed, a blank untitled template will be created.

Note: The Org-Template feature will work only for Zoho Workdrive users and it can be created only by the admins.

Sample Request

Copiedcurl "https://www.zohoapis.com/writer/api/v1/templates"
-X POST
-H "Authorization: Zoho-oauthtoken xyz"

Sample Response

Copied{
    		"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://docs.zoho.com/file/a7iyybadb"
		"status": "active"
}

Show full

Show less