1. Files
Pibox public API
0.6.2
  • 0.6.2
  • 0.6.3
  • v1
    • Teams
      • Get Teams
    • Groups
      • Get Groups
    • Projects
      • Create Project
      • Get Projects by Group
      • Get Non Group Projects
      • Get Chat History
      • Chat Message
    • Files
      • Create Folder
        POST
      • Get Files by Folder
        POST
      • Get Folder URL
        POST
      • Update Folder Properties
        POST
      • Delete File
        POST
      • Upload from External Source
        POST
      • Get File Info
        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

Create Folder

POST
https://api.pibox.com/v1/files/mkdir

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 'https://api.pibox.com/v1/files/mkdir' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Folder in API PROJ 2",
    "parent_id": 620908,
    "removal_protection":  true,   
    "task_load_protection": true
}'
Response Response Example
{
    "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
}
Modified at 2026-02-12 14:54:31
Previous
Chat Message
Next
Get Files by Folder
Built with