Skip to content
PostMTA Hosted
StatusSign inOpen panelRequest access
Open menu

Docs

Open in panel → /app · sending

Sending

Two entry points share the same runSend pipeline:

Body (Zod):

{
  "from": "ops@verified.example.com",
  "to": ["a@example.com"],
  "cc": [],
  "bcc": [],
  "subject": "Hello",
  "text": "...",
  "html": "...",
  "idempotency_key": "..."
}

Verified From gate

If REQUIRE_VERIFIED_DOMAIN is on (or production default), the From domain must be in domains.status IN ('verified','active') for that workspace. On failure → 403 DOMAIN_UNVERIFIED.

Flow

runSendcredits.holdkumo.injectcredits.commit on 2xx → credits.void on failure. Returns 200 on inject success, 402 INSUFFICIENT, 409 DUPLICATE, 403 DOMAIN_UNVERIFIED.

Last verified: Sat Jul 11 2026 17:00:00 GMT-0700 (Pacific Daylight Time). Cross-link maintained byscripts/check-docs-drift.sh (M54).

← All docs