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

# Create a session URL for an existing quote



## OpenAPI

````yaml https://api.prets.io/v1/openapi.json post /v1/quotes/{quoteId}/sessions
openapi: 3.1.0
info:
  title: Prets API
  version: 1.0.0
servers:
  - url: https://api.prets.app
security:
  - bearerAuth: []
paths:
  /v1/quotes/{quoteId}/sessions:
    post:
      summary: Create a session URL for an existing quote
      parameters:
        - schema:
            type: string
            pattern: ^qot_[0-9A-HJKMNP-TV-Z]{26}$
          required: true
          name: quoteId
          in: path
      responses:
        '201':
          description: Session URL created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  links:
                    type: object
                    properties:
                      session:
                        type: string
                        format: uri
                    required:
                      - session
                required:
                  - links
        '401':
          description: Unauthorized
        '403':
          description: Forbidden — missing `org:quotes:manage` permission
        '404':
          description: Quote not found
        '500':
          description: Internal server error
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````