Pocketm8
  1. Files
Pocketm8
  • Auth
    • User
      • Sign In
      • Reset Password
      • Send SMS Code
      • Verify Code
      • Verify Token
      • Verify Challenge
  • Profile
    • Get Profile
      GET
    • Update Profile
      PATCH
    • Update Email
      PUT
    • Update Phone
      PUT
    • Resend Code
      POST
    • Update Avatar
      POST
    • Verify Code
      POST
  • Users
    • Get Users
      GET
  • Contacts
    • Get Contact
      GET
    • Get Contacts
      GET
  • Tasks
    • Create Task
      POST
    • Delete Task
      DELETE
    • Update Task
      PUT
    • Update Task Status
      POST
    • Get Task
      GET
    • Get Tasks
      GET
  • Relations
    • Task Edit
      GET
    • File Edit
      GET
  • Files
    • Get File
      GET
    • Get Files
      GET
    • Upload File
      POST
    • Delete File
      DELETE
    • Update File
      PATCH
  • Avatars
    • Upload Avatar file
  • Integrations
    • Matrix
      • Files
        • Link File
        • Unlink File
  1. Files

Get Files

Developing
GET
/files

Request

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://admin.letschat.ch/api/files?page=1&perPage=10&order&orderBy=&categoryId=5&userId=01JSGVYWQXV1A825GYTR9BAA2T'

Responses

🟢200Success
application/json
Body

Example
{
    "data": [
        {
            "id": "01JR9XHHEZ7KPP0XNFBN60PQMF",
            "name": "avatar",
            "mimeType": "image/jpeg",
            "path": "01JMT38K3BMVJV68D4J1AHKR6Y/86EaA2TKmzoyyQEG73jat8.jpg",
            "ownerId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "createdAt": "2025-04-08T05:21:35.706Z",
            "updatedAt": "2025-04-08T05:21:35.706Z",
            "createdById": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "updatedById": null
        },
        {
            "id": "01JR34NH732690MNRZ4T7EMKVC",
            "name": "avatar",
            "mimeType": "image/jpeg",
            "path": "01JMT38K3BMVJV68D4J1AHKR6Y/sHHdNRcUkvV9Lt6WRqbAAy.jpg",
            "ownerId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "createdAt": "2025-04-05T14:11:25.539Z",
            "updatedAt": "2025-04-05T14:11:25.539Z",
            "createdById": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "updatedById": null
        }
    ],
    "meta": {
        "total": 53,
        "lastPageNumber": 27,
        "currentPageNumber": 1,
        "isNextPage": true,
        "isPreviousPage": false
    }
}
Modified at 2025-05-05 09:32:58
Previous
Get File
Next
Upload File
Built with