---
title: "Switch the signed-in session's active organization"
method: POST
path: "/v1/me/active-organization"
tags: ["discovery"]
---

# Switch the signed-in session's active organization

`POST /v1/me/active-organization`

## Request

- Base URL: `https://postbag.dev`
- URL: `https://postbag.dev/v1/me/active-organization`
- Auth: HTTP bearer

Session only — an API key already resolves to exactly one organization and cannot switch. The caller must already be a member of the target organization (403 forbidden otherwise). Every subsequent /v1 call on this session scopes to the new organization.

## Request body

- object
  - `organization_id` string, required

## Response `200`

ok

- ActiveOrganization
  - `organization` object, required
    - `id` string, required
    - `slug` string, required
    - `name` string, required

## Other responses

- `400`: Error
- `401`: Error
- `403`: Error
- `404`: Not found
- `409`: Error
- `422`: Error

---

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