# Zoho Writer Integration via LowCodeAPI

## Overview

Document editor

## Base Endpoint

```
https://api.lowcodeapi.com/zohowriter/
```

## Authentication

LowCodeAPI handles authentication automatically. You only need to:

1. **Sign up** at [Zoho Writer](https://www.zoho.com/writer)
2. **Get your credentials** from [credential page](https://accounts.zoho.com/developerconsole)
3. **Connect your account** in LowCodeAPI dashboard
4. **Use your `api_token`** in all requests

**Auth Type**: OAUTH2.0

## API Categories

- **Bulk API** - 3 endpoints
- **Conversion API** - 1 endpoints
- **Document API** - 9 endpoints
- **Folder API** - 6 endpoints
- **Merge API** - 10 endpoints
- **Meta API** - 1 endpoints
- **Publish API** - 7 endpoints
- **Template API** - 5 endpoints

## Common Endpoints

### Category: Bulk API

#### Bulk Merge

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/templates/template_id/bulkmerge`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/templates/template_id/bulkmerge?api_token={api_token}
```

**Description**: To merge documents in bulk

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`template_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "output_settings": "<object>",
  "merge_data": "<object>"
}
```

---

#### Bulk Sign

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/templates/template_id/bulkmerge/sign`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/templates/template_id/bulkmerge/sign?api_token={api_token}
```

**Description**: Allows the merge and sign documents in bulk

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`template_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "filename": "<string>",
  "signer_data": "<object>",
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<string>"
}
```

---

#### Sign API

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/sign`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/sign?api_token={api_token}
```

**Description**: Can send a document to get signed and track its status

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "recipients": "<array>",
  "subject": "<string>",
  "message": "<string>",
  "signed_document_name": "<string>"
}
```

---

### Category: Conversion API

#### Convert Documents with Web URL

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/convert`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/convert?api_token={api_token}
```

**Description**: To convert any document's existing file format (say html) to another file format (say docx or txt) with web URL

**Request Body**:
```json
{
  "url": "<string>",
  "format": "<string>",
  "filename": "<string>"
}
```

---

### Category: Document API

#### Get Trashed List

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/documents`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents?category={category}&offset={offset}&limit={limit}&sortby={sortby}&sort_order_by={sort_order_by}&resource_type={resource_type}&api_token={api_token}
```

**Description**: To retrieve the list of documents which are moved to trash with specified parameters

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`category` | string | Yes | 'trashed' - Get only the list of documents moved to trash |
|`offset` | number | No | Set offset parameter to get the list of trashed documents from the respective page |
|`limit` | number | No | Set document limit and retrieve the list of trashed documents within the specified limit |
|`sortby` | string | No | Get the list of trashed documents with respect to the document created time, modified time, or name |
|`sort_order_by` | string | No | Get the list of documents in ascending or descending order based on the 'sortby' param value configure |
|`resource_type` | string | No | Enter the document type from which the specified list needs to be retrieved |

---

#### Create through Web URL

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents?api_token={api_token}
```

**Description**: To create a document via Web URL

**Request Body**:
```json
{
  "url": "<string>"
}
```

---

#### Get All Fields

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id?api_token={api_token}
```

**Description**: To get all the available fields present in the document

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id for the Writer document |

---

#### Download Document

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/download/document_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/download/document_id?format={format}&options={options}&sign_service_name={sign_service_name}&api_token={api_token}
```

**Description**: To download the document in the specified format

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id of the document to be downloaded |

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`format` | string | No | Specify the format in which the document needs to be downloaded |
|`options` | object | No |  Specify how the track changed content needs to be reflected in downloaded file |
|`sign_service_name` | string | No | This param needs to be configured |

---

#### Copy Document

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/copy`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/copy?api_token={api_token}
```

**Description**: To retrieve a copy of a specific document

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id for the document |

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Search Document

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/documents/search`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/search?query={query}&team_id={team_id}&offset={offset}&limit={limit}&api_token={api_token}
```

**Description**: To search the documents across a team or organisation

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`query` | string | Yes | To search the document by the provided name, keyword, object and more |
|`team_id` | string | No | Specify the unique id of your team from which you would like to search the documents |
|`offset` | number | No | Set offset parameter to get the list of documents searched from the respective page |
|`limit` | number | No | Set document limit and retrieve the list of searched documents within the specified limit |

---

#### Trash Document

**Method**: `DELETE` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/trash`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/trash?api_token={api_token}
```

**Description**: To move the unwanted document to Trash. The documents inside Trash can be restored in future if require

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id for the document to be trashed |

---

#### Restore Document

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/restore`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/restore?api_token={api_token}
```

**Description**: To restore the trashed document

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id for the document to be restored |

---

#### Delete Document Permanently

**Method**: `DELETE` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/delete`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/delete?api_token={api_token}
```

**Description**: To permanently delete the trashed documents

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id for the document to be deleted |

---

### Category: Folder API

#### Get Folders List

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/folders`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/folders?category={category}&api_token={api_token}
```

**Description**: To get a list of folders from your Writer account

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`category` | string | Yes | Get the list of all folders available in your Writer account |

---

#### Get Folder Information

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/folders/folder_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/folders/folder_id?api_token={api_token}
```

**Description**: To get the sub folders list with the parent folder id

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`folder_id` | string | Yes | Specify the id of the parent folder from which you would like to retrieve the list of sub folders |

---

#### Create Folder

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/folders`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/folders?api_token={api_token}
```

**Description**: To create a new folder

**Request Body**:
```json
{
  "folder_name": "<string>"
}
```

---

#### Create Folder within Folder

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/folder/folder_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/folder/folder_id?api_token={api_token}
```

**Description**: To create a new folder within a folder

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`folder_id` | string | Yes | Specify the id of the parent folder in which you would like to create a sub folder |

**Request Body**:
```json
{
  "folder_name": "<string>"
}
```

---

#### Create Folder with Web URL

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/folders/folder_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/folders/folder_id?api_token={api_token}
```

**Description**: To create a new folder along with the content of the web URL

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`folder_id` | string | Yes | Specify the id of the parent folder where the new folder needs to be created |

**Request Body**:
```json
{
  "folder_name": "<string>",
  "filename": "<string>",
  "url": "<string>"
}
```

---

#### Delete Folder

**Method**: `DELETE` | **LowCodeAPI Path**: `/writer/api/v1/folders/folder_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/folders/folder_id?api_token={api_token}
```

**Description**: To delete a particular folder from your account

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`folder_id` | string | Yes | Specify the unique id of the folder which needs to be deleted or removed |

---

### Category: Merge API

#### Merge and Email Attachment

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/merge/email`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/merge/email?api_token={api_token}
```

**Description**: To send the merge document as attachment with a message in the body of the email

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "output_format": "<string>",
  "subject": "<string>",
  "message": "<string>",
  "recipient_email": "<string>",
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>"
}
```

---

#### Merge and Deliver via Webhook

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/merge/webhook`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/merge/webhook?api_token={api_token}
```

**Description**: To deliver the merge documents via Webhook for custom handling by consumers

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "output_format": "<string>",
  "webhook": "<object>",
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<file>"
}
```

---

#### Merge Document

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/merge`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/merge?api_token={api_token}
```

**Description**: To generate documents and merge them.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "output_format": "<string>",
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<string>"
}
```

---

#### Merge and Store V1 [Deprecated]

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/merge/store`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/merge/store?api_token={api_token}
```

**Description**: To store the merged document inside Zoho Workdrive

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "output_settings": "<object>",
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<string>"
}
```

---

#### Merge and Store V2

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v2/documents/document_id/merge/store`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v2/documents/document_id/merge/store?api_token={api_token}
```

**Description**: To store the merged document inside Zoho Workdrive

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "output_settings": "<object>",
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<string>"
}
```

---

#### Merge and Sign

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/merge/sign`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/merge/sign?api_token={api_token}
```

**Description**: To send the merged documents for sign

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "service_name": "<string>",
  "filename": "<string>",
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<string>"
}
```

---

#### Merge and Invoke

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/merge/execute`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/merge/execute?api_token={api_token}
```

**Description**: To execute/invoke the custom function configured in the template and merge it

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<string>"
}
```

---

#### Merge and Share Fillable Link

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/merge/sharetofill`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/merge/sharetofill?api_token={api_token}
```

**Description**: To generate pre-filled fillable links for the given records

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<file>"
}
```

---

#### Merge with Presets

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/mergewithpresets`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/mergewithpresets?api_token={api_token}
```

**Description**: To facilitates the execution of merge operations according to the configured template settings

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify a unique id for the writer document |

**Request Body**:
```json
{
  "merge_data": "<object>",
  "merge_data_csv_content": "<file>",
  "merge_data_json_content": "<file>",
  "merge_data_csv_url": "<string>",
  "merge_data_json_url": "<string>"
}
```

---

#### Combine PDFs

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/pdf/combine`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/pdf/combine?api_token={api_token}
```

**Description**: To combine two PDF documents

**Request Body**:
```json
{
  "files": "<file>"
}
```

---

### Category: Meta API

#### Enable/Disable Track Changes

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/meta`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/meta?api_token={api_token}
```

**Description**: To enable or disable the track changes option for a document

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id for the Writer document |

**Request Body**:
```json
{
  "operations": "<object>"
}
```

---

### Category: Publish API

#### Publish Specific Document Version

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/publish`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/publish?api_token={api_token}
```

**Description**: To publish the most recent version of the document externally

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id of the document to be published |

**Request Body**:
```json
{
  "scope": "<string>",
  "auto_republish": "<boolean>"
}
```

---

#### Unpublish Document

**Method**: `DELETE` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/publish`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/publish?api_token={api_token}
```

**Description**: To unpublish the document that has been published already

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id of the document to be published |

---

#### Get WordPress Accounts

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/apps/blog/wordpress/accounts`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/apps/blog/wordpress/accounts?api_token={api_token}
```

**Description**: To retrieve the list of WordPress accounts that are linked with Writer

---

#### Post to WordPress

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/apps/blog/wordpress/accounts/account_id/blogs/site_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/apps/blog/wordpress/accounts/account_id/blogs/site_id?api_token={api_token}
```

**Description**: To post a document from Writer to WordPress

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id of the document to be published in your WordPress site |
|`account_id` | string | Yes | Specify the unique id of your WordPress account |
|`site_id` | string | Yes | Specify the unique id of the site in which the document needs to be posted |

**Request Body**:
```json
{
  "post_type": "<string>"
}
```

---

#### Get Blogger Accounts

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/apps/blog/blogger/accounts`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/apps/blog/blogger/accounts?api_token={api_token}
```

**Description**: To retrieve the list of your Blogger accounts that are linked with Writer

---

#### Get Blogs List in Blogger

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/apps/blog/blogger/accounts/account_id/blogs`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/apps/blog/blogger/accounts/account_id/blogs?api_token={api_token}
```

**Description**: To retrieve the list of blogs available in your Blogger account

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`account_id` | string | Yes | Specify the unique id of your Blogger account |

---

#### Post to Blogger

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/documents/document_id/apps/blog/blogger/accounts/account_id/blogs/blog_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/documents/document_id/apps/blog/blogger/accounts/account_id/blogs/blog_id?api_token={api_token}
```

**Description**: To publish a document from Writer to Blogger

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`document_id` | string | Yes | Specify the unique id of the document to be published in Blogger |
|`account_id` | string | Yes | Specify the unique id of your Blogger account |
|`blog_id` | string | Yes | Specify the unique id of the blog in which the Writer document needs to be posted |

**Request Body**:
```json
{
  "post_type": "<string>"
}
```

---

### Category: Template API

#### Get List of Templates

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/templates`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/templates?type={type}&offset={offset}&limit={limit}&sortby={sortby}&api_token={api_token}
```

**Description**: To get the list of templates based on the specified parameter

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`type` | string | No | Specify the type (either personal or organization) of templates that needs to be listed |
|`offset` | number | No | Set offset parameter to get the list of templates from the respective page |
|`limit` | number | No | Set document limit and retrieve the list of templates within the specified limit |
|`sortby` | string | No | Get the list of templates in alphabetical order |

---

#### Create Template through Web URL

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/templates`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/templates?api_token={api_token}
```

**Description**: To create a template via Web URL

**Request Body**:
```json
{
  "url": "<string>"
}
```

---

#### Get Template Details

**Method**: `GET` | **LowCodeAPI Path**: `/writer/api/v1/templates/template_id`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/templates/template_id?api_token={api_token}
```

**Description**: To get the details of a template

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`template_id` | string | Yes | Specify the unique id for the template |

---

#### Copy Template

**Method**: `POST` | **LowCodeAPI Path**: `/writer/api/v1/templates/template_id/copy`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/templates/template_id/copy?api_token={api_token}
```

**Description**: To retrieve a copy of a specific template

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`template_id` | string | Yes | Specify the unique id for the template |

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Delete Template

**Method**: `DELETE` | **LowCodeAPI Path**: `/writer/api/v1/templates/template_id/delete`

**Full URL**:
```
https://api.lowcodeapi.com/zohowriter/writer/api/v1/templates/template_id/delete?api_token={api_token}
```

**Description**: To delete the unwanted templates from the template list

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`template_id` | string | Yes | Specify the unique id for the template that needs to be deleted |

---

## Complete Endpoint Reference

For a complete list of all 42 endpoints, refer to:
- **OpenAPI Definition**: `https://backend.lowcodeapi.com/zohowriter/definition`
- **Official Provider Documentation**: https://www.zoho.com/writer/help/api/v1/getting-started.html