> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequencehq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish a quote

> Publishes the quote directly, or triggers the account's active quote approval workflow instead if one is configured.



## OpenAPI

````yaml quote.latest.product.live POST /quotes/{id}/publish
openapi: 3.0.0
info:
  title: ''
  description: ''
  version: 0.0.1
servers:
  - url: https://dev.seqhq.io
    description: E2E
  - url: https://dev.seqhq.io
    description: DEV
  - url: https://sandbox.sequencehq.com
    description: SANDBOX
  - url: https://eu.sequencehq.com
    description: PRODUCTION
security: []
tags:
  - name: Quotes
  - name: Quote Templates
paths:
  /quotes/{id}/publish:
    servers: []
    parameters: []
    post:
      tags:
        - Quotes
      summary: Publish a quote
      description: >-
        Publishes the quote directly, or triggers the account's active quote
        approval workflow instead if one is configured.
      operationId: postQuotesByIdPublish
      parameters:
        - name: id
          in: path
          description: Quote Id
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: >-
            Your [API credentials](/reference/authentication). Eg. `Basic
            {credentials}`.
          required: true
          schema:
            type: string
        - name: sequence-version
          in: header
          description: Use this header to select an API version
          required: false
          schema:
            type: string
            enum:
              - '2024-07-30'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublishQuoteRequestBody'
              example:
                sendRecipientsEmail: true
                emailMessage: Here's your quote
                makeReadyToSign: true
                messageForApprover: Please can you take a look at this quote
            examples:
              PublishQuoteRequestBody:
                summary: ''
                value:
                  sendRecipientsEmail: true
                  emailMessage: Here's your quote
                  makeReadyToSign: true
                  messageForApprover: Please can you take a look at this quote
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublishQuoteResponseBody'
                example:
                  outcome: PUBLISHED
              examples:
                PublishQuoteResponseBody:
                  summary: ''
                  value:
                    outcome: PUBLISHED
        '400':
          description: Bad Request
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '404':
          description: Not Found
          content: {}
        '409':
          description: Conflict
          content: {}
        '500':
          description: Internal Server Error
          content: {}
components:
  schemas:
    PublishQuoteRequestBody:
      required:
        - makeReadyToSign
        - sendRecipientsEmail
      type: object
      example:
        sendRecipientsEmail: true
        emailMessage: Here's your quote
        makeReadyToSign: true
        messageForApprover: Please can you take a look at this quote
      properties:
        sendRecipientsEmail:
          type: boolean
          description: >-
            If true Sequence will send an email to all quote recipients
            notifying them of the published quote
          example: true
        emailMessage:
          type: string
          description: Optional message to include in email body
          nullable: true
          example: Here's your quote
        makeReadyToSign:
          type: boolean
          description: >-
            If true the quote is made ready to sign as part of publishing. An
            amendment quote is still published, but not made ready to sign,
            while another quote for the same billing schedule is out for
            signature or accepted but not yet executed; the published quote then
            names that quote in amendment.outForSignatureQuoteId.
          example: true
        messageForApprover:
          type: string
          description: >-
            Optional comment for the approver, used when the account requires
            quote approval
          nullable: true
          example: Please can you take a look at this quote
    PublishQuoteResponseBody:
      required:
        - outcome
      type: object
      example:
        outcome: PUBLISHED
      properties:
        outcome:
          $ref: '#/components/schemas/PublishQuoteOutcome'
          description: >-
            Whether the quote was published directly, or sent into an approval
            flow
    PublishQuoteOutcome:
      type: string
      example: PUBLISHED
      enum:
        - PUBLISHED
        - APPROVAL_REQUESTED

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.