---
title: "Create a Database"
method: POST
path: "/databases"
tags: ["Databases"]
---

# Create a Database

`POST /databases`

Create a new database in the specified workspace.

## Request body

- object
  - `workspaceId` string, required
  - `name` string, required
  - `description` string

## Response `200`

The newly created database.

- object
  - `data` Database
    - `id` string
    - `name` string
    - `description` string, nullable
    - `workspaceId` string
    - `tablesCount` integer — Number of tables in this database.
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `429` — Rate limit exceeded.

---

[API](https://skmtc.net/softr/apis/softr-database-api.md) · [All operations](https://skmtc.net/softr/apis/softr-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/softr/softr-database-api/versions/c79eeba23ce3/schema)
