themassprint-com Uploads API

The Uploads API from themassprint-com — 3 operation(s) for uploads.

Operations 3

POST /v1/uploads Start a PDF upload #
PUT /v1/uploads/{id}/content Upload the PDF bytes (signed URL from POST /v1/uploads) #
GET /v1/uploads/{id}/validation Validation report for an upload #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/themassprint-com:themassprint-com-uploads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

themassprint-com-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: massprint Uploads API
  version: 1.0.0
  description: 'Print-on-demand for AI agents: upload a PDF, pay a Razorpay link, get a printed storybook delivered in India. MCP server (no key needed) at /mcp. Docs at /docs; index at /llms.txt.'
  contact:
    email: work@msomu.com
servers:
- url: https://themassprint.com
security:
- apiKey: []
- {}
tags:
- name: Uploads
paths:
  /v1/uploads:
    post:
      summary: Start a PDF upload
      description: Requires an API key or a web session. Returns a signed put_url. PUT the raw PDF bytes to it; the PUT response includes the validation report.
      security:
      - apiKey: []
      responses:
        '201':
          description: Upload created
          content:
            application/json:
              schema:
                type: object
                properties:
                  upload_id:
                    type: string
                  put_url:
                    type: string
                  expires_at:
                    type: string
                  max_bytes:
                    type: integer
        '401':
          description: No API key or session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Uploads
      operationId: postV1Uploads
      x-operation-id-source: derived
  /v1/uploads/{id}/content:
    put:
      summary: Upload the PDF bytes (signed URL from POST /v1/uploads)
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: exp
        in: query
        required: true
        schema:
          type: string
      - name: sig
        in: query
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/pdf:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: Stored and printable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadValidation'
        '403':
          description: Bad/expired signature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Not a PDF — rejected before storage
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Stored but has blocking validation errors
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadValidation'
      security: []
      tags:
      - Uploads
      operationId: putV1UploadsByIdContent
      x-operation-id-source: derived
  /v1/uploads/{id}/validation:
    get:
      summary: Validation report for an upload
      description: Requires an API key or a web session, and returns 404 for uploads the caller does not own.
      security:
      - apiKey: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Report
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadValidation'
        '401':
          description: No API key or session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Uploads
      operationId: getV1UploadsByIdValidation
      x-operation-id-source: derived
components:
  schemas:
    UploadValidation:
      type: object
      properties:
        upload_id:
          type: string
        validation:
          $ref: '#/components/schemas/Validation'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            resolution:
              type: string
              description: How the caller can recover.
            details: {}
          required:
          - code
          - message
    Issue:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        resolution:
          type: string
    Validation:
      type: object
      properties:
        printable:
          type: boolean
        page_count:
          type: integer
        trim:
          type: object
          properties:
            width_mm:
              type: number
            height_mm:
              type: number
            name:
              type: string
        size_bytes:
          type: integer
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Issue'
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/Issue'
        sku:
          type: string
          description: SKU whose rules the file best matches; top-level errors/warnings are for this SKU.
        by_sku:
          type: object
          description: Per-SKU verdict (the format is not declared at upload time, so the file is checked against every SKU).
          additionalProperties:
            type: object
            properties:
              printable:
                type: boolean
              errors:
                type: array
                items:
                  $ref: '#/components/schemas/Issue'
              warnings:
                type: array
                items:
                  $ref: '#/components/schemas/Issue'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Platform API key (mp_live_...). Optional for one-off agent use.