POST
/
proxy
/
add_proxies
curl --request POST \
  --url https://api.gologin.com/proxy/add_proxies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "proxies": [
    {
      "id": "6201422450e3b9cd602f24e1",
      "mode": "http",
      "host": "127.0.0.1",
      "port": 80,
      "username": "user",
      "password": "password",
      "changeIpUrl": "https://some-proxy-provider.com/change-ip",
      "customName": "My Proxy",
      "notes": "<string>"
    }
  ],
  "workspaceId": "<string>"
}'
[
  {
    "_id": "<string>",
    "id": "<string>",
    "mode": {},
    "host": "<string>",
    "port": 123,
    "username": "<string>",
    "password": "<string>",
    "lastIp": "<string>",
    "changeIpUrl": "<string>",
    "profiles": [
      "<string>"
    ],
    "profilesCount": 123,
    "customName": "<string>",
    "status": true,
    "country": "<string>",
    "city": "<string>",
    "checkDate": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "timezone": "<string>",
    "languages": "<string>",
    "connectionType": {},
    "notes": "<string>",
    "isRestoredByOwner": true
  }
]

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

The response is of type object[].