Guides
SDKs and libraries
Official clients wrap the API with typed methods and retries. [Confirm which SDKs ship]
Node.js
Install the package and send a message.
npm install [@migosmtp/node]
import { MigoSMTP } from "[@migosmtp/node]";
const client = new MigoSMTP(process.env.MIGOSMTP_KEY);
await client.send({ from, to, subject, text });Python
Install with pip.
pip install [migosmtp] from migosmtp import Client Client(key).send(from_=..., to=..., subject=..., text=...)
Other languages
Any HTTP client works. See the API reference for request and response shapes.
Was this page helpful?Contact support