---
title: "Generate Email Draft"
method: POST
path: "/api/v1/quote-bids/{quote_bid_id}/email-draft"
tags: ["v1", "Quote Bids"]
---

# Generate Email Draft

`POST /api/v1/quote-bids/{quote_bid_id}/email-draft`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/quote-bids/{quote_bid_id}/email-draft`
- Auth: none declared

Generate a customer-facing email draft for a quote bid.

Calls the LLM with the bid's line items, notes, and terms to produce a
ready-to-edit subject + body. Does not send any email.
Requires quoting view permission.

## Path parameters

- `quote_bid_id` integer, required

## Response `200`

Successful Response

- EmailDraftResponse: Structured response from the email draft LLM call.
  - `subject` string, required
  - `body` string, required
  - `recipient_hint` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
