ACCOUNTS

Accounts are the way to organise your stakes with Kiln, you can see them as folder for your stakes. It is a flexible system you can use to differentiate your client stakes for example.

List your Accounts

List all the accounts inside your Kiln Organization or get the details of one single account.

const accounts = await k.accounts.getAll();
const account = await k.accounts.get('account-id');

Create a new Account

Create a new account by setting its title and description.

const account = await k.accounts.create('Client #1', 'Account for Client #1');

Update an Account

Update the metadata (name and / or description) of an Account.

const account = await k.accounts.update(account.id, 'Client #1 - old');

Last updated