---
title: "Create an organization (pay for it via checkout next)"
method: POST
path: "/accounts"
tags: ["Accounts"]
---

# Create an organization (pay for it via checkout next)

`POST /accounts`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/accounts`
- Auth: `bearer` (a scheme the document does not define)

## Request body

- CreateOrganizationDto
  - `name` string, required: Display name for the new organization

## Response `201`

- APIAccount
  - `id` string, required
  - `name` string, required
  - `role` 'owner' | 'admin' | 'member', required: The caller's role in this account
  - `kind` 'personal' | 'organization', required: Whether this is the personal account or an organization
  - `canManageMembers` boolean, required: Whether the account's plan allows managing members (Team plan)
  - `entitled` boolean, required: Whether the account is active (paid/entitled) vs awaiting payment or lapsed

---

[API](https://skmtc.dev/nippy/apis/nippy-backend-api.md) · [All operations](https://skmtc.dev/nippy/apis/nippy-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nippy/apis/nippy-backend-api/revisions/7ab23f040a55?raw)
