Skip to main content
POST
/
orders
/
{order_id}
/
credentials
Update proxy credentials
curl --request POST \
  --url https://api.proxyjam.com/public/v1/orders/{order_id}/credentials \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "ips": [
    {}
  ],
  "passwords": [
    {}
  ]
}
'

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.

Replaces the credential set on the upstream pool. You can update the whitelist of source IPs, the list of login/password pairs, or both in one call. At least one of ips or passwords must be provided. Each list is capped at 20 entries by the upstream pool.

Path parameters

order_id
string
required
UUID of the order backing the mobile rotating proxy.

Request body

ips
array
Allowed source IPs for IP-whitelist authentication. Omit to leave the existing list unchanged.
passwords
array
Login/password pairs, each shaped {"login": "...", "password": "..."}. Omit to leave the existing list unchanged.

Response

Live snapshot of the mobile rotating proxy with the updated credentials applied. Same shape as the mobile branch of Get order.

Example

curl -X POST "https://api.proxyjam.com/public/v1/orders/997b4450-e7ae-4ad9-8a25-996e582049c9/credentials" \
  -H "X-API-Key: pj_AbCdEf..." \
  -H "Content-Type: application/json" \
  -d '{
    "ips": ["203.0.113.10", "203.0.113.11"],
    "passwords": [
      {"login": "scrape_bot", "password": "s3cret"}
    ]
  }'