1. Files
Pibox public API
0.6.3
  • 0.6.2
  • 0.6.3
  • v1
    • Teams
      • Get Teams
    • Groups
      • Get Groups
      • Get Group Info
    • Projects
      • Get Project Info
      • Create Project
      • Get Projects by Group
      • Get Non Group Projects
      • Get Chat History
      • Chat Message
    • Account
      • Get Account Info
    • Files
      • Find Files
        POST
      • Get File Info
        POST
      • Create Folder
        POST
      • Get Files by Folder
        POST
      • Get Folder URL
        POST
      • Update Folder Properties
        POST
      • Delete File
        POST
      • Upload from External Source
        POST
      • Generate Track Tags
        POST
      • File Upload
        PUT
    • Tasks
      • Get Task Template
      • Load Tasks from Template
      • Get Tasks by Folder
    • Webhooks
      • Create Webhook Endpoint
      • Get Webhook Endpoints
      • Delete Webhook Endpoint
  • Schemas
    • v1
      • Team
      • Track Info
      • Video Info
      • Image Info
      • AI Tags
      • Empty Schema
  1. Files

Get Files by Folder

POST
/v1/files/ls

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/files/ls' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "file_id": 620908,
    "start_date": "2020-02-05",
    "end_date": "2026-02-05T13:00:54Z"
}'
Response Response Example
{
    "data": [
        {
            "id": 626978,
            "is_folder": true,
            "name": "Folder in API PROJ 2",
            "object": "file",
            "parent_id": 620908,
            "removal_protection": true,
            "size": null,
            "task_load_protection": true,
            "url": null,
            "upload_date": "2021-02-05T13:00:54Z"
        },
        {
            "id": 655608,
            "is_folder": true,
            "name": "Folder in API PROJ 2",
            "object": "file",
            "parent_id": 620908,
            "removal_protection": true,
            "size": null,
            "task_load_protection": true,
            "url": null,
            "upload_date": "2021-02-05T13:00:54Z"
        },
        {
            "id": 655536,
            "is_folder": false,
            "name": "Snapshot_2025-10-08_15-22-58.png",
            "object": "file",
            "parent_id": 620908,
            "removal_protection": false,
            "size": 46756,
            "task_load_protection": false,
            "url": "https://stage-pibox-avatar.s3.eu-west-1.amazonaws.com/...",
            "upload_date": "2021-02-05T13:00:54Z"
        }
    ],
    "object": "list"
}
Modified at 2026-03-17 15:11:39
Previous
Create Folder
Next
Get Folder URL
Built with