Skip to main content
POST
/
mockups
Upload mockup
curl --request POST \
  --url https://api.surefeedback.com/api/v1/mockups \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "project_id": "<string>",
  "name": "<string>",
  "base_mockup_id": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "110e8400-e29b-41d4-a716-44665544000b",
    "name": "Homepage v2",
    "file_type": "image",
    "file_url": "https://storage.surefeedback.com/mockups/...",
    "project_id": "770e8400-e29b-41d4-a716-446655440002",
    "created_at": "2026-03-02T12:00:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.surefeedback.com/llms.txt

Use this file to discover all available pages before exploring further.

Uploads a new mockup file (image or PDF) to a project. Supports direct file uploads and Figma imports.

Request body (multipart/form-data)

project_id
string
required
UUID of the project.
file
file
required
The image (PNG, JPG, GIF, WebP) or PDF file to upload. Max 50MB.
name
string
Display name for the mockup. Defaults to the filename.
base_mockup_id
string
UUID of an existing mockup to add this as a new version of.
{
  "success": true,
  "data": {
    "id": "110e8400-e29b-41d4-a716-44665544000b",
    "name": "Homepage v2",
    "file_type": "image",
    "file_url": "https://storage.surefeedback.com/mockups/...",
    "project_id": "770e8400-e29b-41d4-a716-446655440002",
    "created_at": "2026-03-02T12:00:00Z"
  }
}