Pterodactyldocs
API Reference (2.0)Client API

Get account

GET/api/client/account

Returns profile details for the authenticated user.

AuthorizationBearer <token>

Application API requests require an application API token, or a client API token, that belongs to a root administrator. Admin API requests require a client API token that belongs to a root administrator, and reject application API tokens. Client API requests require a client API token.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/client/account"
{  "object": "user",  "attributes": {    "id": 22065,    "admin": false,    "username": "vernon82_i4mrjhg3wq",    "email": "[email protected]",    "first_name": "Skye",    "last_name": "Rogahn",    "language": "en"  }}