GET
/
accounts
/
{id}
/
usage
curl --request GET \
  --url https://api-network.joinmassive.com/resellers/accounts/{id}/usage \
  --header 'x-api-key: <api-key>'
{
  "id": "57ed834f-f6f6-47d4-ab23-5674d7866b32",
  "usage": 12345,
  "limit": 1000000
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Query Parameters

from
string
to
string

Response

200
application/json
The currently used traffic for the account.
id
string

The account ID (uuid).

Example:

"57ed834f-f6f6-47d4-ab23-5674d7866b32"

usage
integer

The amount of bytes of traffic used so far by the account

Example:

12345

limit
integer

The allocated traffic allowance in bytes.

Example:

1000000