Skip to main content
POST
/
account
/
api
/
v1
/
organizations
Create organization
curl --request POST \
  --url https://www.closient.com/account/api/v1/organizations \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "country": "<string>",
  "public_id": "<string>",
  "is_brand": false
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "public_id": "<string>",
  "country": "<string>",
  "is_brand": true
}

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string
required

Organization name.

country
string
required

ISO 3166-1 alpha-2 country code.

public_id
string | null

URL-safe identifier (auto-generated if omitted).

is_brand
boolean
default:false

Whether this organization is a brand owner.

Response

OK

id
string<uuid>
required

Organization identifier.

name
string
required

Organization name.

public_id
string
required

URL-safe identifier.

country
string
required

ISO 3166-1 alpha-2 country code.

is_brand
boolean
required

Whether this organization is a brand owner.