How to get Email delivery logs on Webhook

You can use Webhook to receive the logs of the emails sent from your MSG91 account.


Follow the below steps-


1. Log in to your MSG91 account and select the Email section.


MSG91 Dashboard


2. Select the Webhooks option in the URL and enter the webhook URL in the delivery report option and click on the Save button.


Webhook Options In Email Tool


3. In case the webhook is not set properly, you would get an error as shown in the image below.


Invalid Webhook URL Error


You can try https://pipedream.com/requestbin to create a Webhook for testing. Refer to this Help Doc for details.


Note-



If you want to have a no-reply functionality, you can use an email ID in the "from" field like                              [email protected] which doesn't actually exist. You will be able to send emails via API using such an email ID, but it won't receive any emails. Also, the user will be able to understand from its name ([email protected]) that no reply should be made to this email.





Here is a Sample Response on Webhook for Reference:

Sample Webhook Response