---
title: "POST /orgs"
method: POST
path: "/orgs"
tags: ["orgs"]
---

# POST /orgs

`POST /orgs`

## Request

- Base URL: `https://api.axiom.co/v2`
- URL: `https://api.axiom.co/v2/orgs`
- Auth: OAuth 2
  - Authorization code: `https://accounts.google.com/o/oauth2/v2/auth`
  - Token URL: `https://www.googleapis.com/oauth2/v4/token`
- TypeScript: <https://skmtc.dev/axiom/apis/axiom-public-api/docs/orgs/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates an organization on the Personal plan with the authenticated user as its owner. Requires a personal access token (PAT).

## Request body

- PostOrg
  - `edgeDeployment` string: The default edge deployment of the organization.
  - `name` string, required

## Response `200`

Created organization.

- Org
  - `defaultEdgeDeployment` string
  - `firstFailedPayment` string
  - `id` string, required
  - `lastUsageSync` string, required
  - `license` License, required
    - `apiRateLimitPerSecond` integer, required
    - `billingPeriodEnd` string, date-time, required
    - `billingPeriodStart` string, date-time, required
    - `defaultEdgeDeployment` string, required
    - `edgeDeployments` string[], required
    - `expiresAt` string, date-time, nullable
    - `features` object, required
    - `id` string, required
    - `issuedAt` string, date-time, required
    - `issuedTo` string, required
    - `issuer` string, required
    - `maxAuditWindowSeconds` integer, required
    - `maxDatasets` integer, required
    - `maxEndpoints` integer, required
    - `maxFields` integer, required
    - `maxMonitors` integer, required
    - `maxQueryWindowSeconds` integer, required
    - `maxUsers` integer, required
    - `monthlyIngestGb` integer, required
    - `monthlyQueryGbHours` integer, required
    - `storageAllowanceGB` integer
    - `tier` 'personal' | 'teamMonthlyAws' | 'axiomCloud' | 'teamPlus' | 'enterprise' | 'comped' | 'accelerator', required
    - `validFrom` string, date-time, required
    - `withAuths` string[], required
  - `metaCreated` string
  - `metaModified` string
  - `metaVersion` string
  - `name` string, required
  - `paymentStatus` 'na' | 'failed' | 'success' | 'blocked', required
  - `plan` 'personal' | 'teamMonthlyAws' | 'axiomCloud' | 'teamPlus' | 'enterprise' | 'comped' | 'accelerator', required
  - `planCreated` string, required
  - `primaryEmail` string, required
  - `role` string

## Other responses

- `400`: Invalid name or edge deployment, or the user has reached the maximum number of organizations.

## Changes

- **2026-10-16** (v2) `fbc1b8430feb`: 1 info
  - added the non-success response with the status `400`

[Operation history](https://skmtc.dev/axiom/apis/axiom-public-api/changes/orgs/post.md)

---

[API](https://skmtc.dev/axiom/apis/axiom-public-api.md) - [All operations](https://skmtc.dev/axiom/apis/axiom-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/axiom-public-api/revisions/7e39a295e3ba?raw)
