Query account information

Query Account Information

GET http://127.0.0.1:12368/me

Examples

  • Curl example

curl http://127.0.0.1:12368/me

  • Javascript example

const hidemyacc = new Hidemyacc();
const user = await hidemyacc.me();

Success response

Success response - Success 200

NameTypeDescription

data

Object

User information

data.affiliate

Number

Percentage for partners to join affiliate

data.createdAt

Date

Account creation date

data.email

email

Email Address

data.expireDate

Date

Expiration date

data.id

String

Id Account

data.lockEnabled

Boolean

Is the account locked or not?

data.plan

Object

Information about the subscription plan that the account is using

data.profiles

Number

Number of current profiles of the user

data.plan.maxProfiles

Number

Number of profiles that the subscription plan supports

data.plan.name

Number

Subcription plan's name

Success response example

Success response example - Success-Example

HTTP/1.1 200 OK
{
    "code": 1,
    "data":
    {
        "affiliate": 10,
        "createdAt": "2021-03-11T10:47:58.666Z",
        "email": "test@hidemyacc.com",
        "expireDate": "2022-11-03T07:24:58.408Z",
        "id": "613c895e92097a1b0ea30b7b",
        "lockEnabled": false,
        "plan":
        {
            "maxProfiles": 1000,
            "name": "Business"
        },
        "profiles": 25
    }
}

Error response

Error response - Error 4xx

NameTypeDescription

401

Not logged into account

Error response example

Error response example - Response (example):

HTTP/1.1 401 Not Authenticated
{
  "code": 0,
  "message": "Unauthorized",
  "data": {}
}

Last updated