Skip to content

Quick Start

Common Settings

  1. After signing up for Vell, go to the dashboard.
  2. Open the Account tab and copy and note the value of the Auth Key.

Here we use Node.js as an example to guide you through the setup.

We assume version 18.0 or later.

Setup on Vell side

Configuration on the Node.js side

  1. Only an example of a minimum configuration is described here.
  2. See here for the type of payload. Execute send to send an email with the contents of payload. If you actually try it, replace to with your own e-mail address and execute it.
    const payload = {
    subject: "Cool Subject",
    body: "# Headline\n This is a **Markdown** text\n ![](https://picsum.photos/500/300)",
    to: [
    { email: "[email protected]" },
    { email: "[email protected]", name: "John Adams" },
    ]
    };
    const KEY = /// The Auth Key you just copied
    const send = async () => {
    const headers = new Headers();
    headers.append("auth-key", KEY);
    const response = await fetch("https://vell-letter.com/api/send/v1",
    {
    method: "POST",
    body: JSON.stringify(payload),
    headers: headers
    })
    }