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

# Consultar URL de aviso

> GET de tu URL de aviso. Indica si está activa y no devuelve el secreto.

Muestra si ya registraste una URL y si el aviso está activo. No devuelve el secreto.

Usa tu API Key.

<ResponseField name="Data.Url" type="string">
  URL guardada, o `null` si no hay.
</ResponseField>

<ResponseField name="Data.Activa" type="boolean">
  `true` si ECORPA envía el aviso a esa URL.
</ResponseField>

<RequestExample>
  ```bash Request theme={"system"}
  curl -sS -X GET "https://apis.ecorpa.com/v2/notificaciones" \
    -H "Authorization: Bearer ecorpa_key_xxxxxxxx"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"system"}
  {
    "Success": true,
    "Message": "Configuración de notificación.",
    "Data": {
      "Url": "https://integrador.example/ecorpa",
      "Activa": true
    }
  }
  ```

  ```json 401 theme={"system"}
  {
    "Success": false,
    "Message": "No se pudo autenticar la solicitud."
  }
  ```

  ```json 403 theme={"system"}
  {
    "Success": false,
    "Message": "Este recurso solo está disponible mediante API key."
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.