---
title: create-an-organization
product: vercel
url: /docs/rest-api/sdk/organizations/create-an-organization
canonical_url: "https://vercel.com/docs/rest-api/sdk/organizations/create-an-organization"
last_updated: 2026-10-19
type: reference
prerequisites:
  []
related:
  - /docs/rest-api
summary: Learn about create-an-organization on Vercel.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# Create an Organization

```http
POST /v1/organizations
```

Create a new Organization. This endpoint is in private beta. Contact your Vercel account team for access.

## Authentication

**bearerToken**: HTTP bearer

## Query parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `teamId` | string | No | The Team identifier to perform the request on behalf of. |
| `slug` | string | No | The Team slug to perform the request on behalf of. |


## Request body

Required: No

Content-Type: `application/json`

```json
{
  "type": "object",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "description": "The desired slug for the organization.",
      "pattern": "^(?!-)(?:[a-z0-9-]{1,48})(?<!-)$",
      "maxLength": 48
    },
    "name": {
      "type": "string",
      "description": "The desired name for the organization. Generated from the slug if not provided.",
      "maxLength": 256
    }
  }
}
```

## Example request

```typescript
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await vercel.organizations.createOrganization({
    teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
    slug: "my-team-url-slug",
  });

  console.log(result);
}

run();
```

## Example response

```json
{
  "avatar": "string",
  "createdAt": "string",
  "name": "Example Name",
  "organizationId": "example_id",
  "ownerId": "example_id",
  "slug": "string",
  "teamCount": "123",
  "teamId": "example_id",
  "updatedAt": "string",
  "userRole": "string"
}
```

## Responses

### 202: No description

Content-Type: `application/json`

```json
{
  "type": "object",
  "required": [
    "avatar",
    "createdAt",
    "organizationId",
    "ownerId",
    "slug",
    "teamCount",
    "teamId",
    "updatedAt"
  ],
  "properties": {
    "avatar": {
      "type": "string",
      "nullable": true
    },
    "createdAt": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "description": "The organization's display name. Optional: organizations created before the name attribute existed have no stored value. New orgs always get one (provided or slug-derived) via the service layer."
    },
    "organizationId": {
      "type": "string"
    },
    "ownerId": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "teamCount": {
      "type": "number"
    },
    "teamId": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    },
    "userRole": {
      "type": "string",
      "description": "The authenticated user's role in the organization. Present on read endpoints when the user holds an organization role."
    }
  }
}
```

### 400: One of the provided values in the request body is invalid.
One of the provided values in the request query is invalid.
The slug is already in use

### 401: The request is not authorized.

### 403: You do not have permission to access this resource.

### 404: No description

### 409: No description

### 410: No description

### 500: No description

---

## Related

- [organizations endpoints](/docs/rest-api#organizations)

- [REST API overview](/docs/rest-api)

- [OpenAPI spec](https://vercel.com/openapi.json) (machine-readable, all endpoints)

---

[View full sitemap](/docs/sitemap)
