Create Folder within Folder
Purpose
To create a new folder within a folder.
HTTP Request URL
https://{zohoapis_domain}/writer/api/v1/folder/{{folder_id}}
Path Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
folder_id | String | Specify the id of the parent folder in which you would like to create a sub folder. |
Body Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
folder_name | String | Uniquely identifies the web application which initiates the document conversion request. |
Sample Request
Copiedcurl --location --request POST "https://www.zohoapis.com/writer/api/v1/folders/egrjadd41d336806742cfa45a61528bb0210d" \
--header "Authorization: Zoho-oauthtoken xxx.yyy.zzz" \
--form "folder_name=AmeliaFolder"
Sample Response
Copied{
"created_time": "2019-02-27T11:18:48Z",
"role": "OWNER",
"modified_time_ms": 1551266328425,
"parent_folder_id": "lh6rdc7b48962f48d480299f6d4afafe72fb3",
"last_opened_time": "2019-02-27T11:18:48Z",
"folder_name": "AmeliaFolder",
"is_favourite": false,
"last_opened_time_ms": 1551266328425,
"type": "folder",
"created_by": "Amelia",
"created_time_ms": 1551266328425,
"modified_time": "2019-02-27T11:18:48Z",
"creator_id": "1308724",
"folder_id": "h36bc1e22333978854d489476d27d381d8133",
"lastmodified_by": [
{
"email_id": "amelia@zylker.com",
"profile_photo": "https://contacts.zoho.com/file?t=user&ID=1308724&fs=thumb",
"user_id": "1308724",
"display_name": "Amelia"
}
],
"status": "active"
}