Get My Account
WHR Account Me API — v1.1 (1.1.0)
Download OpenAPI specification:Download
Entitlements of one client: every API credential it has, with its trial / paid type, expiry or token balance,
limits and, for v1.1/tracker/upsert, its tracker token balance.
Send the account's Username / Password headers, as for the other v1.1 APIs. The API takes no parameters.
It must be enabled for your account; otherwise it returns HTTP 403 Access for this api is not allowed.
v1.1/account/me itself isn't listed in data.
It has no request limit or token limit, uses no tokens, and still answers after a trial has expired.
Trial expiry dates are YYYY-MM-DD HH:MM:SS.
Get My Account
Entitlements of the calling account (by its Username / Password headers; no parameters). Returns every API credential the account has, with its trial / paid type, its expiry (trial) or remaining request tokens (paid) and its limits. The v1.1/tracker/upsert credential also has the client's tracker token balance per entity type (tracker). Request usage is not returned here.
Authorizations:
Responses
Response Schema: application/json
required | Array of objects (ApiUsageEntry) The account's API credentials, one element per API. |
| count required | integer Number of API credentials in |
Request samples
- cURL
- Python
- JavaScript
- PHP
curl -X GET "https://api.10times.com/v1.1/account/me" \ -H "Username: your_username" \ -H "Password: your_password" \ -H "Accept: application/json"
Response samples
- 200
- 400
- 403
{- "data": {
- "0": {
- "api": "v1.1/tracker/upsert",
- "accountType": "paid",
- "remainingToken": 1185,
- "tracker": {
- "entityTypes": {
- "0": "event",
- "1": "company"
}, - "tokens": {
- "event": {
- "allotted": 1000,
- "used": 240,
- "remaining": 760
}, - "company": {
- "allotted": 500,
- "used": 75,
- "remaining": 425
}
}
}
}, - "1": {
- "api": "v1.1/tracker/monitor",
- "accountType": "paid",
- "remainingToken": 4972
}
}, - "count": 2
}