Action links

GET https://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

NameTypeDescription

modemId*

String

id of modem

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Query parameters

NameTypeDescription

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"
}

Example to use links:

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

Client domain

GET https://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

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

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

Get domain

GET https://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

NameTypeDescription

domainId*

String

id of domain

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

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

Create domain

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

This request creates your custom domain name.

Example

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

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request Body

NameTypeDescription

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/"
}

Approve domain

PATCH https://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

NameTypeDescription

domainId*

String

id of domain

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

true

Edit domain

PUT https://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

NameTypeDescription

domainId*

String

id of domain

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request Body

NameTypeDescription

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/"
}

Delete domain

DELETE https://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

NameTypeDescription

domainId*

String

id of domain

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

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

Last updated