---
title: "Create a new organization"
method: POST
path: "/organizations"
tags: ["Organizations"]
---

# Create a new organization

`POST /organizations`

## Request

- Base URL: `https://api.xfa.tech`
- URL: `https://api.xfa.tech/organizations`
- Auth: HTTP bearer

## Request body

- OrganizationsCreateRequestBody
  - `name` string, required: Name of Organization
  - `referral_code` string: Referral code this signup came through, resolved to the referrer's email

## Response `200`

Returns the organization

- OrganizationsCreateResponse
  - `organization_id` string: ID of Organization

---

[API](https://skmtc.dev/xfa/apis/xfa-api.md) · [All operations](https://skmtc.dev/xfa/apis/xfa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfa/apis/xfa-api/revisions/1a1be0e8972b?raw)
