Files
API Reference for ProcessMaker File API
Create a new Settings css-override
Laravel passport oauth2 security.
success
POST /api/1.0/customize-ui HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"variables": "text",
"sansSerifFont": "text"
}success
{
"key": "text",
"config": [
{}
],
"name": "text",
"helper": "text",
"group": "text",
"format": "text",
"hidden": true,
"readonly": true,
"variables": "text",
"sansSerifFont": "text",
"id": "text",
"created_at": "2025-11-30T06:16:27.332Z",
"updated_at": "2025-11-30T06:16:27.332Z"
}Display a listing of the resource.
Laravel passport oauth2 security.
Filter results by string. Searches Name, Description, and Status. Status must match exactly. Others can be a substring.
Field to order results by
ascPossible values: 10list of files
GET /api/1.0/files HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
list of files
{
"data": [
{
"id": 1,
"model_id": 1,
"model_type": "text",
"collection_name": "text",
"name": "text",
"file_name": "text",
"mime_type": "text",
"disk": "text",
"size": 1,
"manipulations": {},
"custom_properties": {},
"responsive_images": {},
"order_column": 1,
"created_at": "2025-11-30T06:16:27.332Z",
"updated_at": "2025-11-30T06:16:27.332Z"
}
],
"meta": {
"filter": "text",
"sort_by": "text",
"sort_order": "asc",
"count": 1,
"total_pages": 1,
"current_page": 1,
"form": 1,
"last_page": 1,
"path": "text",
"per_page": 1,
"to": 1,
"total": 1
}
}Save a new media file. Note: To upload files to a request, use createRequestFile in the RequestFile API
Store a newly created resource in storage.
Laravel passport oauth2 security.
ID of the model to which the file will be associated
Full namespaced class of the model to associate
Name of the variable used in a request
Media collection name. For requests, use 'default'
save a new media file
success
POST /api/1.0/files?model_id=1&model=text HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}success
{
"id": "text",
"model_id": "text",
"file_name": "text",
"mime_type": "text"
}Get a single media file.
Laravel passport oauth2 security.
ID of the file to return
Successfully found the file
Not Found
GET /api/1.0/files/{file_id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"model_id": 1,
"model_type": "text",
"collection_name": "text",
"name": "text",
"file_name": "text",
"mime_type": "text",
"disk": "text",
"size": 1,
"manipulations": {},
"custom_properties": {},
"responsive_images": {},
"order_column": 1,
"created_at": "2025-11-30T06:16:27.332Z",
"updated_at": "2025-11-30T06:16:27.332Z"
}Remove the specified resource from storage.
Laravel passport oauth2 security.
ID of the file
success
Not Found
DELETE /api/1.0/files/{file_id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Display the specified resource.
Laravel passport oauth2 security.
ID of the file to return
File stream
Not Found
GET /api/1.0/files/{file_id}/contents HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryLast updated