Presscart Files API
The Files API from Presscart — 5 operation(s) for files.
The Files API from Presscart — 5 operation(s) for files.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/presscart-com:presscart-com-files-api"
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.
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: 3.2.0
info:
version: 2.9.4
title: PRESSCART PROD Files API
description: API Documentation
security:
- Bearer: []
tags:
- name: Files
paths:
/files/upload:
post:
tags:
- Files
summary: Upload files
description: 'Upload 1-5 files via multipart/form-data. Accepted image types: jpg, jpeg, png (max 25MB). Accepted document types: docx, pdf, txt (max 50MB).'
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
files:
anyOf:
- {}
- type: array
items: {}
format: binary
folder_id:
type: string
format: uuid
required:
- files
responses:
'201':
description: Files uploaded successfully
content:
application/json:
schema:
type: object
properties:
files:
type: array
items:
$ref: '#/components/schemas/FileUploadResponse'
required:
- files
operationId: postFilesUpload
/files:
get:
tags:
- Files
summary: List files
description: Retrieve a paginated list of files. Admins can filter by team_id. Non-admins see only their team files.
parameters:
- schema:
type:
- number
- 'null'
required: false
name: limit
in: query
- schema:
type:
- number
- 'null'
required: false
name: page
in: query
- schema:
type: string
required: false
name: sort_by
in: query
- schema:
type: string
enum:
- asc
- desc
required: false
name: order_by
in: query
- schema:
type: string
required: false
name: q
in: query
- schema:
type: string
format: uuid
required: false
name: folder_id
in: query
- schema:
type: string
format: uuid
required: false
name: team_id
in: query
responses:
'200':
description: Files retrieved successfully
content:
application/json:
schema:
type: object
properties:
total_pages:
type: number
current_page:
type: number
next_page:
type:
- number
- 'null'
previous_page:
type:
- number
- 'null'
records:
type: array
items:
$ref: '#/components/schemas/FileResponse'
required:
- total_pages
- current_page
- next_page
- previous_page
- records
operationId: getFiles
/files/move:
post:
tags:
- Files
summary: Move files to a folder
description: Move one or more files to a folder (or root if folder_id is null). Team-scoped.
requestBody:
content:
application/json:
schema:
type: object
properties:
file_ids:
type: array
items:
type: string
format: uuid
minItems: 1
maxItems: 50
folder_id:
type:
- string
- 'null'
format: uuid
description: Target folder ID, or null to move to root
required:
- file_ids
- folder_id
responses:
'200':
description: Files moved successfully
content:
application/json:
schema:
type: object
properties:
moved_count:
type: number
required:
- moved_count
operationId: postFilesMove
/files/{file_id}/download:
get:
tags:
- Files
summary: Download a file
description: 'Download a file with Content-Disposition: attachment header.'
parameters:
- schema:
type: string
required: true
name: file_id
in: path
responses:
'200':
description: File binary stream
operationId: getFilesByFileIdDownload
/files/{file_id}:
get:
tags:
- Files
summary: Get a file by ID
description: Retrieve a file record with a fresh signed URL.
parameters:
- schema:
type: string
required: true
name: file_id
in: path
responses:
'200':
description: File retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/FileResponse'
operationId: getFilesByFileId
delete:
tags:
- Files
summary: Delete a file
description: Delete a DB-backed file by UUID or file key.
parameters:
- schema:
type: string
required: true
name: file_id
in: path
responses:
'200':
description: File deleted successfully
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
required:
- success
operationId: deleteFilesByFileId
components:
schemas:
FileResponse:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
file_key:
type: string
size:
type:
- number
- 'null'
mime_type:
type: string
team_id:
type:
- string
- 'null'
format: uuid
folder_id:
type:
- string
- 'null'
format: uuid
uploaded_by:
type:
- string
- 'null'
format: uuid
created_at:
anyOf:
- type:
- string
- 'null'
- type: string
- {}
example: '2026-11-19T17:30:12.130Z'
updated_at:
anyOf:
- type:
- string
- 'null'
- type: string
- {}
example: '2026-11-19T17:30:12.130Z'
deleted_at:
anyOf:
- type:
- string
- 'null'
- type: string
- {}
example: null
file_url:
type: string
description: Signed URL for accessing the file
required:
- id
- name
- file_key
- size
- mime_type
- team_id
- folder_id
- uploaded_by
- created_at
- updated_at
- deleted_at
- file_url
FileUploadResponse:
type: object
properties:
id:
type: string
format: uuid
file_key:
type: string
file_url:
type: string
description: Signed URL for accessing the file
name:
type: string
size:
type:
- number
- 'null'
mime_type:
type: string
folder_id:
type:
- string
- 'null'
format: uuid
required:
- id
- file_key
- file_url
- name
- size
- mime_type
- folder_id
securitySchemes:
Bearer:
type: http
scheme: bearer
bearerFormat: JWT
ApiKey:
type: http
scheme: bearer
bearerFormat: Presscart API key (pc_…)