Get Team Folder MyDraft Files
This API fetches the list of all of the draft files in a team folder.
Note:
The drafted files will be visible only to the File Owners and not visible to the other team members.
Endpoints
OAuth Scope
curl --request GET \
--url https://www.zohoapis.com/workdrive/api/v1/teamfolders/{teamfolder_id}/mydrafts \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Path Parameters
The unique ID of a team folder.
Query Parameters
Note:
Query parameter name should be URL encoded with UTF-8 Charset. For more info, refer here
To filter by resource type.
Eg. filter[type]=documents
For list of filter type, see File filter in Filters page, refer here
Limit indicates the number of items to be listed.
(The maximum limit is 50).
For More Details about pagination, refer here
Offset indicates from where the listing should start.
Sorting can be done with these fields:
- name
- kind
- shared_time
- last_modified
- created_time
To sort in descending order, prefix the field value with a hyphen (-).
Eg. sort=-name sorts results by name in descending order.
{
"data": [
{
"id": "ly9zm6bfb474b23d945288fd11f123c05843e",
"type": "files",
"attributes": {
"modified_by_zuid": "747938014",
"is_locked": false,
"conv_engine_type": 0,
"is_fillable_resource": false,
"is_published": false,
"collab_id": "2243193149594280833",
"destination_id": "ly9zm0170fb40015f4e2297a144e2b68cfa68",
"storage_info": {
"size": "0 bytes",
"storage_used": "0 bytes",
"files_count": 0,
"folders_count": 0,
"size_in_bytes": 0,
"storage_used_in_bytes": 0
},
"type": "writer",
"created_time_i18": "Apr 13, 12:07 AM",
"modified_time_in_millisecond": 1618252689155,
"opened_time": "Apr 13, 12:07 AM",
"status_change_time": "Apr 13, 12:08 AM",
"download_url": "https://download-accl.zoho.com/v1/workdrive/download/ly9zm6bfb474b23d945288fd11f123c05843e",
"comment_badge_count": 0,
"is_app_associated": false,
"created_time": "Apr 13, 12:07 AM",
"lock_status": 2,
"is_folder": false,
"resource_type": 2001,
"is_email_in_upload": false,
"display_attr_name": "Report April Month",
"created_by": "Zylker Creation",
"display_html_name": "Report April Month",
"labels": [],
"parent_id": "ly9zm0170fb40015f4e2297a144e2b68cfa68",
"name": "Report April Month",
"status_change_time_in_millisecond": 1618252689155,
"permalink": "https://writer.zoho.com/writer/open/ly9zm6bfb474b23d945288fd11f123c05843e",
"favorite": false,
"new_badge_count": 0,
"status": 4,
"modified_time_i18": "Apr 13, 12:08 AM",
"opened_time_i18": "Apr 13, 12:07 AM",
"extn": "zwriter",
"shortcut_link": "",
"status_change_time_i18": "Apr 13, 12:08 AM",
"description": "",
"uploaded_time_in_millisecond": 1618252658914,
"thumbnail_url": "https://previewengine-accl.zoho.com/thumbnail/WD/ly9zm6bfb474b23d945288fd11f123c05843e",
"title": "",
"modified_time": "Apr 13, 12:08 AM",
"library_id": "ly9zm0170fb40015f4e2297a144e2b68cfa68",
"icon_class": "writer",
"created_time_in_millisecond": 1618252658911,
"owner": "747937818",
"creator": "747938014",
"capabilities": {
"can_read": true,
"can_share": true,
"can_remove_share": false,
"can_delete": true,
"can_edit": true,
"can_upload_files": false,
"can_trash": false,
"can_rename": true,
"can_restore": false,
"can_copy": false,
"can_move": false,
"can_zip": true,
"can_download": true,
"can_emailattach": true,
"can_publish": true,
"can_create_task": true,
"can_share_support": true,
"can_label": true,
"can_checkout": false,
"can_cancel_checkout": false,
"can_discard_checkout": false,
"can_checkin": false,
"can_read_comment": true,
"can_create_comment": true,
"can_trash_files": false
},
"uploaded_time_i18": "Apr 13, 12:07 AM",
"is_external_upload": false,
"watch_preference": {
"watch": false,
"notifyemail": false,
"notifybell": false
},
"opened_time_in_millisecond": 1618252658911,
"edit_badge_count": 0,
"share_data": [],
"uploaded_time": "Apr 13, 12:07 AM",
"has_folders": false,
"service_type": "zw",
"display_url_name": "Report+April+Month",
"is_unread": false,
"modified_by": "Zylker Creation",
"embed_props": {}
},
"relationships": {
"folders": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/folders",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/folders"
}
},
"comments": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/comments",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/comments"
}
},
"previewinfo": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/previewinfo",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/previewinfo"
}
},
"unzip": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/unzip",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/unzip"
}
},
"publiclink": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/publiclink",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/publiclink"
}
},
"resourceproperty": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/resourceproperty",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/resourceproperty"
}
},
"parentfolders": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/parentfolders",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/parentfolders"
}
},
"shortcut": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/shortcut",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/shortcut"
}
},
"importfile": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/importfile",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/importfile"
}
},
"versions": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/versions",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/versions"
}
},
"supportshare": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/supportshare",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/supportshare"
}
},
"permissions": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/permissions",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/permissions"
}
},
"timeline": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/timeline",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/timeline"
}
},
"files": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/files",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/files"
}
},
"saveastemplate": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/saveastemplate",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/saveastemplate"
}
},
"links": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/links",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/links"
}
},
"copy": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/copy",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/copy"
}
},
"previewzip": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/previewzip",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/previewzip"
}
},
"tasks": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/tasks",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/tasks"
}
},
"breadcrumbs": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/breadcrumbs",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/breadcrumbs"
}
},
"entity": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/entity",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/entity"
}
},
"custommetadata": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/custommetadata",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/custommetadata"
}
},
"statistics": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/statistics",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/statistics"
}
},
"appdata": {
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/relationships/appdata",
"related": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e/appdata"
}
}
},
"links": {
"self": "https://www.zohoapis.com/workdrive/files/ly9zm6bfb474b23d945288fd11f123c05843e"
}
}
]
}
{
"errors": [
{
"id": "R221",
"title": "Invalid inputs"
}
]
}
{
"errors": [
{
"id": "U001",
"title": "User not logged in. Please Log in"
}
]
}
{
"errors": [
{
"id": "R008",
"title": "Unauthorized access"
}
]
}
{
"errors": [
{
"id": "R004",
"title": "Invalid resourceId passed. Please use a valid resourceId"
}
]
}
{
"errors": [
{
"id": "F000",
"title": "General Exception"
}
]
}
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.