Proxy-seller

Action links

GEThttps://mobile.proxy-seller.com/api/v1/modems/{modemId}/links

This point returns direct links to reboot, get the IP and get the modem status.

Example

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/links

Example with domainId

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/links?domainId=1asdbu1kb23

Path parameters

Name

Type

Description

modemId*

String

id of modem

Headers

Name

Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Query parameters

Name

Type

Description

domainId

String

your costom domain Id

Response

{
    "reboot": "https://mobile.proxy-seller.com/c/modem/reboot/103790e5f286b193bedd3aee67bff18afb746e",
    "status": "https://mobile.proxy-seller.com/c/modem/status/103790e5f286b193bedd3aee67bff18afb746e",
    "ip": "https://mobile.proxy-seller.com/c/modem/ip/103790e5f286b193bedd3aee67bff18afb746e"
}
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED,
HOST_USER_ID_AND_AUTH_DOES_NOT_MATCH
INVALID_MODEM, DOMAIN_NOT_FOUND

Example to use links:

https://mobile.proxy-seller.com/c/modem/ip/103790e5f286b193bedd3aee67bff18afb746e

Client domain

GEThttps://mobile.proxy-seller.com/api/v1/domains

This point will return a list of all the domain names you have.

Example

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

Headers

Name

Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

[
  {
        "id": "63888a772bd6cd2bc8071515",
        "domain": "mobile.space",
        "useTls": true,
        "approved": true,
        "prioritized": false,
        "linkEnabled": true,
        "prefix": "/custom/"
  }
]
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED

Get domain

GEThttps://mobile.proxy-seller.com/api/v1/domains/{domainId}

This point will return a list of all the domain names you have.

Example

https://mobile.proxy-seller.com/api/v1/domains/63888a772bd6cd2bc8071515

Path parameters

Name

Type

Description

domainId*

String

id of domain

Headers

Name

Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

{
   "id": "63888a772bd6cd2bc8071515",
   "domain": "mobile.space",
   "useTls": false,
   "approved": true,
   "prioritized": false,
   "linkEnabled": true,
   "prefix": "/custom/"
}
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED
DOMAIN_NOT_FOUND

Create domain

POSThttps://mobile.proxy-seller.com/api/v1/domains

This request creates your custom domain name.

Example

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

Headers

Name

Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request Body

Name

Type

Description

domain*

String

Domain name (example.com)

useTls*

Boolean

use TLS or not

linkEnabled*

Boolean

Use custom prefix or not

prefix*

String

prefix for link after domain (example "/some/prefix/") , not empty

Example request body

{
    "domain": "some.com",
    "useTls": false,
    "linkEnabled": true,
    "prefix": "/some/prefix/"
}

Response

{
    "id": "6683a91b19erd56a69f71697",
    "domain": "some.com",
    "useTls": false,
    "approved": false,
    "prioritized": false,
    "linkEnabled": true,
    "prefix": "/some/prefix/"
}
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED

Approve domain

PATCHhttps://mobile.proxy-seller.com/api/v1/domains/{domainId}/approve

This request performs a verification and validates your domain.

The domain IP must match the proxy server IP

Example

https://mobile.proxy-seller.com/api/v1/domains/6683a91b19erd56a69f71697/approve

Path parameters

Name

Type

Description

domainId*

String

id of domain

Headers

Name

Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

true
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED
DOMAIN_NOT_FOUND

Edit domain

PUThttps://mobile.proxy-seller.com/api/v1/domains/{domainId}

This request update your custom domain.

Example

https://mobile.proxy-seller.com/api/v1/domains/6683a91b19erd56a69f71697

Path parameters

Name

Type

Description

domainId*

String

id of domain

Headers

Name

Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request Body

Name

Type

Description

useTls*

Boolean

use TLS or not

linkEnabled*

Boolean

Use custom prefix or not

prefix*

String

prefix for link after domain (example "/some/prefix/") , not empty

Example request body:

{
    "useTls": false,
    "linkEnabled": true,
    "prefix": "/some/new/prefix/"
}

Response

{
    "id": "6683a91b19erd56a69f716",
    "domain": "some.com",
    "useTls": false,
    "approved": true,
    "prioritized": false,
    "linkEnabled": true,
    "prefix": "/some/new/prefix/"
}
AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED
DOMAIN_NOT_FOUND

Delete domain

DELETEhttps://mobile.proxy-seller.com/api/v1/domains/{domainId}

This request remove domain.

Be careful it can cause irreversible effects.

Example

https://mobile.proxy-seller.com/api/v1/domains/6683a91b19erd56a69f71697

Path parameters

Name

Type

Description

domainId*

String

id of domain

Headers

Name

Value

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

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

AUTHORIZATION_FAILED,
IP_AUTHORIZATION_FAILED

On this page