Beecargo

INTRODUCTION

WelcomeSecurity

SERVICES

Overview
Upload & import
Own & organize
Share & protect
Download & unlock
Agents

SUPPORT

Contact

LEGAL

PrivacyTermsAcceptable useCookiesRefundsDMCA
Loading…
PreviousUpload & importNextShare & protect
PricingDashboard

Own and organize files

Claim anonymous uploads, list files, organize folders, and delete files safely.


Anonymous uploads work without an account but return one-time ownership credentials. Save them if the file may need to be claimed or deleted later.

Claim an anonymous upload

Save fileId and claimToken from the upload response. After registering or supplying an API key, claim the file to attach it to that identity.

APIClaim a fileMove an anonymous upload into your account with `fileId` and `claimToken` from the upload response.+

Endpoint

POSThttps://api.beecargo.net/files/claim

Authentication

Required. Use Bearer bc_* from POST /agent/register, or a dashboard API key with write access.

Request examples

curl -X POST https://api.beecargo.net/files/claim \
  -H "Authorization: Bearer YOUR_BC_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fileId":"abc12xyz","claimToken":"YOUR_CLAIM_TOKEN"}'

Parameters

ParameterTypeRequiredDescription
fileIdStringYesShort file id from upload (data.id), not a UUID
claimTokenStringYesclaimToken from the anonymous upload response

Usage notes

  • Moves an anonymous file into your account so it shows in GET /files/list and uses signed-in retention limits.
  • MCP: call beecargo_claim_file after beecargo_register_agent
  • Claim only works for anonymous uploads that returned a claimToken
Open: Claim a file
MCPClaim fileMove an anonymous upload into your agent account using `claimToken` from the upload response.+

Tool

Authentication

Needs a bc_* API key (from beecargo_register_agent or x-beecargo-api-key).

Parameters

ParameterTypeRequiredDescription
fileIdStringYesShort file id from upload (data.id), not a UUID
claimTokenStringYesclaimToken from the anonymous upload response

Usage notes

  • Anonymous uploads return claimToken with fileId. Claim attaches the file to your key so it shows in beecargo_list_files and uses signed-in retention limits.

Files and folders

Authenticated identities can list files, include sibling folders, create folders, and filter a library by folder.

APIList files and foldersList your files. When you list a folder, you can also get its subfolders.+

Endpoint

Authentication

Required. Send Authorization: Bearer YOUR_API_KEY.

Request examples

# List all files (first page, 50 per page)

curl https://api.beecargo.net/files/list \
  -H "Authorization: Bearer YOUR_API_KEY"

# With pagination

curl "https://api.beecargo.net/files/list?page=2&limit=25" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Filter by folder

curl "https://api.beecargo.net/files/list?folderId=550e8400-e29b-41d4-a716-446655440000" \
  -H "Authorization: Bearer YOUR_API_KEY"

# List files in root folder only (no folder)

curl "https://api.beecargo.net/files/list?folderId=null" \
  -H "Authorization: Bearer YOUR_API_KEY"

# List folder contents (files + subfolders)

curl "https://api.beecargo.net/files/list?folderId=550e8400-e29b-41d4-a716-446655440000" \
  -H "Authorization: Bearer YOUR_API_KEY"

Delete

Owned files use an API key. Anonymous files use the deletionToken returned once by upload. Do not confuse it with the claimToken.

APIDelete a filePermanently delete a file from your account.+

Endpoint

Authentication

Required. Send Authorization: Bearer YOUR_API_KEY. You can only delete files you own.

Anonymous files: delete with the token from upload: ?fileId=FILE_ID&token=DELETION_TOKEN

Request examples

# Delete a file with API key

curl -X DELETE "https://api.beecargo.net/files/delete?fileId=550e8400-e29b-41d4-a716-446655440000" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Delete an anonymous file with deletion token (no API key needed)

curl -X DELETE "https://api.beecargo.net/files/delete?fileId=550e8400-e29b-41d4-a716-446655440000&token=YOUR_DELETION_TOKEN"
  • API equivalent: POST https://api.beecargo.net/files/claim with Bearer bc_*
  • If you registered in this session, you do not need to paste the key again for MCP.
  • Open: Claim file

    Parameters

    ParameterTypeRequiredDescription
    pageInteger1Page number
    limitInteger50Files per page (max 200)
    folderIdString-Filter by folder. Use "null" for root only.
    includeFoldersBooleantrueWhen true, the response includes a folders array for that folder (or root). Set to "false" for files only.

    Usage notes

    • List your uploaded files with pagination.
    • data holds files. folders is included when you list a folder and includeFolders is true.
    • To list folders only (all folders or children of a parent), use the folders endpoint. Same API key as above.
    • Query params: parentId (folder UUID or "null" for root), page, limit, search. Response: { success, data: [ folders ], pagination }. Each folder includes id, name, parent_id, file_count, and total_size when not searching.
    Open: List files and folders
    MCPList filesList files owned by the API key attached to the MCP session.+

    Tool

    Authentication

    API key required (BEECARGO_API_KEY, x-beecargo-api-key, or self-register first).

    Parameters

    ParameterTypeRequiredDescription
    pageNumberNoPage number (default 1)
    limitNumberNoPage size, 1–200 (default 50)
    folderIdStringNoOptional folder UUID filter
    includeFoldersBooleanNoInclude sibling folders in the response (default true)

    Usage notes

    • Lists files for the merchant or agent key on this MCP session.
    • Anonymous sessions cannot list. Register an agent or set a key first.
    Open: List files
    MCPbeecargo_create_folderCreate a root folder or a child of another folder.+

    Tool

    Parameters

    ParameterTypeRequiredDescription
    nameStringYesFolder name, maximum 200 characters
    parentIdUUID | nullNoParent folder; omit or use null for root

    Usage notes

    • Use the returned folder id as folderId or parentId.
    Open: beecargo_create_folder
    MCPbeecargo_list_foldersList root folders, children, or folders matching a search.+

    Tool

    Parameters

    ParameterTypeRequiredDescription
    parentIdUUIDNoOnly children of this folder
    pageIntegerNoPage number, default 1
    limitIntegerNoPage size, maximum 200
    searchStringNoFolder name search

    Usage notes

    • Use beecargo_list_files with includeFolders: true for a combined view.
    Open: beecargo_list_folders

    Parameters

    ParameterTypeRequiredDescription
    fileIdStringYesFile id from upload (data.id), not a UUID
    tokenStringNo*Deletion token for anonymous files (instead of an API key)

    Usage notes

    • Delete a file by id. This cannot be undone.
    • * The token param is only needed when deleting anonymous files without an API key.
    • Deletion is permanent
    • You can only delete files you own
    • The file is removed from storage and the database
    • Download stats for that file are removed too
    Open: Delete a file
    MCPDelete a fileDelete a file by `fileId` via MCP.+

    Tool

    Authentication

    API key for owned files, or deletionToken for anonymous uploads.

    Parameters

    ParameterTypeRequiredDescription
    fileIdStringYesFile id from the upload response
    deletionTokenStringNoRequired for anonymous deletes when no API key owns the file

    Usage notes

    • Deletes the file from storage. Anonymous uploads must pass the deletionToken returned at upload time.
    • This cannot be undone.
    Open: Delete a file
    GEThttps://api.beecargo.net/files/list
    DELETEhttps://api.beecargo.net/files/delete?fileId=FILE_ID
    beecargo_claim_file
    beecargo_list_files
    beecargo_create_folder
    beecargo_list_folders
    beecargo_delete_file