GET
/
v2
/
apps
/
{appId}
/
envs
Get The Environment Variables
curl --request GET \
  --url https://api.squarecloud.app/v2/apps/{appId}/envs \
  --header 'Authorization: <authorization>'
{
  "status": "success",
  "response": {
    "TEST": "myTest"
  }
}
Authorization
string
required

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

appId
string
required

The application ID.

Response

status
string

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

response
object

The key and value of all environment variables you defined.

{
  "status": "success",
  "response": {
    "TEST": "myTest"
  }
}