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

# Fetch Design

> Retrieve the stored data for a single design, including its pages and configuration, using its design ID.



## OpenAPI

````yaml POST /runtime/fetch-design
openapi: 3.1.0
info:
  title: PitchPrint Runtime API
  description: >-
    Server-side endpoints for fetching designs, projects and rendered files from
    your PitchPrint domain. Every /runtime/ call is authenticated with a
    signature computed as MD5(apiKey + secretKey + timestamp), sent as JSON in
    the request body. The timestamp is valid for a one-hour window.
  version: 9.0.0
servers:
  - url: https://api.pitchprint.io
security: []
paths:
  /runtime/fetch-design:
    post:
      summary: Fetch Design
      description: >-
        Fetch the source data for a single design associated with your domain.
        Requires a valid `designId` and the signature parameters. Use [Fetch
        Designs](/api-reference/fetch-designs) to get the available design IDs.


        **Important:** pass a `designId`, not a `categoryId` — every design
        lives inside a category, and using a category ID here will not return a
        design.
      operationId: fetchDesign
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/SignatureParams'
                - type: object
                  required:
                    - designId
                  properties:
                    designId:
                      type: string
                      description: ID of a single design.
                      example: 5afb3c7960aa7ff504632367553a3fa2
      responses:
        '200':
          description: The source data for the requested design.
          content:
            application/json:
              schema:
                type: object
              example:
                data:
                  _id: 5afb3c7960aa7ff504632367553a3fa2
                  lastModified: '2015-01-12T06:01:20.000Z'
                  _owner: '***'
                  map:
                    backgroundimages:
                      items: ''
                      mode: exclude
                    colors:
                      items: ''
                      mode: exclude
                    images:
                      items: ''
                      mode: exclude
                    modules: '{}'
                    fonts:
                      items: ''
                      mode: exclude
                  design: {}
components:
  schemas:
    SignatureParams:
      type: object
      required:
        - apiKey
        - timestamp
        - signature
      properties:
        apiKey:
          type: string
          description: Your domain's API key.
          example: your-api-key
        timestamp:
          type: integer
          description: >-
            UNIX timestamp (seconds since epoch) generated at request time.
            Valid for one hour.
          example: 1485934721
        signature:
          type: string
          description: MD5(apiKey + secretKey + timestamp).
          example: e2fc714c4727ee9395f324cd2e7f331f

````

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