---
title: "GET /apps/{appId}"
method: GET
path: "/apps/{appId}"
---

# GET /apps/{appId}

`GET /apps/{appId}`

Returns an existing Amplify app by appID.

## Path parameters

- `appId` string, required

## Response `200`

Success

- GetAppResult
  - `app` App, required — Represents the different branches of a repository for building, deploying, and hosting an Amplify app.
    - `appId` string, required — The unique ID of the Amplify app.
    - `appArn` string, required — The Amazon Resource Name (ARN) of the Amplify app.
    - `name` string, required — The name for the Amplify app.
    - `tags` object — The tag for the Amplify app.
    - `description` string, required — The description for the Amplify app.
    - `repository` string, required — The Git repository for the Amplify app.
    - `platform` 'WEB' | 'WEB_DYNAMIC' | 'WEB_COMPUTE', required — The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.
    - `createTime` string, date-time, required — Creates a date and time for the Amplify app.
    - `updateTime` string, date-time, required — Updates the date and time for the Amplify app.
    - `iamServiceRoleArn` string — The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
    - `environmentVariables` object, required — The environment variables for the Amplify app.
    - `defaultDomain` string, required — The default domain for the Amplify app.
    - `enableBranchAutoBuild` boolean, required — Enables the auto-building of branches for the Amplify app.
    - `enableBranchAutoDeletion` boolean — Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
    - `enableBasicAuth` boolean, required — Enables basic authorization for the Amplify app's branches.
    - `basicAuthCredentials` string, password — The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.
    - `customRules` CustomRule[] — Describes the custom redirect and rewrite rules for the Amplify app.
      - `source` string, required — The source pattern for a URL rewrite or redirect rule.
      - `target` string, required — The target pattern for a URL rewrite or redirect rule.
      - `status` string — <p> The status code for a URL rewrite or redirect rule. </p> <dl> <dt>200</dt> <dd> <p>Represents a 200 rewrite rule.</p> </dd> <dt>301</dt> <dd> <p>Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL. </p> </dd> <dt>302</dt> <dd> <p>Represents a 302 temporary redirect rule.</p> </dd> <dt>404</dt> <dd> <p>Represents a 404 redirect rule.</p> </dd> <dt>404-200</dt> <dd> <p>Represents a 404 rewrite rule.</p> </dd> </dl>
      - `condition` string — The condition for a URL rewrite or redirect rule, such as a country code.
    - `productionBranch` object — Describes the information about a production branch of the Amplify app.
      - `lastDeployTime` string, date-time — The last deploy time of the production branch.
      - `status` string — The status of the production branch.
      - `thumbnailUrl` string — The thumbnail URL for the production branch.
      - `branchName` string — The branch name for the production branch.
    - `buildSpec` string, password — Describes the content of the build specification (build spec) for the Amplify app.
    - `customHeaders` string — Describes the custom HTTP headers for the Amplify app.
    - `enableAutoBranchCreation` boolean — Enables automated branch creation for the Amplify app.
    - `autoBranchCreationPatterns` AutoBranchCreationPattern[] — Describes the automated branch creation glob patterns for the Amplify app.
    - `autoBranchCreationConfig` object — Describes the automated branch creation configuration for the Amplify app.
      - `stage` 'PRODUCTION' | 'BETA' | 'DEVELOPMENT' | 'EXPERIMENTAL' | 'PULL_REQUEST' — Describes the current stage for the autocreated branch.
      - `framework` string — The framework for the autocreated branch.
      - `enableAutoBuild` boolean — Enables auto building for the autocreated branch.
      - `environmentVariables` object — The environment variables for the autocreated branch.
      - `basicAuthCredentials` string, password — The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.
      - `enableBasicAuth` boolean — Enables basic authorization for the autocreated branch.
      - `enablePerformanceMode` boolean — <p>Enables performance mode for the branch.</p> <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
      - `buildSpec` string, password — The build specification (build spec) for the autocreated branch.
      - `enablePullRequestPreview` boolean — Enables pull request previews for the autocreated branch.
      - `pullRequestEnvironmentName` string — The Amplify environment name for the pull request.
    - `repositoryCloneMethod` 'SSH' | 'TOKEN' | 'SIGV4' — <note> <p>This is for internal use.</p> </note> <p>The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies <code>TOKEN</code> for a GitHub repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit repository, and <code>SSH</code> for GitLab and Bitbucket repositories.</p>

## Other responses

- `480` — BadRequestException
- `481` — NotFoundException
- `482` — UnauthorizedException
- `483` — InternalFailureException

---

[API](https://skmtc.net/aws/apis/amplify.md) · [All operations](https://skmtc.net/aws/apis/amplify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/amplify/revisions/573daadbd119/schema)
