[Webinar] Zoho Writer for the manufacturing industry. Register Now

Skip to product menu
Skip to main content

Get Recent Documents

Purpose

To get a list of recent documents with specified parameters.

HTTP Request URL

https://{zohoapis_domain}/writer/api/v1/documents/recent

Query Parameters

ParameterData TypeDescription
Optional Parameters
offsetInteger

Set offset parameter to get the list of recent documents from the respective page.

By default, offset value will be 0.

limitInteger

Set document limit and retrieve the list of recent documents within the specified limit. 

By default, limit value will be taken as 10.

resource_typeString

Enter the document type from which the specified list needs to be retrieved.

Possible values: fillable/merge/sign

Sample Request

Copiedcurl "https://www.zohoapis.com/writer/api/v1/documents/recent
-X GET
-H "Authorization: Zoho-oauthtoken xyz"

Sample Response

Copied{
"limit": 10,
"offset": 0,
"documents": [
        {
            "created_time": "2019-03-05T12:24:21Z",
            "role": "SHAREDREADWRITE",
            "modified_time_ms": 1590050241658,
            "owner_id": "55576911",
            "parent_folder_id": "fnzpdc0f0b642e9e9450cb8c972ad866f7906",
            "collaboration_id": "1203298717956895014",
            "last_opened_time": "2019-03-05T12:24:21Z",
            "open_url": "https://writer.zoho.com/writer/open/h36bc5fc7460fe13e4dd78efc4796a44c31b8",
            "is_favourite": true,
            "last_opened_time_ms": 1551788661789,
            "thumbnail_url": "https://writer.zoho.com/writer/thumbnail/h36bc5fc7460fe13e4dd78efc4796a44c31b8",
            "document_id": "h36bc5fc7460fe13e4dd78efc4796a44c31b8",
            "type": "document",
            "created_by": "Amelia",
            "document_name": "New",
            "created_time_ms": 1551788661789,
            "modified_time": "2020-05-21T08:37:21Z",
            "preview_url": "https://writer.zoho.com/writer/zwpreview/h36bc5fc7460fe13e4dd78efc4796a44c31b8",
            "creator_id": "1308724",
            "download_url": "https://writer.zoho.com/api/v1/download/h36bc5fc7460fe13e4dd78efc4796a44c31b8",
            "permalink": "https://writer.zoho.com/writer/open/h36bc5fc7460fe13e4dd78efc4796a44c31b8",
            "lastmodified_by": [
                {
                    "email_id": "amelia@zylker.com",
                    "profile_photo": "https://contacts.zoho.com/file?t=user&ID=56556651&fs=thumb",
                    "user_id": "56556651",
                    "timezone": "Asia/Kolkata",
                    "language": "en",
                    "display_name": "Amelia"
                }
            ],
            "status": "active"
     }]
}