Skip to content

API Overview

The Shotprose API allows you to generate device mockups programmatically. All API access requires an active Pro subscription.

Base URL

https://shotprose.com/api/v1

Endpoints

MethodEndpointDescription
POST/mockupGenerate a device mockup
GET/healthCheck API health status

Authentication

All requests to /api/v1/mockup require a Bearer token in the Authorization header:

Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

See Authentication for details on obtaining and using API keys.

Response Format

Successful responses return JSON with success: true:

json
{
  "success": true,
  "image": {
    "data": "base64-encoded-image...",
    "mimeType": "image/png",
    "width": 1920,
    "height": 1080
  },
  "duration": 2340
}

Error responses return JSON with success: false:

json
{
  "success": false,
  "error": {
    "code": "INVALID_REQUEST",
    "message": "Human-readable error message"
  }
}

Rate Limits

API requests are limited to 60 requests per minute per user. See Rate Limits for details.

Next Steps

Shotprose API Documentation