API & Integration
Connect Flashmail
to the tools you already use.
Manage lists, subscribers and campaigns from your own system with a REST API. Sync website signups straight into your lists, and send transactional email from your app.
REST API · JSON · Lists · Subscribers · Campaigns · Webhooks
REST and JSON
Simple requests with predictable JSON responses.
Lists, subscribers and campaigns
Endpoints for the core of your email marketing.
Token authentication
Use the API token from your account.
Websites
Website signups,
straight into your lists.
Add your domain under Websites and install a small JavaScript snippet. Form submissions flow in and sync to your lists, so new contacts are ready for your next campaign.
Transactional
Send app email
through an API too.
For OTP codes, password resets and notifications, the Transactional Email API sends a pre-made template with your {{variables}}. It uses its own key and a priority lane separate from campaigns.
What you can do
Your audience and campaigns, from code.
Endpoints for the things you work with every day.
Lists
Create and manage your mailing lists.
Subscribers
List, add, update and tag subscribers.
Campaigns
Work with your campaigns from your own system.
Webhooks and notifications
Notification and webhook endpoints are part of the API.
Feedback loop
An endpoint for bounce and complaint feedback.
Website integration
Sync signup forms on your own site to your lists.
Getting started
Make your first API call.
All you need is an account and its API token.
-
1
Get your API token
Find it under Account → API in the portal.
-
2
Send a request
Pass the token as a Bearer header or an api_token parameter.
-
3
Read the JSON
Each response includes a status, a message and the data.
Common questions.
Where do I find my API token?
In the portal, go to Account → API. Send the token as a Bearer header or as the api_token parameter.
What format does the API use?
It is a REST API with JSON responses, such as {"status":1,"message":"Success","data":…}. The base URL is https://api.flashmail.id/api/v1.
Is the transactional email API the same as the REST API?
No. Transactional email has its own endpoint and its own X-API-Key, separate from the account API token. Its availability depends on your plan.
Build Flashmail
into your workflow.
Create a free account and get your API token from the Account page.