GET
/
v1
/
account
import Evecloud from '@evecloud/sdk';

const client = new Evecloud({
  token: 'My Token',
});

async function main() {
  const account = await client.accounts.retrieve();

  console.log(account.data);
}

main();
{
  "data": {
    "id": "8c53a06e-9e0d-4258-8f89-84df16b1bead",
    "username": "johndoe",
    "firstName": "John",
    "lastName": "Doe",
    "verified": true,
    "picture": null,
    "updatedAt": "2021-08-01T00:00:00.000Z",
    "createdAt": "2021-08-01T00:00:00.000Z"
  },
  "success": true
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Response

200
application/json
Successful request.
data
object
required
success
boolean
default:true
required

Whether the API call was successful

Was this page helpful?