POST
/
public
/
user
/
proxy_user
/
create
curl --request POST \
  --url https://api.pingproxies.com/1.0/public/user/proxy_user/create \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-Private-Key: <api-key>' \
  --header 'X-API-Public-Key: <api-key>' \
  --data '{
  "ip_address_authentications": [
    "1.1.1.1",
    "2.2.2.2"
  ],
  "proxy_user_id": "stevejobs",
  "proxy_user_is_service_restricted": true,
  "proxy_user_is_strict_security": true,
  "proxy_user_metadata": {},
  "proxy_user_password": "apple1984",
  "proxy_user_residential_bytes_limit": 1000000,
  "restricted_service_ids": [
    "124-1321-123",
    "224-1321-123"
  ]
}'
{
  "created": [
    "stevejobs"
  ],
  "data": {
    "proxy_user_id": "stevejobs",
    "proxy_user_password": "apple1984"
  },
  "message": "Proxy User successfully created."
}

Authorizations

X-API-Private-Key
string
header
required

Private API key for user-level authentication.

X-API-Public-Key
string
header
required

Public API key for user-level authentication.

Headers

Content-Type
string
default:application/json
required

Content type for the request body as application/json.

Body

application/json
The details of the proxy user to be created.
ip_address_authentications
string[]

A list of IP addresses for Proxy User authentication. Each IP can only be used by one Proxy User.

Example:
["1.1.1.1", "2.2.2.2"]
proxy_user_id
string
default:Randomly generated

The ID of the proxy user. If not provided, it will be randomly generated.

Required string length: 10 - 32
Example:

"stevejobs"

proxy_user_is_service_restricted
boolean
default:false

Enable service restriction.

Example:

true

proxy_user_is_strict_security
boolean
default:false

Enable strict security. If true, IP authentication is required.

Example:

true

proxy_user_metadata
object

Arbitrary metadata object for the Proxy User. Constraints

  • Supports string, boolean, float and integer values.
  • Non-nested JSON object
  • Max 30 keys
  • Each value ≤ 300 chars
  • Total size ≤ 32KB Defaults to {} if not provided.
proxy_user_password
string
default:Randomly generated

The password of the proxy user. If not provided, it will be randomly generated.

Required string length: 10 - 32
Example:

"apple1984"

proxy_user_residential_bytes_limit
integer

Residential bytes limit for the Proxy User (must not be negative).

Example:

1000000

restricted_service_ids
string[]

A list of service IDs to which the user is restricted.

Example:
["124-1321-123", "224-1321-123"]

Response

201 - application/json
Proxy User Successfully Created
created
string[]
required

A list containing the ID of the created Proxy User.

data
object
required
message
string
required

A message indicating success.