Skip to main content
PUT
/
instances
/
{id}
/
proxy
Configurar Proxy
curl --request PUT \
  --url https://api.wapizap.com/api/v2/instances/{id}/proxy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "host": "proxy.example.com",
  "port": 8080,
  "protocol": "http",
  "username": "<string>",
  "password": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json
host
string
required
Example:

"proxy.example.com"

port
integer
required
Example:

8080

protocol
enum<string>
required
Available options:
http,
https,
socks4,
socks5
username
string
password
string

Response

200

Proxy configurado