PureVPN API
Partners PureVPN API
We are social



PureVPN API

 

We are happy to get closer to our partners.

 

PureVPN API allows you to create and manage VPN accounts using
your custom applications. You can develop a handy system to manage
your accounts on your favorite platform (Desktop/Web/Mobile)


We hope this will discover new ways for our partners to embed our technologies
in their business.

 

Signup for Our Developer Program Here

WHY API:

 

  • Exploring more comfort for our customers
  • Spreading innovation especially around corporate security

 

Documentation


API Stable Version 1.0
Last revised : 19 Oct 2011

 

REST API utilizes simple HTTP POST methods to get response in XML
format. ( JSON coming soon)

 

Authentication

 

Authentication is based on Username, encrypted password and
IP address. Once you signup, you will be requested to
submit your IP address from where you will be calling API.
You can submit multiple IP addresses.

 

With each request you are required to POST these parameters,

 

API True
api_user your username
api_password your password in md5 format

In Addition to parameters defined above, you need to POST these

 

 

Explanation of each method along with Request and Response details
are below.

 

Create

 

Parameter Value
package_type STANDARD,SSTP,HIGH-BW
period #30,#60,#90,#180,#365
method create

 

Response:

 

<xml>
<user>Username</user>
<vpn_password>Password</vpn_password>
<result>1</result>
</xml>


Renew

 

Parameter Value
username VPN account Username to be renewed
period #30,#60,#90,#180,#365
method renew

 

Response:

 

<xml>
<user>Username</user>
<vpn_password>Password</vpn_password>
<result>1</result>
</xml>


Find Status

 

Parameter Value
username VPN account Username
method status

 

Response:

 

<xml>
<expiry_status>expiry_date</expiry_status>
<status>account_status</status>
<result>1</result>
</xml>


Delete Account

 

Parameter Value
username VPN account Username
method delete_account

 

Response:

 

<xml>
<result>1</result>
</xml>


Update Account

 

Parameter Value
username VPN account Username
method update_account
update_status enable,disable

 

Response:

 

<xml>
<result>1</result>
</xml>


Change Password

 

Parameter Value
username VPN account Username
method change_password
new_pass New Password, Must be Alphanumeric and length should be 8 characters

 

Response:

 

<xml>
<result>1</result>
</xml>