import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: 'My API Key',});// Automatically fetches more pages as needed.for await (const organizationListResponse of client.organizations.list()) { console.log(organizationListResponse.org_id);}
Return the organizations that the current user is a member
GET
/
organizations
TypeScript
Copy
import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: 'My API Key',});// Automatically fetches more pages as needed.for await (const organizationListResponse of client.organizations.list()) { console.log(organizationListResponse.org_id);}