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

# Create a proposal from a template



## OpenAPI

````yaml /openapi.json post /v1/proposals
openapi: 3.1.0
info:
  title: Propal Public API
  version: 1.0.0
  description: >-
    Public REST API for Propal — proposals, leads, catalog, templates, themes,
    media, metrics, and organization. An MCP (Model Context Protocol) endpoint
    is also available at `POST /v1/mcp` for AI agents — it requires the
    `mcp:use` scope and exposes the same resources as tools, plus prefab section
    templates to compose proposals.
servers:
  - url: https://api.propal.io
    description: Production
security: []
paths:
  /v1/proposals:
    post:
      tags:
        - Proposals
      summary: Create a proposal from a template
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                template_id:
                  type: string
                  format: uuid
                title:
                  type: string
                  minLength: 1
                slug:
                  type: string
                  minLength: 1
                lead_id:
                  type: string
                  format: uuid
                language:
                  type: string
                  enum:
                    - fr
                    - en
                theme_id:
                  type: string
                  format: uuid
                password:
                  type: string
                settings:
                  type: object
                  properties:
                    allow_client_to_sign:
                      type: boolean
                    allow_client_to_deny:
                      type: boolean
                    allow_payment:
                      type: boolean
                    allow_client_to_download_pdf:
                      type: boolean
                products:
                  type: array
                  items:
                    type: object
                    properties:
                      bundle_id:
                        type: string
                        format: uuid
                      payment:
                        type: object
                        additionalProperties:
                          nullable: true
                proposal_product_id:
                  type: string
                  format: uuid
                  description: >-
                    UUID of an existing proposal_products row (NOT a bundle id)
                    to attach to the new proposal.
              required:
                - title
                - slug
      responses:
        '201':
          description: Created proposal
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                required:
                  - id
        '400':
          description: Validation error
        '401':
          description: Unauthorized — missing or invalid API key
        '403':
          description: Forbidden — API key missing required scope
        '404':
          description: Resource not found
        '429':
          description: Rate limit exceeded
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API key in format: pp_live_xxxxxxxxxxxxxxxxxxxxxxxx'

````