Get Protection Settings API
GET /protection
Returns the current public DNS protection settings for a current user.
Query Parameters
Name | Type | Description |
---|---|---|
apikey |
string | Your API key |
Authentication
This endpoint requires authentication via Bearer token or API key in query string.
Example Request
curl -X GET "https://dnsprivacy.org.uk/protection" \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your-access-token>'
Example Response
{
"protection_level": "low",
"force_safe_search": false,
"force_tif": true
}
Response Schema
Field | Type | Description |
---|---|---|
protection_level |
string | Current protection level (none, low, medium, high, extreme) |
force_safe_search |
boolean | Whether safe search is enforced |
force_tif |
boolean | Whether Threat Intelligence Feed blocking is enabled |