---
title: "Setup Organization"
method: POST
path: "/auth/me/setup-org"
tags: ["authentication"]
---

# Setup Organization

`POST /auth/me/setup-org`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/auth/me/setup-org`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Create an organization for users who don't have one (legacy accounts).

Accepts optional JSON body with `org_name`. Defaults to "{first_name}'s Workspace".
Grants trial credits just like a fresh signup.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
