---
title: "Get or create the project's default database."
method: POST
path: "/v1/databases/provision"
tags: ["Database"]
---

# Get or create the project's default database.

`POST /v1/databases/provision`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/databases/provision`
- Auth: HTTP bearer

Idempotent: returns the project's default database connection info,
creating the database (on the default PostgreSQL version) if none exists.

## Response `200`

Connection info for the project's default database

## Other responses

- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
