Skip to main content
Sends the draft via the SDR’s Composio-connected Gmail. Pre-send guardrails check quality and block sending if the draft fails scoring.
curl -X POST https://app.leadterra.co/v1/sdr/drafts/DRAFT_ID/send \
  -H "Authorization: Bearer sk_live_your_key"

Request Body

finalBodyHtml
string
Override the draft’s HTML body before sending.
finalBodyText
string
Override the draft’s plain text body before sending.
additionalCc
string[]
Additional CC email addresses.

Response

{
  "data": {
    "messageId": "gmail_message_id",
    "guardrails": {
      "blocked": false,
      "issues": [],
      "scores": {
        "overall": 0.92,
        "readability": 0.88,
        "personalization": 0.95,
        "linkQuality": 0.90
      }
    }
  }
}
If guardrails block the send, the response is 422 with the guardrails object detailing the issues.