Skip to main content
POST
/
orders
/
{order_id}
/
auto-renew
Set auto-renew
curl --request POST \
  --url https://api.proxyjam.com/public/v1/orders/{order_id}/auto-renew \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "enabled": true
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.proxyjam.com/llms.txt

Use this file to discover all available pages before exploring further.

Toggles automatic renewal on the provider side. When enabled, the proxy subscription renews automatically at expiry.

Path parameters

order_id
string
required
UUID of the order.

Request body

enabled
boolean
required
true to enable auto-renew, false to disable it.

Response

Updated proxy object. Residential orders return the standard managed_proxy shape (see Get order).
Mobile rotating orders return a live snapshot instead — shape with "type": "mobile" and mobile-specific fields (signature, tags, current_ip). The Python SDK dispatches automatically: client.orders.set_auto_renew() returns either a Proxy or a MobileProxy based on the response shape.

Example

curl -X POST "https://api.proxyjam.com/public/v1/orders/997b4450-e7ae-4ad9-8a25-996e582049c9/auto-renew" \
  -H "X-API-Key: pj_AbCdEf..." \
  -H "Content-Type: application/json" \
  -d '{"enabled": false}'