---
title: "Create Quote"
method: POST
path: "/quotes"
tags: ["Quotes"]
---

# Create Quote

`POST /quotes`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/quotes`
- Auth: HTTP bearer

Create a new quote in `draft` status. Always creates — never sends.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- QuoteCreateRequest: Create a new quote (always starts in `draft` status). Mirrors ``CreateQuoteDTO``. At least one of ``signer_contact_id`` or ``signer_email`` is required. ``line_items`` must be non-empty — zero-line quotes can't be invoiced. ``deal_id`` is required: every new quote must be linked to an existing deal (422 otherwise); the company defaults to the deal's company when omitted.
  - `title` string, required
  - `mashup_company_id` integer, nullable
  - `signer_contact_id` integer, nullable
  - `signer_email` string, nullable
  - `signer_name` string, nullable
  - `billing_contact_id` integer, nullable
  - `billing_legal_name` string, nullable
  - `billing_primary_email` string, nullable
  - `billing_email` string, nullable
  - `billing_address` string, nullable
  - `deal_id` string, required
  - `owner_id` string, nullable
  - `template_id` string, nullable
  - `currency` string
  - `payment_terms` 'due_on_receipt' | 'net_15' | 'net_30' | 'net_45' | 'net_60' | 'net_90'
  - `valid_until` string, nullable
  - `terms_content` string, nullable
  - `privacy_content` string, nullable
  - `notes` string, nullable
  - `public_notes` string, nullable
  - `tax_amount` integer
  - `line_items` QuoteLineItemRequest[], required
    - `stripe_product_id` string, nullable
    - `stripe_price_id` string, nullable
    - `manual_product_id` string, nullable
    - `product_name` string, required
    - `description` string, nullable
    - `quantity` integer
    - `unit_amount` integer, required: In cents
    - `discount_pct` number
    - `billing_frequency` 'one_time' | 'month' | 'year' | 'quarter', nullable
    - `start_month` integer: Contract month when recurring billing begins; 1 means at contract start. Use billing_start_date instead for an exact date.
    - `billing_start_date` string, date, nullable: Exact recurring billing start date within the contract; start_month must remain 1 when supplied.
    - `sort_order` integer
  - `contract_months` number, nullable
  - `contract_duration_value` number, nullable
  - `contract_duration_unit` 'months' | 'weeks' | 'days', nullable
  - `contract_start_date` string, nullable
  - `contract_end_date` string, nullable
  - `accepted_payment_methods` string[], nullable
  - `marketing_rights` string[], nullable

## Response `201`

Successful Response

- ApiResponseQuoteDetail
  - `data` QuoteDetail, required: Full row + line items + activity + envelope from ``GET /quotes/{id}``. Open dict because ``_get_quote_detail`` returns the dynamic ``_row_to_dict`` shape plus resolved contact/company/envelope blocks.
    - `id` string, nullable
    - `quote_number` string, nullable
    - `title` string, nullable
    - `status` string, nullable
    - `line_items` object[], nullable
    - `activity` object[], nullable
    - `envelope` object, nullable
  - `pagination` PaginationMeta
    - `page` integer, required: Current page number (1-indexed)
    - `limit` integer, required: Items per page
    - `total` integer, required: Total number of items
    - `has_next` boolean, required: Whether there are more pages
    - `next_cursor` string, nullable: Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers.
    - `total_available` integer, nullable: Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search.
    - `total_is_lower_bound` boolean, nullable: Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search.
    - `notes` string[], nullable: Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/89fc11143b70?raw)
