I used a webhook (outbound) from within ZohoMail to send message details when a new message arrives that meets specific criteria.
I received this data correctly.
Now I want to get the attachment from this email message.
When I made an api call using folder and message ids, I got a 400 "invalid message id" response.
Closer inspection reveals the messageId and folderId sent from the webhook are *incorrect*.
The correct folderId for example ends in 005, where the folderId from webhook ends 000.
The correct messageId ends in 004, where the messageId from webhook ends 000.
Is there a specific purpose for this? Something I'm missing?
Thanks,
E