API Reference

Complete API reference documentation for AdGuard DNS integration.

  • /api/AccessTokenErrorResponse/

    AdGuard.ApiClient.Model.AccessTokenErrorResponse Properties Name Type Description Notes Error string [optional] ErrorCode string [optional] ErrorDescription string [optional] [Back to Model list…

  • /api/AccessTokenResponse/

    AdGuard.ApiClient.Model.AccessTokenResponse Properties Name Type Description Notes AccessToken string [optional] ExpiresIn int RefreshToken string [optional] TokenType string [optional] [Back to…

  • /api/AccountApi/

    AdGuard.ApiClient.Api.AccountApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description GetAccountLimits GET /oapi/v1/account/limits Gets account limits GetAccountLimits…

  • /api/AccountLimits/

    AdGuard.ApiClient.Model.AccountLimits Account limits Properties Name Type Description Notes AccessRules Limit DedicatedIpv4 Limit Devices Limit DnsServers Limit Requests Limit UserRules Limit…

  • /api/AuthenticationApi/

    AdGuard.ApiClient.Api.AuthenticationApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description AccessToken POST /oapi/v1/oauth_token Generates Access and Refresh token…

  • /api/DNSServer/

    AdGuard.ApiClient.Model.DNSServer Properties Name Type Description Notes Default bool DeviceIds List<string> Id string Name string Settings Object [Back to Model list] [Back to API list] [Back to…

  • /api/DNSServerCreate/

    AdGuard.ApiClient.Model.DNSServerCreate Properties Name Type Description Notes Name string Settings Object [optional] [Back to Model list] [Back to API list] [Back to README]

  • /api/DNSServersApi/

    AdGuard.ApiClient.Api.DNSServersApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description CreateDNSServer POST /oapi/v1/dns_servers Creates a new DNS server…

  • /api/DedicatedIPAddressesApi/

    AdGuard.ApiClient.Api.DedicatedIPAddressesApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description AllocateDedicatedIPv4Address POST /oapi/v1/dedicated_addresses/ipv…

  • /api/DedicatedIPv4Address/

    AdGuard.ApiClient.Model.DedicatedIPv4Address Properties Name Type Description Notes DeviceId string [optional] Ip string [Back to Model list] [Back to API list] [Back to README]

  • /api/Device/

    AdGuard.ApiClient.Model.Device Properties Name Type Description Notes DeviceType string DnsAddresses Object DnsServerId string Id string Name string Settings Object [Back to Model list] [Back to…

  • /api/DeviceCreate/

    AdGuard.ApiClient.Model.DeviceCreate Properties Name Type Description Notes DeviceType string DnsServerId string Name string [Back to Model list] [Back to API list] [Back to README]

  • /api/DeviceUpdate/

    AdGuard.ApiClient.Model.DeviceUpdate Properties Name Type Description Notes DeviceType string [optional] DnsServerId string [optional] Name string [optional] [Back to Model list] [Back to API list…

  • /api/DevicesApi/

    AdGuard.ApiClient.Api.DevicesApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description CreateDevice POST /oapi/v1/devices Creates a new device GetDevice GET /oapi/v…

  • /api/ErrorResponse/

    AdGuard.ApiClient.Model.ErrorResponse Properties Name Type Description Notes ErrorCode string Fields List<Object> Message string [optional] [Back to Model list] [Back to API list] [Back to README]

  • /api/FilterList/

    AdGuard.ApiClient.Model.FilterList Properties Name Type Description Notes FilterId string [optional] Name string [optional] Description string [optional] [Back to Model list] [Back to API list…

  • /api/FilterListsApi/

    AdGuard.ApiClient.Api.FilterListsApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description ListFilterLists GET /oapi/v1/filter_lists Gets filter lists ListFilterLists…

  • /api/Limit/

    AdGuard.ApiClient.Model.Limit Entity of the limit Properties Name Type Description Notes VarLimit int Max count Used long Used count [Back to Model list] [Back to API list] [Back to README]

  • /api/QueryLogApi/

    AdGuard.ApiClient.Api.QueryLogApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description ClearQueryLog DELETE /oapi/v1/query_log Clears query log GetQueryLog GET /oapi/v…

  • /api/QueryLogResponse/

    AdGuard.ApiClient.Model.QueryLogResponse Properties Name Type Description Notes Items List<Object> [optional] Pages List<Object> [optional] [Back to Model list] [Back to API list] [Back to README]

  • /api/StatisticsApi/

    AdGuard.ApiClient.Api.StatisticsApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description GetTimeQueriesStats GET /oapi/v1/stats/time Gets time statistics…

  • /api/TimeQueriesStatsList/

    AdGuard.ApiClient.Model.TimeQueriesStatsList Properties Name Type Description Notes Stats List<Object> [optional] [Back to Model list] [Back to API list] [Back to README]

  • /api/WebService/

    AdGuard.ApiClient.Model.WebService Properties Name Type Description Notes Id string [optional] Name string [optional] IconSvg string [optional] [Back to Model list] [Back to API list] [Back to…

  • /api/WebServicesApi/

    AdGuard.ApiClient.Api.WebServicesApi All URIs are relative to https://api.adguard-dns.io Method HTTP request Description ListWebServices GET /oapi/v1/web_services Lists web services ListWebServices…