GET
/
v1
/
account
Authorization
const { setToken, Account } = require('@evecloud/sdk');

setToken('TOKEN');

Account.get().then((data) => {
    console.log(data);
}).catch((error) => {
    console.log(error);
});
{
  "avatar": "https://cdn.auth0.com/avatars/jd.png",
  "created_at": "2023-03-02T13:45:30.152Z",
  "email": "john.doe@acme.co",
  "id": 2884306356092489,
  "integrations": {
    "github": {}
  },
  "name": "John Doe",
  "updated_at": "2023-03-28T09:08:38.827Z",
  "username": "johndoe",
  "uuid": "b04e6c1b-3f0b-4867-9c0a-01c892f51aba",
  "verified": true
}

Authorizations

Authorization
string
headerrequired

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

Response

200 - application/json
avatar
string

The account avatar.

created_at
string

The account created at date.

email
string

The account email.

id
string

The account ID.

integrations
object

The account integrations.

name
string

The account name.

updated_at
string

The account updated at date.

username
string

The account username.

uuid
string

The account UUID.

verified
boolean

The account verified status.