GET
/
account
TypeScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: 'My API Key',
});

const account = await client.account.retrieve();

console.log(account.id);
{
  "data": {
    "id": "user_01jh6jk831bzen14edngw38we9",
    "display_name": "Ray Tomlinson",
    "email": "ray@info.tomlinson.ai",
    "created_at": "2025-01-09T22:22:41.249Z",
    "modified_at": "2025-01-09T22:22:41.249Z",
    "region": "eu-west-1",
    "kind": "user"
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>

Response

200
application/json

A successful response

The response is of type object.