Skip to main content
GET
/
applications
/
{application}
Get application
curl --request GET \
  --url https://app.laravel.cloud/api/applications/{application} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "applications",
    "attributes": {
      "name": "<string>",
      "slug": "<string>",
      "region": "us-east-2",
      "slack_channel": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "repository": {
        "full_name": "<string>",
        "default_branch": "<string>"
      }
    },
    "relationships": {
      "repository": {
        "data": {
          "type": "repositories",
          "id": "<string>"
        }
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "<string>"
        }
      },
      "environments": {
        "data": [
          {
            "type": "environments",
            "id": "<string>"
          }
        ]
      },
      "deployments": {
        "data": [
          {
            "type": "deployments",
            "id": "<string>"
          }
        ]
      },
      "defaultEnvironment": {
        "data": {
          "type": "environments",
          "id": "<string>"
        }
      }
    }
  },
  "included": [
    {
      "id": "<string>",
      "type": "repositories",
      "attributes": {
        "name": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

The Bearer Token generated on the Cloud UI.

Path Parameters

application
string
required

The application identifier

Query Parameters

include
string

Available includes are organization, environments, defaultEnvironment. You can include multiple options by separating them with a comma.

Response

ApplicationResource

data
ApplicationResource · object
required
included
(RepositoryResource · object | OrganizationResource · object | EnvironmentResource · object | DeploymentResource · object)[]