Penpot Upload File Media Object API

The Upload File Media Object API from Penpot — 1 operation(s) for upload file media object.

Operations 1

POST upload-file-media-object

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/penpot-upload-file-media-object-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

penpot-upload-file-media-object-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2.16'
  title: Penpot RPC Add Team To Organization Upload File Media Object API
  description: Penpot RPC-style REST API for projects, files, pages, components, and design assets.
  x-api-id: penpot-rpc
  contact:
    url: https://community.penpot.app/
    name: Penpot Support
  x-humanURL: https://penpot.app/integrations-api
servers:
- url: https://design.penpot.app/api/main/methods
  description: MAIN API
tags:
- name: Upload File Media Object
paths:
  upload-file-media-object:
    post:
      description: null
      deprecated: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              title: upload-file-media-object
              type: object
              properties:
                id:
                  $ref: '#/components/schemas/Uuid'
                fileId:
                  $ref: '#/components/schemas/Uuid'
                isLocal:
                  $ref: '#/components/schemas/Boolean'
                name:
                  type: string
                  maxLength: 250
                content:
                  title: Upload
                  type: object
                  properties:
                    filename:
                      type: string
                    size:
                      $ref: '#/components/schemas/Int'
                    path:
                      $ref: '#/components/schemas/FilesystemPath'
                    mtype:
                      type: string
                    headers:
                      type: object
                      additionalProperties:
                        type: string
                  required:
                  - filename
                  - size
                  - path
              required:
              - fileId
              - isLocal
              - name
              - content
            example: '{"id":"5ab5eb30-5b3a-81d5-8008-2a395c60da80","fileId":"5ab5eb30-5b3a-81d5-8008-2a395c60da81","isLocal":true,"name":"","content":{"filename":"94P29r10XSRdD6jOt6s36W3WZm4n","size":17610424,"path":"6LM56dV8kmi1r36631CPLF6","mtype":"w8xmknGU33xL0TH1xyhPJ4B","headers":{"4585972l3a3g381s87GE6mJBV0vLPw":"h9rnK","AM3E2Px":"3ii7Y","tvV2pFal5TPc":"7cpRlUmI3oMq334V7Mmfofpz3ML1","PI4ozWq76rUKxQKKCL4N9s2":"859F16a967","NZeO":"TRH"}}}'
      tags:
      - Upload File Media Object
components:
  schemas:
    Int:
      title: integer
      description: integer
      type: integer
    Uuid:
      title: uuid
      description: UUID formatted string
      type: string
      format: uuid
    FilesystemPath:
      title: path
      description: filesystem path
      type: string
      format: unix-path
    Boolean:
      title: boolean
      description: boolean
      type: boolean