1. Files
Pibox public API
  • v1
    • Teams
      • Invite Member
      • Get File Statuses
      • Get Teams
    • Groups
      • Get Groups
      • Get Group Info
      • Create Group
    • 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
      • Create Tasks
    • Webhooks
      • Create Webhook Endpoint
      • Get Webhook Endpoints
      • Delete Webhook Endpoint
  • Webhooks
    • file.uploaded
    • file.renamed
    • file.status_changed
    • task.closed
    • List webhook endpoints
      GET
    • Create a webhook endpoint
      POST
    • Delete a webhook endpoint
      DELETE
  • Schemas
    • v1
      • Team
      • Track Info
      • Video Info
      • Image Info
      • AI Tags
      • Empty Schema
    • FileStatus
    • Error
    • ListEnvelope
    • ObjectEnvelope
    • TokenResponse
    • ClientRegistration
    • AuthServerMetadata
  1. Files

Get Files by Folder

POST
https://api.pibox.com/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
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.pibox.com/v1/files/ls' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "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