{% include 'header.twig' %}






<div class="not-authenticate">
<section class="top-hero signupPage">
<div class="container">
<style>
        pre {
            display: block;
            padding: 9.5px;
            margin: 0 0 10px;
            font-size: 13px;
            line-height: 1.42857143;
            color: #333;
            word-break: break-all;
            word-wrap: break-word;
            background-color: #f5f5f5;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

.inner-dashboard .badge {
    border-radius: 2px;
    font-weight: 300;
    background: #00a8fa;
    padding: 4px 5px
}

.inner-dashboard .badge.badge-primary {
    background: #5ee78d
}

.inner-dashboard .api h2 {
    font-size: 22px;
    font-weight: 400;
    color: #000
}

.inner-dashboard .api h4,.inner-dashboard .api p strong {
    color: #000
}
.inner-dashboard .well {
    background: #fff;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.08)
}

.inner-dashboard.neworderPage .well {
    background: #fff
}


.inner-dashboard.faqPage .well .well,.inner-dashboard.termsPage .well .well {
    background: #1fbbf5
}

.inner-dashboard .well.api {
    min-height: auto
}
.list-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0
}

.list-group-item {
    position: relative;
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125)
}

.list-group-flush .list-group-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0
}

.justify-content-between {
    -webkit-box-pack: justify!important;
    -ms-flex-pack: justify!important;
    justify-content: space-between!important
}

.align-items-center {
    -webkit-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important
}        
.top-hero {
  padding-top: 20px;
}
</style>
<div class="inner-dashboard">
<div class="row">
<div class="col-xs-12">
<div class="well api well-float">
<div class="center-big-content-block">
<h2 class="m-b-md">API Docs</h2>
<ul class="list-group list-group-flush">
<li class="list-group-item d-flex justify-content-between align-items-center">HTTP Method<b style="float:right;">POST</b></li>
<li class="list-group-item d-flex justify-content-between align-items-center">API URL<span class="badge" style="float:right;">{{ site["url"] }}/api/v2</span></li>
	{% if user['auth'] %}

<li class="list-group-item d-flex justify-content-between align-items-center">API KEY<span class="" style="float:right;">Get an API key on the <a href="/account">Account</a> page</span></li>

	{% endif %}

<li class="list-group-item d-flex justify-content-between align-items-center">Response format<span style="float:right;">JSON</span></li>
<li class="list-group-item d-flex justify-content-between align-items-center">Download Examples<a href="/example.txt" class="btn btn-primary" target="_blank" style="float:right;"> PHP Code</a></li>
</ul>
</div>
</div>
<div class="well api well-float">
<div class="center-big-content-block">
<h4 class="m-t-md"><strong>Add order</strong></h4>
<form class="form-inline">
<div class="form-group">
<select class="form-control input-sm" id="service_type">
<option value="0">Default</option>
<option value="2">Custom Comments</option>
</select>
</div>
</form>
<div id="type_0">
<table class="table table-bordered">
<thead>
<tr class="thead-dark">
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>add</td>
</tr>
<tr>
<td>service</td>
<td>Package ID</td>
</tr>
<tr>
<td>link</td>
<td>Link to page</td>
</tr>
<tr>
<td>quantity</td>
<td>Needed quantity</td>
</tr>
<tr>
<td>runs</td>
<td>optional, Runs to deliver</td>
</tr>
<tr>
<td>interval</td>
<td>optional, Interval in minutes</td>
</tr>
</tbody>
</table>
</div>
<div id="type_2" style="display:none;">
<table class="table table-bordered">
<thead>
<tr class="thead-dark">
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>add</td>
</tr>
<tr>
<td>service</td>
<td>Package ID</td>
</tr>
<tr>
<td>link</td>
<td>Link to page</td>
</tr>
<tr>
<td>comments</td>
<td>optional, needed for custom comments, mentions and other relaed packages only. &lt;br&gt;each separated by '
', '
'</td>
</tr>
</tbody>
</table>
</div>
<p><strong>Example response</strong></p>
<pre>{
  "order":"23501"
}
                            </pre>
</div>
</div>
<div class="well api well-float">
<div class="center-big-content-block">
<h4 class="m-t-md"><strong>Order status</strong></h4>
<table class="table table-hover table-sm">
<thead class="thead-dark">
<tr>
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>status</td>
</tr>
<tr>
<td>order</td>
<td>Order ID</td>
</tr>
</tbody>
</table>
<p><strong>Example response</strong></p>
<pre>{
    "charge": "0.03300",
    "start_count": "1691",
    "status": "Completed",
    "remains": "0",
    "currency": "USD"
}                  </pre>
</div>
</div>
<div class="well api well-float">
<div class="center-big-content-block">
<h4 class="m-t-md"><strong>Multiple Order status</strong></h4>
<table class="table table-hover table-sm">
<thead class="thead-dark">
<tr>
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>status</td>
</tr>
<tr>
<td>orders</td>
<td>Order IDs separated by comma</td>
</tr>
</tbody>
</table>
<p><strong>Example response</strong></p>
<pre>{
  "486450": {
    "charge": 0.08011655652,
    "start_count": "44",
    "status": "Completed",
    "remains": "0",
    "currency": "USD"
  },
  "486451": {
    "error": "Incorrect order ID"
  },
  "486561": {
    "charge": 0.04434830916,
    "start_count": "181",
    "status": "Cancelled",
    "remains": "100",
    "currency": "USD"
  }
}                  </pre>
</div>
</div>
<div class="well api well-float">
<div class="center-big-content-block">
<h4 class="m-t-md"><strong>Order refill</strong></h4>
<table class="table table-hover table-sm">
<thead class="thead-dark">
<tr>
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>refill</td>
</tr>
<tr>
<td>order</td>
<td>Order ID</td>
</tr>
</tbody>
</table>
<p><strong>Example response - Success</strong></p>
<pre>{
    "success": "Your order will be refill asap. Thank you for patience",
    "refill": 12345
}                           </pre>
<p><strong>Example response - Failure</strong></p>
<pre>{
    "error": "Order not eligible for refill."
}                           </pre>
</div>
</div>
<div class="well api well-float">
<div class="center-big-content-block">
<h4 class="m-t-md"><strong>Get Refill status</strong></h4>
<table class="table table-hover table-sm">
<thead class="thead-dark">
<tr>
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>refill_status</td>
</tr>
<tr>
<td>refill</td>
<td>Refill ID</td>
</tr>
</tbody>
</table>
<p><strong>Example response</strong></p>
<pre>{
    "status": "Completed"
}                  </pre>
</div>
</div>
<div class="well api well-float">
<div class="center-big-content-block">
<h4 class="m-t-md"><strong>Cancel Order</strong></h4>
<table class="table table-hover table-sm">
<thead class="thead-dark">
<tr>
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>cancel</td>
</tr>
<tr>
<td>order</td>
<td>Order ID</td>
</tr>
</tbody>
</table>
<p><strong>Example response - Success</strong></p>
<pre>{
    "success": "We will attempt to cancel this order. Cancellation is not guaranteed. Please check again in 5 minutes.",
}                           </pre>
<p><strong>Example response - Failure</strong></p>
<pre>{
    "error": "Order not eligible for cancellation."
}                           </pre>
</div>
</div>
<div class="well api well-float">
<div class="center-big-content-block">
<h4 class="m-t-md"><strong>Service list</strong></h4>
<table class="table table-hover table-sm">
<thead class="thead-dark">
<tr>
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>services</td>
</tr>
</tbody>
</table>
<p><strong>Example response</strong></p>
<pre>[
  {
      "service": 101,
      "name": "Real &amp; Active Followers",
      "rate": "250.00",
      "min": "100",
      "max": "100000",
      "category": "Instagram Followers",
      "type": "default",
      "description": Service Description,
      "dripfeed": true,
      "refill": true,
      "cancel": true,
  },
  {
      "service": 30067,
      "name": "Instagram - Worldwide",
      "rate": "103.00",
      "min": "100",
      "max": "10000",
      "category": "Instagram Followers",
      "type": "default",
      "description": Service Description,
      "dripfeed": true,
      "refill": true,
      "cancel": true,
  }
]</pre>
</div>
</div>
<div class="well api well-float">
<div class="center-big-content-block">
<h4 class="m-t-md"><strong>User balance</strong></h4>
<table class="table table-hover table-sm">
<thead class="thead-dark">
<tr>
<th class="width-40">Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>Your API Key</td>
</tr>
<tr>
<td>action</td>
<td>balance</td>
</tr>
</tbody>
</table>
<p><strong>Example response</strong></p>
<pre>{
    "balance": "100.84292",
    "currency": "USD"
}
                </pre>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>

{% include 'footer.twig' %}
