GET - Message Header details of a Single email 

 Purpose

The API retrieves the internet message headers of a particular email, based on the message id passed as the request parameter. 

 Request URL

 http://mail.zoho.com/api/accounts/<accountId>/folders/folderid/messages/<messageId>/header

 Response Codes

Please refer Response Codes.

Sample Response


				{
    "status": {
        "code": 200,
        "description": "success"
    },
    "data": {
        "headerContent": "Delivered-To: rebecca@zylker.com\r\nReturn-Path: <noreply@zoho.com>\r\nDomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; \r\n  s=zapps768; d=zoho.com; \r\n  h=date:from:to:message-id:subject:mime-version:content-type:user-agent; \r\n  b=BxQ7onBb/PYT9u0HpmtSwVericP0y8+uhzr5dfX8k9NZnOHiD/Zpllo1aRdNgbfoZoSupj3v6NWQ\r\n    zg/0oZoxiRgXFw+08Uj9G2abC+DHPp9Ed0+8cCwhL/jRkIf54lKJ  \r\nReceived: from mail.zoho.com by mx.zohomail.com\r\n\twith SMTP id 1513076228534792.071397401173; Tue, 12 Dec 2017 02:57:08 -0800 (PST)\r\nDate: Tue, 12 Dec 2017 02:57:08 -0800\r\nFrom: noreply@zoho.com\r\nTo: carol@zylker.com, rebecca@zylker.com, rodrigo@zylker.com\r\nMessage-ID: <1604a5f017f.11828c460190350703.-8331939978383867794@zohomail.com>\r\nSubject: sales@zylker.com - Email held for Moderation\r\nMIME-Version: 1.0\r\nContent-Type: multipart/mixed; \r\n\tboundary=----=_Part_1349_1295225414.1513076228478\r\nUser-Agent: Zoho Mail\r\nX-Mailer: Zoho Mail\r\nX-ZohoMail: Z_54220374 SPT_1 Z_54107592 SPT_1 UDT_7 RF_0\r\n messageId : 5164940000000618000"
    }
}