ProcessMaker Files API

File and media management

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /files List files I own · Returns all files associated with the authenticated user #
Ask an LLM
“Which files have I uploaded to ProcessMaker?”
“Can I filter my files by name or status?”
Tell an agent
List my files.
Show files matching {filter}.
POST /files Upload a new file · Save a new file #
Ask an LLM
“How do I upload a document to a case?”
“Can I attach a file to a model like a case?”
Tell an agent
Save file {file}.
Upload {file} to model {model_id} of type {model_type}.
GET /files/{file_id} Get one file · Get a single file #
Ask an LLM
“What are the details of a specific file?”
“Can I fetch a file by its ID?”
Tell an agent
Get file {file_id}.
Show the details of file {file_id}.
PUT /files/{file_id} Update a file · Update a file #
Ask an LLM
“Can I rename or edit an existing file?”
“How do I change a file's details?”
Tell an agent
Update file {file_id} with {file}.
Rename existing file {file_id}.
DELETE /files/{file_id} Delete a file · Delete a file #
Ask an LLM
“How do I delete a file I no longer need?”
“Can I remove a file from a case?”
Tell an agent destructive · confirm first
Delete file {file_id}.
Remove file {file_id}.

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/processmaker:processmaker-files-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

processmaker-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProcessMaker Platform RESTful Files API
  description: The ProcessMaker Platform RESTful API provides programmatic access to all platform functionality including process design, case management, task handling, user management, and enterprise integrations. The API is BPMN 2.0 compliant and follows the OpenAPI specification with interactive Swagger UI documentation auto-generated by Swagger/L5-Swagger.
  version: 1.0.0
  contact:
    email: info@processmaker.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://{organization}.processmaker.net/api/1.0
  description: ProcessMaker Cloud instance
  variables:
    organization:
      default: myorg
      description: Your ProcessMaker organization subdomain
security:
- bearerAuth: []
tags:
- name: Files
  description: File and media management
paths:
  /files:
    get:
      tags:
      - Files
      summary: Returns all files associated with the authenticated user
      operationId: getFiles
      parameters:
      - name: request_id
        in: query
        schema:
          type: integer
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/order_by'
      - $ref: '#/components/parameters/order_direction'
      - $ref: '#/components/parameters/per_page'
      responses:
        '200':
          description: List of files
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Media'
                  meta:
                    $ref: '#/components/schemas/Metadata'
    post:
      tags:
      - Files
      summary: Save a new file
      operationId: createFile
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                model_id:
                  type: integer
                model_type:
                  type: string
                collection_name:
                  type: string
      responses:
        '201':
          description: Created file
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Media'
  /files/{file_id}:
    get:
      tags:
      - Files
      summary: Get a single file
      operationId: getFileById
      parameters:
      - name: file_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Single file
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Media'
        '404':
          $ref: '#/components/responses/404'
    put:
      tags:
      - Files
      summary: Update a file
      operationId: updateFile
      parameters:
      - name: file_id
        in: path
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '204':
          description: No content
    delete:
      tags:
      - Files
      summary: Delete a file
      operationId: deleteFile
      parameters:
      - name: file_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '204':
          description: No content
components:
  schemas:
    Media:
      type: object
      properties:
        id:
          type: integer
        model_id:
          type: integer
        model_type:
          type: string
        collection_name:
          type: string
        name:
          type: string
        file_name:
          type: string
        mime_type:
          type: string
        size:
          type: integer
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        url:
          type: string
          format: uri
    Metadata:
      type: object
      properties:
        total:
          type: integer
        count:
          type: integer
        per_page:
          type: integer
        current_page:
          type: integer
        total_pages:
          type: integer
        sort_by:
          type: string
        sort_order:
          type: string
        search:
          type: string
  parameters:
    filter:
      name: filter
      in: query
      description: 'Filter results by string. Searches Name, Description, and Status. Status must match exactly. Others can be a substring.

        '
      schema:
        type: string
    order_direction:
      name: order_direction
      in: query
      schema:
        type: string
        enum:
        - asc
        - desc
        default: asc
    per_page:
      name: per_page
      in: query
      schema:
        type: integer
        default: 10
    order_by:
      name: order_by
      in: query
      description: Field to order results by
      schema:
        type: string
  responses:
    '404':
      description: Not Found
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT