Encharge Developers
  • Developer Documentation
  • Getting Started
    • Sending data to your Encharge account
      • Ingest API
      • JavaScript Event Tracking
      • Segment.com Integration
    • Getting Help
  • Sending Emails
    • Personalizing Emails with Liquid
    • Email Deliverability
  • Encharge API
  • API Documentation
  • Transactional Email API
    • Overview
      • Pricing
    • 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
On this page

Was this helpful?

  1. Transactional Email API

Technical Overview

PreviousBenefits and FeaturesNextSend an email from template

Last updated 4 years ago

Was this helpful?

See the . Alternatively, check the 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 .

  • Returns 202 Accepted on success.

  • Returns descriptive error messages with meaningful HTTP response codes. The response has the following format:

{
    "error": {
        "message": "Missing email content. Please pass `template`, `html` or `text`",
        "markdown": "<p>Missing email content. Please pass <code>template</code>, <code>html</code> or <code>text</code></p>\n",
        "traceId": "9751fe70-0957-11eb-a6b8-3baf67de29f8"
    }
}

complete API reference
API documentation
your Account