Email API key features
Use the Send Email messages (opens in a new tab) API endpoint to send either a single message or batch messages to many recipients in a single request.
Fully featured email
Send one or more emails with attachments and rich HTML content. See the Send fully featured email (opens in a new tab) API endpoint for reference.
Multiple recipients
Send the same email to multiple recipients by including more than one to, cc, or bcc parameter in the request.
curl -s --user user:password \
https://./3/send \
-F from='Jane Smith ' \
-F to='[email protected]' \
-F to='[email protected]' \
-F cc='[email protected]' \
-F cc='[email protected]' \
-F bcc='[email protected]' \
-F bcc='[email protected]' \
-F subject='Mail subject text' \
-F text='Mail body text' \
--form-string html='Html bodyRich HTML message body.' \
-F attachment=@files/image1.jpg
Multiple attachments
Add more than one attachment parameter in the request to send emails with multiple attachments.
Templates for personalized emails
Personalization improves engagement and deliverability. The API supports multiple ways to customize messages:
- Templates: Define templates in the Infobip web interface and call them with
templateId. - Dynamic placeholders: Insert personalized values via the
toparameter or defaults in the request.
Add placeholder values within the request to send personalized messages, or pass a templateId for predefined templates created in the web interface (opens in a new tab).