POST
POST
GET
DELETE
MailgunMailgunMessagesSend an email
POST
https://api.lowcodeapi.com/mailgun/v3/domain_name/messages
Query Parameters 1
domain_name*string
Parameters Description
domain_name*string
Domain name used to send the message
Request Body
Content Type : application/json
Request Parameters
fromstring
Email address for From header
tostring
Email address of the recipient
subjectstring
Message subject
htmlstring
Body of the message
recipient-variablesstring
A valid JSON-encoded dictionary, where key is a plain recipient address and value is a dictionary with variables that can be referenced in the message body
templatestring
Name of a template stored via template API
ccstring
Same as To but for Cc
bccstring
Same as To but for Bcc
textstring
Same as To but for Bcc
amp-htmlstring
AMP part of the message. Please follow Google guidelines to compose and send AMP emails
attachmentstring
File attachment
inlinestring
Attachment with inline disposition
Response
API response data will be shown here once the request is completed.
Snippet
cURL
curl -X POST \
 'https://api.lowcodeapi.com/mailgun/v3/domain_name/messages' \
 -H 'Cache-Control: no-cache' \
 -H 'Content-Type: application/json' --data-raw '{
  "from": "",
  "to": "",
  "subject": "",
  "html": "",
  "recipient-variables": "",
  "template": "",
  "cc": "",
  "bcc": "",
  "text": "",
  "amp-html": "",
  "attachment": "",
  "inline": ""
}'
© 2024LowCodeAPI

Last Updated : 2024-12-16 14:03 +00:00