The ZIP file containing the application code (max size: 100 MB).
The amount of RAM to allocate for the application in MB.
Whether the application should automatically restart (
true
or false
). Requires plan support for auto-restart.The start command for the application.
The main file of the application.
The version of the application runtime (
recommended
or latest
).The name of the application.
A description of the application.
The ID of the organization to associate the application with, if applicable.
The subdomain for the application (e.g.,
myapp
). Requires plan support for web publishing.A JSON string containing an array of environment variables, each with
key
and value
properties (max 25 variables, key max length 100, value max length 1000).Response
Indicates whether the call was successful.
success
if successful, error
if not.The details of the created application.
Error Responses
Indicates whether the call was successful.
error
if not successful.The error code indicating the reason for failure. Possible values:
UNAUTHORIZED
: The user is not authenticated or lacks sufficient permissions.USER_NOT_FOUND
: The user’s plan could not be found.NO_FILE_UPLOADED
: No file was uploaded.FILE_TOO_LARGE
: The uploaded file exceeds the 100 MB limit.INVALID_VERSION
: The specified version is notrecommended
orlatest
.TOO_MANY_ENV_VARIABLES
: More than 25 environment variables were provided.ENV_VARIABLE_TOO_LONG
: An environment variable key or value exceeds length limits.INVALID_MEMORY
: The requested memory is invalid or exceeds plan limits.SUBDOMAIN_ALREADY_IN_USE
: The specified subdomain is already in use.INVALID_SUBDOMAIN_LENGTH
: The subdomain length is invalid (must be 5-63 characters).FORBIDDEN_SUBDOMAIN
: The specified subdomain is restricted.