POST
/
v2
/
apps
curl --request POST \
  --url https://api.squarecloud.app/v2/apps \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "status": "success",
    "code": "SUCCESS",
    "response": {
        "id": "945f574e6cc14ea6818f91d7d56de101",
        "name": "Estrelinha Legal",
        "description": "Nossa, fui enviada na velocidade da luz! ✨",
        "domain": null,
        "ram": 1024,
        "cpu": 6,
        "language": {
            "name": "JavaScript",
            "version": "recommended"
        }
    }
}
Authorization
string
required

The API key for your account. You can find this in your account settings.

file
file
required

The application to upload. Must be a ZIP file.

Response

status
string

Indicates whether the call was successful. success if successful, error if not.

code
string

The status code of the response.

response
object

The contents of the response.

{
    "status": "success",
    "code": "SUCCESS",
    "response": {
        "id": "945f574e6cc14ea6818f91d7d56de101",
        "name": "Estrelinha Legal",
        "description": "Nossa, fui enviada na velocidade da luz! ✨",
        "domain": null,
        "ram": 1024,
        "cpu": 6,
        "language": {
            "name": "JavaScript",
            "version": "recommended"
        }
    }
}