πΎ Transactional Email API
Welcome to the Emailflow API documentation! With our API, you can easily automate sending transactional emails and generating PDFs. This guide will cover everything you need to know to get started.
Base URL
All URLs referenced in the API documentation have the following base URL:
Authentication
To authenticate your API requests, you need to include a Bearer Token
in your HTTP headers. The API key should be prefixed by the word Bearer
followed by a space.
Authorization: Bearer API_KEY
Note: Replace
API_KEY
with your actual API key.
Sending Emails
POST
https://api.emailflow.so/v1/email
Send transactional email.
Headers
Authorization*
Bearer API_KEY
Request Body
templateId*
String
to*
String
params
JSON
Endpoint
POST /email
Request Body Parameters
templateId
string
The ID of the email template.
to
string
The email address to send to.
params
object
Any additional parameters needed.
Response
Upon successful request, you will receive:
{
"success": true
}
Upon failure:
{
"error": "Error message here."
}
We'll be adding example requests and additional guidelines soon. Stay tuned!
Thank you for using Emailflow!
Last updated
Was this helpful?