Bug - Incorrect example in the documentation

Bug - Incorrect example in the documentation

I found an issue in the Zoho API documentation. The example "Sample Request" on this page is incorrect — it shows the example for "Get Email Attachment Info" instead of "Get Email Attachment Content".

Wrong example:

  1. curl "https://mail.zoho.com/api/accounts/12345678/folders/9000000002014/messages/1710915488416100001/attachmentinfo" \
    -X GET \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -H "Authorization:Zoho-oauthtoken *****"
Correct version:
  1. curl "https://mail.zoho.com/api/accounts/12345678/folders/9000000002014/messages/1710915488416100001/attachments/139712110853010000" \
    -X GET \
    -H "Accept: application/octet-stream" \
    -H "Content-Type: application/json" \
    -H "Authorization:Zoho-oauthtoken *****"