# List organizations div strong 🔨 In Development — This section is still being developed and may change. Retrieve a list of organizations that the current user has access to. Only shows organizations the authenticated user is a member of. ## Returns An array of [OrganizationResponse](#organizationresponse) objects. ```bash curl https://api.freddy.aitronos.com/v1/organizations \ -H "Authorization: Bearer $FREDDY_API_KEY" ``` ```python import requests response = requests.get( "https://api.freddy.aitronos.com/v1/organizations", headers={"Authorization": f"Bearer {api_key}"} ) organizations = response.json() print(f"Found {len(organizations)} organizations") for org in organizations: print(f"- {org['name']} ({org['role']})") ``` ```javascript const response = await fetch('https://api.freddy.aitronos.com/v1/organizations', { headers: { 'Authorization': `Bearer ${apiKey}` } }); const organizations = await response.json(); console.log(`Found ${organizations.length} organizations`); organizations.forEach(org => { console.log(`- ${org.name} (${org.role})`); }); ``` ## Response ```json [ { "id": "ORG_797C4DDB256A300C", "name": "Aitronos Corp", "email": "admin@aitronos.com", "is_active": true, "role": "owner", "joined_at": "2025-01-15T10:30:00Z" }, { "id": "ORG_B66136CBB1304C98", "name": "Personal Projects", "email": "user@example.com", "is_active": true, "role": "member", "joined_at": "2025-01-16T14:20:00Z" } ] ```