Build once,
send forever.
Developers implement communication triggers in their preferred language. The dashboard lets the entire team manage templates, campaigns, automation, and more. Easily self host to own your own communication platform and switch providers with zero downtime.
client.ts
server.ts
import SendVision from 'sendvision'
const send = SendVision('API_KEY')
// Register a new user as an email contact
async function userRegistered(name: number, email: string) {
const contact = await send.contact.create({
name,
email,
lang: 'en-us',
// ...
})
await send.email('welcome').to(contact)
await send.journey('new_user_drip').add(contact)
}
// Configure magic links for secure passwordless login
async function userLogin(email: string) {
const contact = await send.contact.get({ email })
await send.magicLink({ /* ...JWT config... */ }).to(contact)
}