Quickbase Tips

Set up Postman to test the Quickbase RESTful API

API & integrationsDecember 1, 2026
Short answerCreate a Postman environment with your realm hostname, a user token and your app and table IDs. Add the QB-Realm-Hostname, Authorization (QB-USER-TOKEN …) and User-Agent headers once at the collection level, then build five starter requests: get app, list tables, list fields, query records and upsert records. Test against a copy of the app, not production.

Why bother

Testing API calls in Postman before writing code shows you exactly what Quickbase expects and returns: field IDs, query syntax, pagination metadata and error messages. That beats debugging all of it inside a script or a pipeline.

1. Create a user token for testing

In Quickbase, go to your profile → My Preferences → Manage User Tokens → New User Token. Assign it only to the app you’re testing, ideally a copy or sandbox of the app rather than production. Treat it like a password.

2. Create a Postman environment

Create an environment called Quickbase – Test with these variables:

Variable Example Notes
baseUrl https://api.quickbase.com/v1 Same for every realm
realm yourcompany.quickbase.com Your full realm hostname
userToken b8x9q… Set the type to secret, and don’t put it in a shared or synced value
appId bq7xxxxxx From the app’s URL
tableId bq7yyyyyy From the table’s URL

Keeping the token in an environment (or Postman’s Vault) means it’s never pasted into individual requests or exported with the collection.

3. Set headers once for the whole collection

Create a collection called Quickbase API. In the collection’s pre-request script, add the required headers to every request:

pm.request.headers.upsert({ key: 'QB-Realm-Hostname', value: pm.environment.get('realm') });
pm.request.headers.upsert({ key: 'Authorization', value: 'QB-USER-TOKEN ' + pm.environment.get('userToken') });
pm.request.headers.upsert({ key: 'User-Agent', value: 'Postman-Testing' });
pm.request.headers.upsert({ key: 'Content-Type', value: 'application/json' });

The User-Agent identifies where calls come from, which helps when you’re reading audit logs or talking to Quickbase support. If the app requires application tokens, you don’t need one here: a user token skips the app-token check.

4. Build five starter requests

Get app. A quick check that authentication works: GET {{baseUrl}}/apps/{{appId}}

List tables: GET {{baseUrl}}/tables?appId={{appId}}

List fields. This is how you find field IDs: GET {{baseUrl}}/fields?tableId={{tableId}}

Query records: POST {{baseUrl}}/records/query

{
  "from": "{{tableId}}",
  "select": [3, 6, 7],
  "where": "{6.EX.'Open'}",
  "sortBy": [{ "fieldId": 3, "order": "ASC" }],
  "options": { "skip": 0 }
}

Upsert records. Insert or update by a unique field: POST {{baseUrl}}/records

{
  "to": "{{tableId}}",
  "mergeFieldId": 12,
  "data": [{ "12": { "value": "EXT-1001" }, "6": { "value": "Open" } }],
  "fieldsToReturn": [3, 12]
}

5. Add a test script for useful debugging

In the collection’s tests (post-response) script, log what you need when something fails:

pm.test('Status is 2xx', () => pm.expect(pm.response.code).to.be.within(200, 299));
if (pm.response.code >= 400) {
  console.log('qb-api-ray:', pm.response.headers.get('qb-api-ray'));
  console.log('Body:', pm.response.text());
}
const body = pm.response.json ? (() => { try { return pm.response.json(); } catch (e) { return null; } })() : null;
if (body && body.metadata) console.log('Records:', body.metadata.numRecords, 'of', body.metadata.totalRecords);

The qb-api-ray header identifies the request if you need to open a case with Quickbase support, and the metadata line catches pagination surprises immediately.

Gotchas

  • Realm hostname is the full host (yourcompany.quickbase.com), not just yourcompany.
  • Field IDs, not names, in select, where and data. Use the List fields request to look them up.
  • mergeFieldId must be a number and must point at a unique field (see preventing duplicates).
  • Mind the rate limit when using the Collection Runner. Most RESTful endpoints allow about 100 requests per 10 seconds per user token, so add a delay between iterations.
  • Never test writes against production data. Use a copy of the app, and delete the test token when you’re done.

Next step

Once a call works in Postman, Postman’s Code view can generate a starting snippet in JavaScript, PHP, Python and more, which you can then harden with retries, pagination and logging (see handling rate limits).

Seeing more than one of these problems? Find where your Quickbase is on the journey, and what usually fixes it.

Bigger than a quick fix?

Integrations

Connect Quickbase to QuickBooks, Microsoft 365, Google Workspace, payment processors and any system with an API.

Single integration package · From $4,950

Have a Quickbase problem that needs solving?

Tell us what is slowing you down. A 30-minute call is free, and you will leave with a clear next step whether or not we work together.

Book a free call

Loading available times…