---
title: "Set Active Context"
method: POST
path: "/api/studio/active-context"
tags: ["studio-teams"]
---

# Set Active Context

`POST /api/studio/active-context`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/studio/active-context`
- Auth: HTTP bearer

Switch the signed-in user's active studio context (personal ⇄ a team
they belong to). The server is the source of truth; reads (/me, billing)
resolve from it. Switching to a team requires current membership.

## Request body

- ActiveContextRequest
  - `owner_type` 'user' | 'team', required
  - `owner_id` string, uuid, nullable

## Response `200`

Successful Response

- ActiveContextResponse
  - `owner_type` 'user' | 'team', required
  - `owner_id` string, uuid, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
