CommunityHire an ExpertSign Up
MCP & APIOverview
Softr API

Softr API overview

Start with the Softr API: base URL, the resources you can reach, your first request, the response format, pagination, and field names versus field IDs.

The Softr API is a REST API for your Softr Databases and your app users. It sends and receives JSON over HTTPS. Use it when your own code, such as a backend or a nightly sync, must read or write your data.

To import the API into a tool such as Postman, or to generate a client, download the OpenAPI specification. To compare the API with the Softr MCP server and the Softr CLI, see which one to use.

What the API covers

The API is split in three parts. Each one has its own base URL.

PartBase URLWhat it reaches
Database APIhttps://tables-api.softr.io/api/v1Databases, tables, table views (read only), fields and records
App users APIhttps://studio-api.softr.io/v1/apiThe end users of one published app. Needs a Softr-Domain header
Audit logs APIhttps://studio-api.softr.io/v1/apiThe activity of a workspace. Enterprise plan, workspace owners

This page covers the Database API. For the other two, see App users endpoints and Audit logs. The Applications API and the Workflows API are not available yet.

Authenticate

Send a Personal Access Token in the Softr-Api-Key header of every request. A token reaches only the workspaces it is scoped to. Authentication explains how to create one.

Data model

Every resource has an ID. You need the IDs of the parent resources to build a URL.

ResourceWhat it isPath
DatabaseA container that belongs to a workspace. It holds one or more tables/databases/{databaseId}
TableA collection of records. It has fields and views/databases/{databaseId}/tables/{tableId}
FieldA column definition with a type such as SINGLE_LINE_TEXT, NUMBER or SELECT. Computed and system fields are read only.../tables/{tableId}/fields/{fieldId}
RecordA row. It holds its values in a fields object.../tables/{tableId}/records/{recordId}

A table also returns its primaryFieldId and its defaultViewId. A record returns id, tableId, fields, createdAt and updatedAt.

Each resource has endpoints to list, get, create, update and delete it. Records also have a search endpoint. See the Databases, Tables, Fields and Records references.

Send your first request

List your databases

Copy a database id from the response.

Terminal
curl -X GET 'https://tables-api.softr.io/api/v1/databases' \
  -H 'Softr-Api-Key: <your-token>'

List the tables

List the tables of that database to get a table id. The response also lists the table’s fields with their IDs.

Terminal
curl -X GET 'https://tables-api.softr.io/api/v1/databases/{databaseId}/tables' \
  -H 'Softr-Api-Key: <your-token>'

Read records

Read 10 records of the table, with field names as keys.

Terminal
curl -X GET 'https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/records?limit=10&fieldNames=true' \
  -H 'Softr-Api-Key: <your-token>'

Create a record

Create a record. The keys of fields are field IDs.

Terminal
curl -X POST 'https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/records' \
  -H 'Softr-Api-Key: <your-token>' \
  -H 'Content-Type: application/json' \
  -d '{
    "fields": {
      "<name field ID>": "Maria Stone",
      "<email field ID>": "maria@acme.example"
    }
  }'

Response format

A single item comes back in data, and metadata is null:

JSON
{
  "data": {
    "id": "<record ID>",
    "tableId": "<table ID>",
    "fields": { "<field ID>": "Maria Stone" },
    "createdAt": "2026-11-01T09:30:00Z",
    "updatedAt": "2026-11-01T09:30:00Z"
  },
  "metadata": null
}

A paginated list of records comes back with its paging details in metadata:

JSON
{
  "data": [ ... ],
  "metadata": {
    "offset": 0,
    "limit": 20,
    "total": 100
  }
}

The database and table lists take no paging parameters. For the error format and the error codes, see Errors and rate limits.

Pagination

Record lists use offset pagination. This applies to GET .../records through query parameters, and to POST .../records/search through a paging object in the body.

ParameterDefaultMaxWhat it does
offset0NoneNumber of records to skip
limit20200Number of records per page

The response metadata includes the total count. To read every record, move the offset forward by the limit each time:

GET .../records?offset=0&limit=100     returns records 1 to 100
GET .../records?offset=100&limit=100   returns records 101 to 200
GET .../records?offset=200&limit=100   returns records 201 to 300

Stop when offset + limit reaches metadata.total. A limit above 200 is lowered to 200.

The audit logs endpoint pages differently, with a cursor. See its page.

Field names and field IDs

Record responses use field IDs as keys by default. Add fieldNames=true to a record endpoint to get field names instead:

GET .../records
{ "fields": { "<field ID>": "Maria Stone" } }

GET .../records?fieldNames=true
{ "fields": { "Full Name": "Maria Stone" } }

fieldNames changes the response only. The fields of a create or update request, and the field references of a search (leftSide, sortingField), always take field IDs. A field name there fails with Unknown field.

Next steps

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.