Send an email

POST /api/emails with a Bearer key. Each recipient in to, cc, and bcc counts as one email.

shell
curl -X POST http://localhost:4000/api/emails \
  -H "Authorization: Bearer pg_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Ada <ada@yourdomain.com>",
    "to": ["person@example.com"],
    "subject": "Welcome",
    "html": "<p>Hello</p>"
  }'

Official SDKs wrap this endpoint. Each repo is private under github.com/pigeonfs.

Dashboard templates start as drafts. Publish a template, then send with template set to its slug and optional variables for {{name}} fields. Unpublished slugs are rejected.

SDK libraries and highlighted examples Send over SMTP instead

© 2026 Pigeon. Email on your Amazon SES account.