NocoDB logo

REST API integration

NocoDB REST API integration for Draftbit

Use NocoDB tables as REST data sources

What is NocoDB?

NocoDB exposes spreadsheet-style tables through REST APIs. Add your NocoDB host and optional token, then use table IDs to list, create, update, and delete records.

Use NocoDB with Draftbit

  • Built-in endpoints: List records, Get records, Create records, Update records, Delete records.
  • Bind any NocoDB endpoint to a screen, list, form, or AI agent action.
  • Authentication is configured once per app — secrets stay on the server.
  • Add custom request and response transforms without forking NocoDB's client library.

Example

nocodb-example.ts
// Example: fetch from NocoDB
const response = await fetch("https://{nocodb_host}/api/v2/tables/{table_id}/records", {
  headers: {
    "xc-token": "YOUR_NOCODB_TOKEN",
  },
});
const data = await response.json();

Use cases

  • Power a mobile app with a hosted database and APIs
  • Add search, filtering, and pagination to a list-driven feature
  • Read and write app data without managing your own server

Authentication

Authentication uses the `xc-token` header. Paste your key once in Draftbit and every request to NocoDB carries it automatically — secrets stay on the server side.

Use NocoDB in a Draftbit app today

Start free, connect NocoDB in minutes, and ship with AI agents that know how to use it.

Start building free

Frequently asked questions

What is the NocoDB REST integration?

NocoDB exposes spreadsheet-style tables through REST APIs. Add your NocoDB host and optional token, then use table IDs to list, create, update, and delete records.

How do I connect NocoDB to a Draftbit app?

Go to Integrations and then REST APIs in your Draftbit app and pick NocoDB from the catalog. Paste your API key or token and fill in any base URL variables, such as a project ID or host. The endpoints are then available across your screens and to the AI agents while you build.

Does NocoDB require authentication?

Most NocoDB endpoints expect a key or token sent as a header. The preconfigured endpoints include List records, Get records, Create records, Update records.

What can I build with NocoDB and Draftbit?

Most teams use NocoDB as a backend platform for a mobile or web app. You might use NocoDB to power a mobile app with a hosted database and APIs, or to add search, filtering, and pagination to a list-driven feature.

Related Integrations

Get started free Browse all Integrations