Change proxy IP automatically
curl --request POST \
--url https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"interval_seconds": 123
}
'import requests
url = "https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset"
payload = { "interval_seconds": 123 }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({interval_seconds: 123})
};
fetch('https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'interval_seconds' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset"
payload := strings.NewReader("{\n \"interval_seconds\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"interval_seconds\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"interval_seconds\": 123\n}"
response = http.request(request)
puts response.read_bodyMobile rotating proxies
Change proxy IP automatically
Rotate the public IP of a mobile rotating proxy on a timer.
POST
/
orders
/
{order_id}
/
auto-reset
Change proxy IP automatically
curl --request POST \
--url https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"interval_seconds": 123
}
'import requests
url = "https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset"
payload = { "interval_seconds": 123 }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({interval_seconds: 123})
};
fetch('https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'interval_seconds' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset"
payload := strings.NewReader("{\n \"interval_seconds\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"interval_seconds\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.proxyjam.com/public/v1/orders/{order_id}/auto-reset")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"interval_seconds\": 123\n}"
response = http.request(request)
puts response.read_bodySets how often the proxy changes its IP on its own, or turns automatic changes off. The proxy keeps its host, port and credentials; the connection drops for a moment at each change. The current interval is
auto_reset_interval_seconds on Get order.
Path parameters
Request body
Seconds between automatic IP changes, from
60 to 86400 (one day). 0 turns automatic changes off. Anything else answers 422.Response
Live snapshot of the mobile rotating proxy with the new interval inauto_reset_interval_seconds. Same shape as the mobile branch of Get order.
Rate limit
10 requests a minute per caller, with a burst of 5 — it waits on the upstream pool, whose capacity every customer shares. Past that the call answers429 with Retry-After in seconds; see Rate limits.
Example
curl -X POST "https://api.proxyjam.com/public/v1/orders/997b4450-e7ae-4ad9-8a25-996e582049c9/auto-reset" \
-H "X-API-Key: pj_AbCdEf..." \
-H "Content-Type: application/json" \
-d '{"interval_seconds": 300}'
{
"type": "mobile",
"id": "997b4450-e7ae-4ad9-8a25-996e582049c9",
"status": "active",
"expires_at": "2026-12-31T23:59:59Z",
"host": "gw.proxyjam.com",
"port": 24534,
"current_ip": "203.0.113.99",
"signature": "Windows 11",
"auto_reset_interval_seconds": 300,
"reset_url": null,
"order_status": "provisioned",
"proxy_type": "mobile"
}