/v1/sent-emailsemails:sendSend an email
Enqueues a Gmail send via the operator's connected mailbox. Returns immediately with `status: "queued"`. The Gmail handler stamps `status` to `sent` once the send completes (typically <2s).
Run a request
POSThttps://coldos.justgotwyrd.com/api/v1/sent-emails
Body parameters
- contact_iduuidrequired
Contact to email.
- subjectstringrequired
Subject. `{{tokens}}` are resolved server-side.
- bodystringrequired
HTML body. Plain-text alternative is auto-derived.
- from_emailstringoptional
Connected Gmail address. Defaults to the API key's primary mailbox.
- ccstring[]optional
Cc recipients. Empty array = no Cc.
- bccstring[]optional
Bcc recipients.
- track_opensbooleanoptionaldefault true
Inject the open-tracking pixel.
- track_clicksbooleanoptionaldefault false
Rewrite links through the click-redirect.
- include_unsubscribebooleanoptionaldefault true
Add the RFC 8058 List-Unsubscribe headers.
- reply_to_sent_email_idstringoptional
If set, reply-on-thread instead of starting a new thread.
- 400Invalid request — see `error.message`.
- 401Missing or invalid API key.
- 403Authenticated, but the key lacks the required scope.
- 404The referenced resource does not exist or is not visible to your key.
- 429Rate limit exceeded — see `Retry-After`.
- 500Unexpected server error. Safe to retry with idempotency-key.
Was this page helpful?
Your vote stays in this browser. We'll use it to prioritise rewrites.