Skip to main content
POST
/
databases
Create a Database
curl --request POST \
  --url https://tables-api.softr.io/api/v1/databases \
  --header 'Content-Type: application/json' \
  --header 'Softr-Api-Key: <api-key>' \
  --data '{
  "workspaceId": "<string>",
  "name": "<string>",
  "description": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "workspaceId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Softr-Api-Key
string
header
required

Body

application/json
workspaceId
string
required
name
string
required
description
string

Response

The newly created database.

data
object