List Files of a context

GET/api/files

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
context String Mandatory context. One of: project, client, global, user. RISE has no task file table, so tasks cannot be listed.
context_id Number optional Mandatory for project (project ID), client (client ID) and user (RISE user ID). Ignored for global.
folder_id Number optional Optional folder filter. Send 0 for the root of the context.
category_id Number optional Optional file category filter. Project context only.
limit Number optional Optional page size, 1 to 200.

default: 50

offset Number optional Optional number of rows to skip.

default: 0

curl -X GET "https://yoursite.com/api/files" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
[
  {
    "id": "12",
    "file_name": "file64b1c2-quote.pdf",
    "file_id": null,
    "service_type": null,
    "description": "Signed quote",
    "file_size": "20480",
    "created_at": "2026-07-23 09:15:00",
    "project_id": "4",
    "uploaded_by": "1",
    "category_id": "0",
    "folder_id": "0",
    "uploaded_by_user_name": "Jane Doe",
    "category_name": null,
    "source": "project"
  }
]

Error-Response:

HTTP/1.1 400 Bad Request
{ "status": false, "messages": { "error": "Unknown context. Use one of: project, client, global, user." } }
MethodGET
Path/api/files
GroupFiles
Sincev1.0.0
Defined inRestApi/Controllers/FilesController.php