Get Account Details

GET: /account
Request params
ParametersDescription
There no parameters.
Response params
ParametersDescription
account_idYour unique account id in OHT.
account_usernameYour OHT username.
creditsCurrently available credits balance.
roleCustomer role.
uuidCustomer UUID.

Request Example

curl --request GET 'https://www.onehourtranslation.com/api/2/account?secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>

Result Example

{
  "status":
   {
    "code":0,
    "msg":"ok"
   },
  "results":
   {
    "credits":"10000",
    "account_id":"123123",
    "account_username":"userTest"
    "role":"customert"
    "uuid":"6b4d3a32-911c-43fc-b4d3-3ff8122fec7c"
   },
  "errors":[]
}