Pterodactyl API v1
Account

Account details

Retrieves information about the account

GET/api/client/account

Authorization

ClientToken
AuthorizationBearer <token>

Client API key (generated at /account/api)

In: header

Response Body

application/json

curl -X GET "https://pterodactyl.file.properties/api/client/account" \  -H "Authorization: Bearer ptlc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \  -H "Accept: application/json"
{
  "object": "user",
  "attributes": {
    "id": 1,
    "admin": true,
    "username": "admin",
    "email": "[email protected]",
    "first_name": "Admin",
    "last_name": "User",
    "language": "en"
  }
}