Skip to main content
We provided libraries in TypeScript that make is easier to with the Trust Stack API.

TypeScript

TypeScript library GitHub repo Example
import { TrustStack } from '@truststack/sdk';


TrustStack.configure({ 
    accessKey: 'my-access-key' // defaults to process.env["TRUSTSTACK_ACCESS_KEY"]
}); 

const client = new TrustStack();
const organizations = await client.admin.createOrganization({ name: 'ACME Farms' });