1. Webhooks
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
      • Get File Info
      • Create Folder
      • Get Files by Folder
      • Get Folder URL
      • Update Folder Properties
      • Delete File
      • Upload from External Source
      • Generate Track Tags
      • File Upload
    • 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. Webhooks

file.renamed

Webhook
POST
file.renamed
Fired when a file is renamed. The data is the full file object after the rename — use data.name for the new name. (Old name is not preserved in the payload; if you need it, store the previous webhook delivery.)

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://your-api-server.com' \
--header 'Content-Type: application/json' \
--data '{
    "object": "event",
    "id": "c1d2e3f4-1234-11f1-aaaa-bbbbcccc0003",
    "type": "file.renamed",
    "data": {
        "object": "file",
        "id": 555111,
        "name": "mix_v2_final.wav",
        "is_folder": false,
        "parent_id": 555100,
        "size": 32457621,
        "url": "https://cdn.pibox.com/.../mix_v2_final.wav",
        "removal_protection": false,
        "task_load_protection": false
    }
}'
Response Response Example
{}
Modified at 2026-05-25 15:52:22
Previous
file.uploaded
Next
file.status_changed
Built with