Proxy SettingsClient - Settings

Get Proxy Config

Get the current proxy configuration for the authenticated user.

GET /api/v1/settings/proxy
import requests
 
headers = {
    "X-API-Token": "sk_live_replace_with_your_token",
}
 
response = requests.get(
    "https://api.fiscalbridge.cl/api/v1/settings/proxy",
    headers=headers,
)
response.raise_for_status()
print(response.json())

Get the current proxy configuration for the authenticated user.

Returns the user's SII proxy settings including:

  • Connection mode (centralized, individual)
  • Proxy URL (with credentials masked for security)
  • Health status and last check timestamp

Authentication: Required (any authenticated user)

Rate Limiting: Not rate-limited

Response Fields:

  • mode: Connection mode (centralized/individual)
  • proxy_url: Proxy URL with masked credentials (:@)
  • is_healthy: Whether the proxy is currently accessible
  • last_check: Timestamp of last health check (UTC)

Example Response:

{
    "success": true,
    "data": {
        "mode": "individual",
        "proxy_url": "http://***:***@proxy.example.com:8080",
        "is_healthy": true,
        "last_check": "2025-12-02T10:30:00Z"
    }
}

Respuestas

200Successful Response

Forma de la respuesta

Código 200. Estructura del JSON devuelto.

{
  "data": {
    "is_healthy": true,
    "last_check": "2025-12-01T10:30:00Z",
    "mode": "centralized"
  },
  "message": "string",
  "success": true
}

On this page