> ## 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.

# Ottieni Deployment Corrente

> Ottieni le informazioni sul deployment corrente di un'applicazione.

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  La chiave API del tuo account. Puoi trovarla nelle [impostazioni del tuo account](https://squarecloud.app/it/account/security).
</ParamField>

### Parametri

<ParamField path="app_id" type="string" placeholder="Application ID" required>
  L'ID dell'applicazione. Puoi trovarlo nell'URL della dashboard della tua applicazione.
</ParamField>

### Risposta

<ResponseField name="status" type="string">
  Indica se la chiamata è andata a buon fine. `success` in caso di successo, `error` in caso contrario.
</ResponseField>

<ResponseField name="response" type="object">
  Il contenuto della risposta.

  <Expandable title="Mostra oggetto">
    <ResponseField name="webhook" type="string">
      L'URL del webhook per l'applicazione.
    </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>
