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

# Get Webhook status

> Gets the status of communication with your app's webhook.

## Response

Might return an empty body if there's no settings yet stored for your account.

<ResponseField name="webhookEnabled" type="string" required>
  Indicates whether the webhook is currently enabled, and working properly.
</ResponseField>

<ResponseField name="webhookStatusDetail" type="string">
  The message indicating the reason for the webhook being disabled, or 'OK' if the webhook is
  enabled. This gets updated with the message of the last failed request to the webhook.
</ResponseField>

<ResponseField name="webhookRequestsProcessing" type="number" required>
  The number of webhook requests currently being processed. It gets updated as the requests are
  processed.
</ResponseField>

<ResponseField name="webhookRequestsFailed" type="number" required>
  The number of failed webhook requests for your acccount. It gets updated as the retries are
  attempted.
</ResponseField>

<ResponseExample>
  ```javascript Metriport SDK theme={null}
  import { MetriportMedicalApi } from "@metriport/api-sdk";

  const metriportClient = new MetriportMedicalApi("YOUR_API_KEY");

  const response = await metriportClient.getWebhookStatus();
  ```
</ResponseExample>

Example response:

```json theme={null}
{
  "webhookEnabled": false,
  "webhookStatusDetail": "Request failed with status code 404",
  "webhookRequestsProcessing": 0,
  "webhookRequestsFailed": 3
}
```
