Metta Messenger

Metta Messenger API

Metta Messenger provides a simple API to send emails.

Here are the steps you will need to follow:

Signup for Metta Messenger. Here's the link:
Signup with Metta Messenger

The From email should be registered for sending emails.

API URL:
https://api.metta.one/metta-messenger/v1/mail
Http Method:
POST

An API Key and Secret will be provided to you once your account is approved. These keys should be provided as part of the request header. And the content-type should be set to application/json.



You will provide us the IP address you will use to send emails and it will be put in our whitelist.

Sample JSON:

{
  "to": [
    {
      "name": "Sam Watson",
      "address": "watson@watsoncorp.com"
    }
  ],
  "replyTo": {
    "name": "Does Not Exist",
    "address": "no-reply@someorg.com"
  },
  "subject": "Your Invoice",
  "body": "<div>Invoice details</div>",
  "personalization": {
    "salutation": "Hello",
    "useFirstNameOnly": true
  }
}


You can provide a From section. If provided Metta Messenger will pick the name from From section. The email should be registered email. If not provided, Metta Messenger will use the name and email in account to create From section.

Personalization section is optional. If not provided, no personalization will be done by email. Otherwise, each name and email under To section will be personalized.