Skip to main content
GET
/
account
Get account information
curl --request GET \
  --url https://api.maxai.lol/v1/account \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "data": {
    "id": "b5ddfe38-6f16-48ab-a735-79e5cab878f0",
    "firstName": "John",
    "lastName": "Doe",
    "email": "[email protected]",
    "balance": 25.94758,
    "preference": {
      "lowBalanceAlerts": false,
      "newsletters": true,
      "promotionalEmails": true
    },
    "source": "google"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

The account information was retrieved successfully.

status
number

The HTTP-style status code of the response.

Example:

200

data
object

The account information object.