Proxy-seller
ProxyFree toolsContact sales
  • Documentation
  • PROXY-SELLER
    • Authorization
    • Actions with proxies
      • Retrieve active proxy
      • Export IPs in txt/csv/custom
      • IP replacement
      • Comment on IP
      • Extend proxies
      • Authorizations
        • List of authorizations
        • Create authorization
        • Change authorization
        • Delete authorization
    • Order actions
      • Complete information
      • Calculate the order
      • Place an order
    • Balance
    • Residential proxy
      • Get package information
      • Get all locations
      • Get existing IP list
      • Create list
      • Rename list
      • Change rotation settings
      • Delete list
      • Subaccounts (subusers)
        • Create subuser package
        • Update package
        • Get package information
        • Delete subuser's package
        • Retrieve existing IP lists
        • Create IP list
        • Rename created list
        • Change rotation
        • Delete list
        • Create a special list for API-TOOL
      • Session ID + TTL
        • Create a special list
        • Get all ISP codes
      • Cases (FAQ)
    • API - Changelog
    • SDK PHP
    • SDK NodeJS
    • SDK Phyton
    • SDK Java
    • SDK Golang
  • Mobile CRM
    • Get authorization key
    • Usage guides
      • How to Work with API Reference
      • Host Actions
        • All hosts info
        • List of host modems
        • Change host name
        • Reboot all modems
        • Export modems info
      • Modem Actions
        • Get all modems
        • Change modem IP
        • Set pause on modem
        • Set unpause on modem
        • Reboot modem
        • Change modem rotation
        • Limits on modem
        • Delete limits on modems
        • Delete modem
        • Send a report
      • Modem authorization (users)
        • Create authorization
        • Edit authorization
        • Modem authorizations
        • Authorization info
        • Limit authorization
        • Get limit authorization
        • Delete authorization
      • Modem action links
        • Direct links
        • Create domain
        • Approve domain
        • Edit domain
        • All client domain
        • Domain info
        • Delete domain
    • API Reference
      • Hosts
      • Modems
      • Modem authorization
      • Action links
      • Proxy limit
  • More guides
    • Youtube channel
    • Our blog
  • News, discounts
    • Reddit
    • Discord
    • Telegram
Powered by GitBook
On this page
  • Get all hosts
  • Get modems
  • Change host name
  • Reboot all modems
  • Export info all modems
  1. Mobile CRM
  2. API Reference

Hosts

Get all hosts

This request will return all hosts to which you are connected.

GET https://mobile.proxy-seller.com/api/v1/hosts

Exalpme

https://mobile.proxy-seller.com/api/v1/hosts

Headers

Name
Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

[
  {
    "id": "21vjv1224n45v7457mvcas",
    "name": "Host Number 1",
    "number": "101"
  }
]
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED

Get modems

GET https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/modems

This query will return all your modems that are connected to the specified host ID

Example

https://mobile.proxy-seller.com/api/v1/hosts/21vjv1224n45v7457mvcas/modems

Path Parameters

Name
Type
Description

hostId*

String

Id of host

Headers

Name
Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

[
  {
    "id": "63c234098746e15666325bf9f",
    "ip": "",
    "use": false,
    "status": "DOWN",
    "ipProxy": "101.111.44.191",
    "portHttp": "40303",
    "portSocks": "50303",
    "simProvider": "MTS UKR",
    "simNumber": null,
    "hostId": "21vjv1224n45v7457mvcas"
  }
]
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED,
HOST_USER_ID_AND_AUTH_DOES_NOT_MATCH
INVALID_HOST_ID
INVALID_HOST

Change host name

PATCH https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/changeName

This request change the name of host.

Example

https://mobile.proxy-seller.com/api/v1/hosts/21vjv1224n45v7457mvcas/changeName

Path parameters

Name
Type
Description

hostId*

String

id of host

Headers

Name
Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request body

Name
Type
Description

name*

String

new host name

Example request body

{
    "name": "Host new name"
}

Response

{
    "id": "21vjv1224n45v7457mvcas",
    "name": "Host new name",
    "number": "101"
}
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED,
HOST_USER_ID_AND_AUTH_DOES_NOT_MATCH
INVALID_HOST_ID,
HOST_NOT_FOUND

Reboot all modems

Reboot all modems within the host.

PATCH https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/reboot

This request reboot all modems on the selected host.

Example:

https://mobile.proxy-seller.com/api/v1/hosts/21vjv1224n45v7457mvcas/reboot

Headers

Name
Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Path Parameters

Name
Type
Description

hostId*

String

id of host

Response

successful answer has no body, the success state is determined by the status 200

AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED,
HOST_USER_ID_AND_AUTH_DOES_NOT_MATCH
INVALID_HOST_ID,

Export info all modems

Downloading information from all modems within the host.

POST https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/export

This request return file with modems info form one selected host

Example:

https://mobile.proxy-seller.com/api/v1/hosts/21vjv1224n45v7457mvcas/export

Headers

Name
Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Path Parameters

Name
Type
Description

hostId*

String

id of host

Body

Name
Type
Description

extension*

enum: ["txt", "csv", "xlsx"]

file extension for which the data will be formatted

fileName

String

name of file

format

String

the column order of the source file

format can consist of the values: "%number%, %ip%, %use%". The values should be specified in any order you like, comma-separated, without spaces. in case of absence of format, the default format is used.

Example request body:

{
    "extension": "txt",
    "format": "%number%,%ip%,%use%",
    "fileName": "test"
}

Response

%number%,%ip%,%use%
101,101.111.44.191,false
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED,
HOST_USER_ID_AND_AUTH_DOES_NOT_MATCH
INVALID_HOST_ID,
PreviousAPI ReferenceNextModems

Last updated 8 months ago