mailvina
DocsQuickstart ▾

Getting started

Quickstart

Send your first email without verifying a domain, using the sandbox sender.

1. Create an API key

Open Dashboard → API keys, click Create API key and copy the token. It starts with mv_ and is shown once.

2. Send an email

Until you verify a domain you can send from the sandbox address to your own team members and the reserved test addresses.

curl -X POST 'https://api.mailvina.com/emails' \
  -H 'Authorization: Bearer mv_xxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
  "from": "Mailvina <[email protected]>",
  "to": [
    "[email protected]"
  ],
  "subject": "Hello world",
  "html": "<p>It works!</p>"
}'
{
  "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794"
}

3. See what happened

Open Dashboard → Emails to see the event timeline, or GET /emails/:id.

Next