Buffer object — an array of byte values — which you can decode on the client side using your preferred method. This is useful for inspecting configuration files, reading logs, or programmatically verifying file contents after an upload.
Endpoint
Authorization
Include your API key in the request header:Path Parameters
The unique identifier of your application. You can find this in the URL of your application’s dashboard.
Query Parameters
The file path relative to the root of your application. Example:
src/index.js or .env.Response
Indicates the outcome of the request. Returns
"success" when the operation completes without errors.An object representing the raw file content as a binary buffer.
Examples
Response Example
The
data array represents raw bytes. In Node.js, reconstruct the original content with Buffer.from(response.data).toString("utf8"). For binary files such as images, omit the encoding argument to get a Buffer you can write to disk directly.