---
title: "Create default organization"
method: POST
path: "/api/v1/organizations/default"
tags: ["Organizations"]
---

# Create default organization

`POST /api/v1/organizations/default`

## Request

- Base URL: `https://app.easyscraper.com`
- URL: `https://app.easyscraper.com/api/v1/organizations/default`
- Auth: API key in cookie `better-auth.session_token`

Create a "Personal" organization for the user if they have none (e.g. on their first visit, or after being removed from their only one) and return it. Returns their first organization if they have one

## Response `200`

OK

- object
  - `id` string, uuid, required
  - `name` string, required
  - `slug` string, required
  - `logo` string, nullable, required
  - `metadata` string, nullable, required
  - `requireTwoFactor` boolean, required
  - `allowedEmailDomains` string[], required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: 400
- `401`: 401
- `429`: 429

## Changes

- **2026-11-02** `a12cef98c52b`: 1 info
  - added the non-success response with the status `400`
- **2026-10-31** `3e642e95991a`: 3 info
  - added the non-success response with the status `429`
  - added the required property `allowedEmailDomains` to the response with the `200` status
  - added the required property `requireTwoFactor` to the response with the `200` status
- **2026-10-09** `db32553c29a6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/easyscraper/apis/easy-scraper-api/changes/api/v1/organizations/default/post.md)

---

[API](https://skmtc.dev/easyscraper/apis/easy-scraper-api.md) - [All operations](https://skmtc.dev/easyscraper/apis/easy-scraper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/easyscraper/apis/easy-scraper-api/revisions/a12cef98c52b?raw)
