Prerequisites
Using SDK
This example is based on the Mailrify’s official mailrify-node SDK library.1
Install SDK
2
Initialize SDK
Get the API key from the Mailrify dashboard and initialize the SDK.
3
Send Email
Custom headers are forwarded as-is. Mailrify only manages theX-Usesend-Email-IDandReferencesheaders.
Adding contacts programatically
1
Get the contact book id
Get the contact book id from the Mailrify dashboard. Copy the contact book id.
2
Add contacts
3
Update contact