> ## 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 User Projects

> Retrieve the saved projects belonging to a single customer, for listing their designs outside the editor.



## OpenAPI

````yaml POST /runtime/fetch-user-projects
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-user-projects:
    post:
      summary: Fetch User Projects
      description: >-
        List all projects linked to a specific user. Unlike the other runtime
        calls, this endpoint runs on `https://api.pitchprint.com` and is
        authenticated with your domain's Secret Key sent in the `Authorization`
        header — not the signature parameters. Pass the user's `userId` in the
        body. The response returns an array of the user's projects, each with
        its `designId`, `title`, `product` details and timestamps.
      operationId: fetchUserProjects
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - userId
              properties:
                userId:
                  type: string
                  description: The unique userId of the user.
                  example: '5629946986554'
      responses:
        '200':
          description: The projects linked to the user.
          content:
            application/json:
              schema:
                type: object
              example:
                data:
                  - product:
                      name: mens vest
                      id: 6734621474874
                      title: Mens Vest
                      url: >-
                        pitchprint.myshopify.com/collections/frontpage/products/mens-vest
                    apiKey: pitchprint.myshopify.com
                    lastEdit: 1732172100
                    pageLength: 1
                    mode: new
                    created: 1732172100
                    userData:
                      name: undefined undefined
                    userId: '5629946986554'
                    _id: d8b63bf34ec40b4a555c5fcb0a577324e6
                    saveForLater: false
                    designId: 6e4439d8ce445bde13e2c546dd0a45c7
                    title: Men's Vest (3D)
      security:
        - secretKeyAuth: []
      servers:
        - url: https://api.pitchprint.com
components:
  securitySchemes:
    secretKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Your domain's secret key, sent as the Authorization header.

````

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