Skip to content
The API may change between versions while TTX-Zone is 0.x.

Found an organization

POST
/api/v1/organizations/mine
curl --request POST \
--url https://example.com/api/v1/organizations/mine \
--header 'Content-Type: application/json' \
--header 'X-CSRF-Token: <X-CSRF-Token>' \
--cookie ttx_access_token=<ttx_access_token> \
--data '{ "name": "example" }'

Found an organization with the signed-in account (no step-up; audited).

Media typeapplication/json
OrganizationFoundRequest

A signed-in account founding an organization of its own.

object
name
required
Name
string
>= 1 characters <= 255 characters

Example generated

{
"name": "example"
}

Successful Response

Media typeapplication/json
OrganizationRead

Not built via automatic from_attributes conversion (despite the model_config below, kept for the id/name/tax_id/subscription_tier/ created_at fields that do map 1:1 onto the Organization model) – logo_url has no matching attribute on Organization (only logo_path does, see organization_logo_service.logo_url), so every call site constructs this explicitly, field by field.

object
alias
required
Any of:
string
created_at
required
Created At
string format: date-time
description
required
Any of:
string
domain
required
Any of:
string
id
required
Id
string format: uuid
logo_url
required
Any of:
string
name
required
Name
string
subscription_tier
required
Subscription Tier
string
tax_id
required
Any of:
string

Example generated

{
"alias": "example",
"created_at": "2026-04-15T12:00:00Z",
"description": "example",
"domain": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"logo_url": "example",
"name": "example",
"subscription_tier": "example",
"tax_id": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}