- In Transactional Email → API and SMTP, click New credential and choose API key.
- Copy it right away: we won't show it again. Store it as an environment variable in your system, never in browser code.
- Send a POST like the one below, with a sender on a verified domain.
Example
- URL
https://fodenflow.com/api/v1/envios/mensajes- Headers
Authorization: Bearer ffe_… Content-Type: application/json Idempotency-Key: order-1001- Body
{"from":"My Store <[email protected]>","to":["[email protected]"],"subject":"We got your order","html":"<p>Thanks!</p>","text":"Thanks!","reply_to":"[email protected]","tags":["order"]}
Fields
- from: "Name <addr@yourdomain>" (verified domain).
- to: one address or a list of up to 50 (each is sent separately).
- subject and html or text (or both), up to 1 MB in total.
- reply_to, tags (up to 10) and headers (only X-… and List-Unsubscribe), optional.
Responses
- 202: queued. Returns each recipient's id; check its status with GET /api/v1/envios/mensajes/<id>.
- 401: wrong or revoked key. 403: unverified sender or paused account.
- 429: you hit a cap (monthly, daily or per minute): the message says which.
- 413: the content is too large.
With Idempotency-Key you can retry safely: for 24 hours, the same key returns the same response and never sends twice.
Ask the assistant
Still have a question about this? Ask the assistant.
Was this article helpful?
Related articles
- Verify your domain and set up SPF, DKIM and DMARCYou can only send from verified domains. Here's how to add the records so your emails reach the inbox.
- Send via SMTP from WordPress, WooCommerce or your appServer, port, username and password to send your site's emails through Fodenflow.
- Bounces, suppression, limits and automatic pausesWhat happens to addresses that bounce or complain, new account limits and the event webhook.