---
title: "List user organizations"
method: GET
path: "/v1/me/organizations"
tags: ["Organizations"]
---

# List user organizations

`GET /v1/me/organizations`

## Request

- Base URL: `https://api.astrocal.dev`
- URL: `https://api.astrocal.dev/v1/me/organizations`
- Auth: HTTP bearer

Returns all organizations the authenticated user belongs to, along with their role in each. Requires service key auth and X-User-Id header.

## Headers

- `x-user-id` string, required

## Response `200`

List of organizations the user belongs to

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `name` string, required
    - `slug` string, required
    - `role` 'owner' | 'admin' | 'member' | 'viewer', required
    - `default_calendar_connection_id` string, uuid, nullable, required
    - `onboarding_completed_at` string, nullable, required
    - `created_at` string, required

## Other responses

- `400`: Missing X-User-Id header
- `401`: Unauthorized — invalid or missing service key

---

[API](https://skmtc.dev/astrocal/apis/astrocal-api.md) · [All operations](https://skmtc.dev/astrocal/apis/astrocal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/astrocal/apis/astrocal-api/revisions/3b953e19a348?raw)
