App

Creates a App resource.

Creates a App resource.

post/v1/apps

Request

  • Base URL: https://api.fortrabbit.com
  • URL: https://api.fortrabbit.com/v1/apps
  • Auth: HTTP bearer

Request body

teamIdstring nullable
namestring required
regionstring required

Region identifier, e.g. "eu-w1a" or "us-e1a".

softwarePresetNamestring nullable

Software preset slug; defaults to "general-php".

paymentMethodIdstring nullable

Example request

{
  "name": "acme-shop",
  "region": "eu-w1a",
  "softwarePresetName": "laravel",
  "initialEnvironment": {
    "softwareVersion": "11",
    "phpVersion": "8.4",
    "components": {
      "php": "sm",
      "storage": "xs",
      "traffic": "xs",
      "backups": "xs"
    },
    "autoscaling": true,
    "deployment": {
      "git": {
        "repository": "acme/shop",
        "branch": "main",
        "directory": "/"
      },
      "buildCommands": [
        "composer install --no-dev"
      ],
      "postDeployCommands": [
        "php artisan migrate --force"
      ],
      "startFirstDeployment": true
    }
  }
}

Response

App resource created

publicIdstring
namestring
descriptionstring nullable
createdAtstring date-time
updatedAtstring date-time
paymentMethodstring nullable
environmentsstring[]
peoplestring[]
teamsstring[]
regionstring nullable
softwarestring nullable
trialboolean

Changes

No recorded changes to this operation across all 1 revision of this API.