> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# 現在のデプロイメントの取得

> アプリケーションの現在のデプロイメント情報を取得します。

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  アカウントの API キーです。これは[アカウント設定](https://squarecloud.app/ja/account/security)で確認できます。
</ParamField>

### パラメータ

<ParamField path="app_id" type="string" placeholder="Application ID" required>
  アプリケーションの ID です。アプリケーションのダッシュボードの URL で確認できます。
</ParamField>

### レスポンス

<ResponseField name="status" type="string">
  呼び出しが成功したかどうかを示します。成功した場合は `success`、失敗した場合は `error` です。
</ResponseField>

<ResponseField name="response" type="object">
  レスポンスの内容です。

  <Expandable title="オブジェクトを切り替える">
    <ResponseField name="webhook" type="string">
      アプリケーションの webhook URL です。
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Webhook theme={null}
  {
      "status": "success",
      "response": {
          "webhook": "https://api.squarecloud.app/v2/git/webhook/69ce71f11974f2cc21d47cd0a8bcbafdaacbc3c9924b23ca40e0e2032705f6391eb89b40983338e0f2415e9331d602ccc"
      }
  }
  ```

  ```json Integration theme={null}
  {
      "status": "success",
      "response": {
          "app": {
              "id": "00000000",
              "name": "Your-GitHub/Repository",
              "branch": "main"
          }
      }
  }
  ```
</ResponseExample>
