---
title: "Get Orgs With Projects"
method: GET
path: "/api/app-auto-gtm/orgs-with-projects"
tags: ["AppAutoGtm"]
---

# Get Orgs With Projects

`GET /api/app-auto-gtm/orgs-with-projects`

List this user's *other* orgs (not the active one) that hold a real
AutoGTM project — the app shell offers a multi-org user a one-click switch
out of an empty org into one with their work (T-341). "Real project"
mirrors the ``/user`` definition: an active project with at least one
segment, archived included (segmentless shells don't count; a project
whose campaigns are all archived is still the user's work — T-1708). Ordered
newest-project first so the most recent workspace is at the top. Empty list
when no other org qualifies (the current org's empty-state then stands).

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Response `200`

Successful Response

- OrgsWithProjectsResponse — The current user's *other* orgs (not the active one) that hold a real AutoGTM project, so the app shell can offer a multi-org user a one-click switch out of an empty org into the one with their work (T-341). Ordered newest-project first. Empty list when no other org qualifies — the current org's empty-state then stands.
  - `orgs` OrgWithProjects[]
    - `id` string, required
    - `name` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
