import Nuntly from '@nuntly/sdk';
const client = new Nuntly({
apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted
});
const organization = await client.organizations.retrieve('org_01ka8k8s80gvx9604cn9am5st4');
console.log(organization.id);
Returns the organization’s profile, plan, region, and account status.
GET
/
organizations
/
{id}
JavaScript
import Nuntly from '@nuntly/sdk';
const client = new Nuntly({
apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted
});
const organization = await client.organizations.retrieve('org_01ka8k8s80gvx9604cn9am5st4');
console.log(organization.id);