Issue
The thread.replied webhook failed to trigger despite message tracking enabled. This issue can occur due to insufficient scopes and misconceptions about the interaction between message tracking and webhook triggers.
Note: thread.replied is ONLY triggered when participants REPLY to a message, not when the connected account replies to messages in the thread.
Cause
- Missing
Mail.sendorMail.Read(Microsoft),gmail.sendorgmail.readonly(Google) scope for the grant. See Email Scopes. - Missing subscription to the
thread.repliedwebhook at the application level.
Solution
To ensure that the thread.replied webhook is triggered correctly, follow these steps:
- Verify Scopes: Ensure the grant includes the
Mail.send&Mail.Readorgmail.send&gmail.readonlyscopes. This scopes are necessary for message tracking and the subsequent triggering of webhooks. - Subscribe to Webhook: Subscribe to the
thread.replied, to receive notifications when an event occurs.
Resources
Updated
Comments
0 comments
Please sign in to leave a comment.