Application - File Manager
Create Application File
Create files in your application.
POST
/
v2
/
apps
/
{app_id}
/
files
/
create
Header
Path
Body
curl --request POST \
--url https://api.squarecloud.app/v2/apps/{app_id}/files/create \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"path": "<string>",
"buffer": "<string>"
}'
{
"status": "success"
}
Authorization
string
requiredThe API key for your account. You can find this in your account settings.
app_id
string
requiredThe ID of the application. You can find this in the URL of your application’s dashboard.
path
string
requiredThe path where the file should be created. Example: /test.txt
buffer
string
requiredThe content of the file to be created.
Response
status
string
Indicates whether the call was successful. “success” if successful, “error” if not.
Was this page helpful?
curl --request POST \
--url https://api.squarecloud.app/v2/apps/{app_id}/files/create \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"path": "<string>",
"buffer": "<string>"
}'
{
"status": "success"
}