Authenticate with a Bearer API key and POST to /v1/emails. That's the whole quickstart.
import { YoursTruly } from "@saalr-io/yours-truly";const yt = new YoursTruly(process.env.YT_API_KEY);await yt.emails.send({from: "hello@yourstrulymail.com",to: ["sreekanth@saalr.io"],subject: "Email that lands",html: "<strong>Yours, truly.</strong>",});// → { id: "email_yrwky6q…", status: "sent" }
Base URL https://api.yourstrulymail.com