Skip to main content
GET
Get Application File Content
string
required
The ID of the application to retrieve the file content from. If the application belongs to a workspace, pass its ID in the workspace_id query parameter.
string
If the application belongs to a workspace, the workspace’s ID. Members with an Owner, Admin or Developer role can use the file manager on a workspace app they don’t own; without this, only the app’s own owner can.
string
required
The path to the file whose content is to be retrieved.

Response

object
The content of the requested file.

Error Responses

string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.
  • FORBIDDEN / ACCESS_DENIED: The user does not have permission to access the application.
  • APP_NOT_FOUND: The specified application does not exist.
  • PLAN_RESTRICTED_FEATURE: The user’s plan does not support file manager access.
  • MISSING_PATH: The path query parameter was not provided.
  • FILE_NOT_FOUND: The requested file does not exist.
  • FILE_TOO_LARGE: The file exceeds the 10 MB limit for content retrieval.
  • FILE_CONTENT_ERROR: Failed to retrieve the file content.
string
A descriptive message providing additional details about the error.