Soxway Docs
Sub Users

Get sub-user history

Get the traffic allocation and usage history for a sub-user.

GET
/reseller/sub-users/{subId}/history

Authorization

bearerAuth
AuthorizationBearer <token>

Access token obtained via POST /reseller/access-token using your Reseller Key

In: header

Path Parameters

subId*integer

Response Body

application/json

curl -X GET "https://api.soxway.io/reseller/sub-users/0/history"
{
  "data": {
    "data": [
      {
        "id": 0,
        "created_at": "2019-08-24T14:15:22Z",
        "added_traffic_gb": 0,
        "added_traffic_mb": 0,
        "previous_traffic_mb": 0,
        "new_traffic_mb": 0
      }
    ],
    "total": 0,
    "per_page": 0,
    "current_page": 0,
    "last_page": 0
  }
}
Empty