Beecargo

Get set up

  • ○Sign in
  • ○Connect your agent
  • ○Share a file

API

OverviewUpload a fileRemote uploadShare settingsClaim a fileAgent APIWebhooksRetrieve a fileGet file infoList files & foldersDelete a file

MCP

OverviewRegister an agentUpload a fileUpload statusRemote uploadLarge uploads & jobsFoldersShare settingsSeller payoutsBuy a priced shareClaim fileSearch toolsCreate checkoutRetrieve a fileGet file infoList filesDelete a fileFiles from a runUpload delegation

PreviousRetrieve a fileNextList files & folders
BlogPricingDashboardPrivacyTerms

Get file info

Look up file details by short codes.


Same flow in MCP: beecargo_file_info

Endpoint

GEThttps://api.beecargo.net/files/info?file_code=shortCode1,shortCode2

Authentication

Optional. You can send an API key in the Authorization header.

Authorization: Bearer YOUR_API_KEY

Request examples

Pass one or more short codes, separated by commas.

# Get info for a single file

curl "https://api.beecargo.net/files/info?file_code=abc123"

# Get info for multiple files (comma-separated)

curl "https://api.beecargo.net/files/info?file_code=abc123,xyz789,def456"

# With API key authentication

curl "https://api.beecargo.net/files/info?file_code=abc123&key=YOUR_API_KEY"

# Or with Authorization header

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.beecargo.net/files/info?file_code=abc123,xyz789"

Parameters

ParameterTypeRequiredDescription
file_codeStringYesComma-separated short codes (e.g. "abc123,xyz789")

Response

Returns an array of file objects. Each has a status of 200 (found) or 404 (not found).

{
  "msg": "OK",
  "server_time": "2024-01-01 12:00:00",
  "status": 200,
  "result": [
    {
      "status": 200,
      "filecode": "abc123",
      "name": "document.pdf",
      "size": "1048576",
      "uploaded": "2024-01-01 10:00:00",
      "download": "42",
      "status_field": "active"
    },
    {
      "status": 404,
      "filecode": "xyz789"
    },
    {
      "status": 200,
      "filecode": "def456",
      "name": "image.jpg",
      "size": "524288",
      "uploaded": "2024-01-01 11:00:00",
      "download": "15",
      "status_field": "active"
    }
  ]
}

Response fields

FieldTypeDescription
msgStringResponse message ("OK" on success)
server_timeStringServer time as "YYYY-MM-DD HH:MM:SS"
statusNumberHTTP status (200 on success)
resultArrayList of file info objects
result[].statusNumber200 if found, 404 if not
result[].filecodeStringShort code (short_id) of the file
result[].nameStringFile name (when status is 200)
result[].sizeStringSize in bytes as a string (when status is 200)
result[].uploadedStringUpload time as "YYYY-MM-DD HH:MM:SS" (when status is 200)
result[].downloadStringDownload count as a string (when status is 200)
result[].status_fieldStringFile state: "active", "deleted", "dmca_removed", or "expired" (when status is 200)
result[].unlockRequiredBooleanTrue when download needs an unlock code or delivery link first (when status is 200)

Error response

{
  "msg": "Bad Request",
  "status": 400,
  "error": "file_code parameter is required (comma-separated shortCodes)"
}

Usage notes

  • You can look up several files at once with comma-separated short codes
  • Each item in result has its own status (200 or 404)
  • Only files with status "active" can be downloaded
  • This response does not include scanStatus. Poll GET /files/share/{shortId} before machine download.
  • When unlockRequired is true, GET /files/download/{fileId} needs unlockCode or unlockToken (or call POST /downloads/unlock with handoffToken from /h/{token})
  • Auth is optional; a key can help with rate limits

Try it

Sign in to try this against your account.

Sign in