Skip to content

Server API

Giuliano Bellini edited this page Aug 21, 2025 · 2 revisions

AppGuard Server API

Endpoints

1. Authorize Device

POST to /appguard/api/v1/authorize_device

Authorizes a pending device.

{
    "device_id": "<string>"
}

Responds with 200 OK if the request has been processed successfully.

2. Update Server Configurations

POST to /appguard/api/v1/update_config

Updates AppGuard configurations.

{
    "log_request": "<boolean>",
    "log_response": "<boolean>",
    "retention_sec": "<integer>",
    "ip_info_cache_size": "<integer>",
}

Responds with 200 OK if the request has been processed successfully.

3. Update Application Firewall for a Device

POST to /appguard/api/v1/update_client_firewall

Updates the application firewall for an AppGuard client.

{
    "device_id": "<string>"
    "firewall": "<string>"
}

Where firewall is a JSON-formatted string of the application firewall, as described here.

Responds with 200 OK if the request has been processed successfully.

Clone this wiki locally