Get Content of Email Held for Moderation


This API retrieves the content of the email that is held for moderation in a particular group.

OAuth Scope

Use the scope

ZohoMail.organization.groups.ALL (or) ZohoMail.organization.groups.READ

to generate the Authtoken.

ALL - Full access to groups.

READ - Read the messages in the group.

Request URL

Method: GET{zoid}/groups/{zgid}/messages/{messageId}

Path Parameters

  • zoid* long
    • This parameter denotes the unique Zoho Organization Identifier for the organization.
    • This parameter can be retrieved from the Organization Details API.
  • zgid* long
    • This key is used to identify the group from which the data has to be retrieved. This is generated during group addition.
    • This parameter can be retrieved from the Get all groups API.


* - Mandatory parameter

Response Codes

Refer here for the response codes and their meaning.

Sample Request

Copiedcurl "****8002/groups/360000****8002/messages/6788989****" \
-X GET \
-H "Accept: application/json" \
-H "Authorization:Zoho-oauthtoken ***"

Sample Response

    "status": {
        "code": 200,
        "description": "success"
    "data": [
            "attachments": [],
            "returnPath": "<>",
            "mailContent": "Hi, there this is a test mail.....\r\n",
            "header": "Return-Path: <>\r\nReceived: from ( []) by\r\n\twith SMTPS id 1695363842364989.3010855868208; Fri, 22 Sep 2023 11:54:02 +0530 (IST)\r\nDate: Fri, 22 Sep 2023 11:54:01 +0530 (IST)\r\nFrom:\r\nTo:\r\nMessage-ID: <1354011814.0.1695363841553@[]>\r\nSubject: hello world\r\nMIME-Version: 1.0\r\nContent-Type: text/plain; charset=us-ascii\r\nContent-Transfer-Encoding: 7bit\r\nX-ZohoMailClient: External\r\n",
            "messageId": "1695363844569000003",
            "mailId": "<1354011814.0.1695363841553@[]>",
            "toAddress": [
            "content": "<div>Hi, there this is a test mail.....\r<br /></div>"