Skip to main content
POST
/
proxy-devices
Create a new proxy device
curl --request POST \
  --url https://api.gologin.com/proxy-devices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "model": "<string>",
  "ip": "<string>",
  "deviceId": "<string>",
  "country": "<string>",
  "proxyStatus": "active",
  "smsStatus": "active"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "model": "<string>",
  "ip": "<string>",
  "country": "<string>",
  "proxyStatus": "active",
  "smsStatus": "active",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deviceId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Device name

model
string
required

Device model

ip
string
required

Device IP address

deviceId
string
required

Unique device identifier

country
string
required

Country code (2-letter) or country name

proxyStatus
enum<string>

Proxy status

Available options:
active,
inactive
smsStatus
enum<string>

SMS status

Available options:
active,
inactive

Response

201 - application/json

Proxy device created successfully

id
string
required

Unique identifier of the proxy device

name
string
required

Name of the proxy device

model
string
required

Model of the proxy device

ip
string
required

IP address of the proxy device

country
string
required

Country code of the proxy device

proxyStatus
enum<string>
required

Proxy status

Available options:
active,
inactive
smsStatus
enum<string>
required

SMS status

Available options:
active,
inactive
createdAt
string<date-time>
required

Date when the device was created

updatedAt
string<date-time>
required

Date when the device was last updated

deviceId
string
required

Unique device identifier