# Request
curl "https://integrationapi.net/email/v2/Messages" \
--user sammy:fAj$xna)vm \
-H "Content-type: application/json" \
-d '{
"Sender":{
"Address":"noreply@mycompany.com",
"Name":"Sammy"
},
"Recipients":[
{
"MergeFields":{
"Name":"Ivan"
},
"Address":"ivan@example.com",
"Name":"Ivan"
}
],
"Subject":"Dear [Name]!",
"Body":{
"Html":"Dear [Name]! We look forward to seeing you tomorrow! [Unsubscribe]",
"PlainText":"Dear [Name]! Wait you! [Unsubscribe]"
}
}'
# Response
{
"Result":[
{
"Index":0,
"Address":"ivan@example.com",
"MessageId":"MSWIr1YYD2P",
"Code":"ok"
}
],
"Code":"ok",
"Description":"ok"
}