---
title: "Get organization by owner"
method: GET
path: "/v1/organizations"
tags: ["Organizations"]
---

# Get organization by owner

`GET /v1/organizations`

## Request

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

Retrieves an organization by its owner's Supabase Auth user ID. Service key authentication required. Used by the dashboard to resolve the current user's org.

## Query parameters

- `owner_user_id` string, required

## Response `200`

Organization found

- object
  - `id` string, uuid, required
  - `name` string, required
  - `slug` string, required
  - `owner_user_id` string, nullable, required
  - `default_calendar_connection_id` string, uuid, nullable, required
  - `onboarding_completed_at` string, nullable, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `401`: Unauthorized — invalid or missing service key
- `404`: No organization found for this user

---

[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)
