> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GoFile

> GoFile is a file storage and sharing service for uploading, organizing, and distributing files.

![GoFile logo](https://mintcdn.com/composio-preview/GL28i3tBlbEbBd-f/images/toolkits/gofile.svg?fit=max\&auto=format\&n=GL28i3tBlbEbBd-f\&q=85\&s=cbbd40f64d34a5435a8ccecbc910fa76)

* **Category:** file management & storage
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 5
* **Triggers:** 0
* **Slug:** `GOFILE`
* **Version:** 00000000\_00

## Tools

> [accordion] Create Folder
>
> **Slug:** `GOFILE_CREATE_FOLDER`
>
> Create a private folder inside an existing GoFile folder.
>
> #### Input Parameters
>
> **folder\_name** `string` *required*
>
> Name for the new folder.
>
> **parent\_folder\_id** `string` *required*
>
> Parent folder ID. Use root\_folder from GOFILE\_GET\_CURRENT\_ACCOUNT to create the folder at the account root.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Contents
>
> **Slug:** `GOFILE_DELETE_CONTENTS`
>
> Permanently and irreversibly delete one or more explicitly selected owned GoFile files or folders.
>
> #### Input Parameters
>
> **content\_ids** `array` *required*
>
> Non-empty explicit list of exact owned file or folder IDs to permanently delete. Deletion is irreversible; only include caller-selected IDs.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Current Account
>
> **Slug:** `GOFILE_GET_CURRENT_ACCOUNT`
>
> Return the connected GoFile account's identity, tier, root folder, usage, and content counts without exposing account credentials or network metadata.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Rename Content
>
> **Slug:** `GOFILE_RENAME_CONTENT`
>
> Rename one owned GoFile file or folder.
>
> #### Input Parameters
>
> **new\_name** `string` *required*
>
> New file or folder name.
>
> **content\_id** `string` *required*
>
> ID of the owned file or folder to rename.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Upload File
>
> **Slug:** `GOFILE_UPLOAD_FILE`
>
> Upload one file into an existing folder owned by the connected GoFile account.
>
> #### Input Parameters
>
> **file** `object` *required*
>
> File to upload.
>
> **folder\_id** `string` *required*
>
> Existing destination folder ID, such as the root folder returned by Get Current Account.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
