Skip to content
QuickSend

Sending Emails — Basic Send

POST /api/send

Send one transactional email instantly. If you have many Gmail accounts, pass from; we default to the first.

Auth headers

Authorization: Bearer qs_live_...
x-api-key: qs_live_... (fallback)

Request

curl -X POST https://quicksend.elzipodev.cv/api/send \
  -H "Authorization: Bearer qs_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "from": ""Acme" <you@gmail.com>",
    "to": "user@example.com",
    "subject": "Welcome to Acme",
    "html": "<p>Your receipt is <b>ready</b>.</p>",
    "text": "Your receipt is ready.",
    "replyTo": "support@acme.co",
    "cc": ["ops@acme.co"],
    "bcc": "audit@acme.co",
    "attachments": [
      { "filename": "invoice.pdf", "content": "JVBERi0xLjQK...", "type": "application/pdf" }
    ]
  }'

Body fields

  • fromoptional if one Gmail, required if many. Supports "Brand" <you@gmail.com>
  • to / cc / bccstring or string[] — max 50 each
  • subject — max 998 chars
  • html / text — one required; html 2 MB, text 1 MB
  • replyTo — optional
  • attachments — 5 × 1 MB, base64, 25 MB total
  • template + data — alternative to subject/html (see Templates)

Deliverability tip

Light HTML, one link, no spam words. Keep receipts and resets inbox-friendly.

Response

{ "success": true, "messageId": "18b3...", "from": "you@gmail.com", "to": ["user@example.com"], "debug": { "issues": [] } }

Errors: 400 validation, 401 auth/gmail refresh, 429 rate/quota with Retry-After.