Encharge Developers
API
Knowledgebase
Contact
Back to Encharge →
Search…
Developer Documentation
Getting Started
Sending data to your Encharge account
Getting Help
Sending Emails
Personalizing Emails with Liquid
Email Deliverability
Encharge API
API Documentation
Transactional Email API
Overview
Benefits and Features
Technical Overview
Send an email from template
Send custom HTML email
Send a plain-text email
Authentication
Reference
Sending to unsubscribed contacts
Advanced
Activity Stream
Powered By
GitBook
Technical Overview
See the
complete API reference
. Alternatively, check the
API documentation
in Postman.
The Transactional Email API:
Accepts and outputs
JSON
.
Authenticates
using API key passed via the
token
query parameter or the
X-Encharge-Token
header. Get your API key from
your Account
.
Returns
202 Accepted
on success.
Returns descriptive error messages with meaningful HTTP response codes. The response has the following format:
1
{
2
"error"
:
{
3
"message"
:
"Missing email content. Please pass `template`, `html` or `text`"
,
4
"markdown"
:
"<p>Missing email content. Please pass <code>template</code>, <code>html</code> or <code>text</code></p>\n"
,
5
"traceId"
:
"9751fe70-0957-11eb-a6b8-3baf67de29f8"
6
}
7
}
Copied!
Transactional Email API - Previous
Benefits and Features
Next - Transactional Email API
Send an email from template
Last modified
1yr ago
Copy link