/v1/proxy-presets
Requires Auth
List Presets
List Presets
Retrieve all proxy configuration presets associated with the authenticated account. Returns an array of preset objects including their name, saved configuration, and creation timestamp.
curl https://api.proxyhat.com/v1/proxy-presets \
-H "Authorization: Bearer __API_KEY__" \
-H "Accept: application/json"
import requests
response = requests.get(
"https://api.proxyhat.com/v1/proxy-presets",
headers={
"Authorization": "Bearer __API_KEY__",
"Accept": "application/json",
},
)
presets = response.json()["payload"]
for preset in presets:
print(f"{preset[\"name\"]} — {preset[\"config\"]}")
const response = await fetch("https://api.proxyhat.com/v1/proxy-presets", {
headers: {
"Authorization": "Bearer __API_KEY__",
"Accept": "application/json",
},
});
const { payload: presets } = await response.json();
presets.forEach(p => console.log(`${p.name} — ${JSON.stringify(p.config)}`));
req, _ := http.NewRequest("GET", "https://api.proxyhat.com/v1/proxy-presets", nil)
req.Header.Set("Authorization", "Bearer __API_KEY__")
req.Header.Set("Accept", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
var result map[string]interface{}
json.NewDecoder(resp.Body).Decode(&result)
fmt.Println(result["payload"])
{
"success": true,
"payload": [
{
"id": 1,
"name": "US Residential",
"config": {
"country": "US",
"connection_type": "residential",
"session_type": "rotating"
},
"created_at": "2026-01-20T10:00:00Z"
}
]
}