Check what an Inbound API key can do in a table
Inspect the acting user’s table permissions and readable fields before a record operation.
Use a read-only request when an integration can see a table but a record operation fails. Test with the integration’s own API key in the same workspace and environment so the result reflects its acting user.
Read the table’s permissions
Find the table ID with GET /entities. Replace 123 with that ID. Use the base URL shown under API Access and load the key from your secret manager.
curl --silent --show-error --fail-with-body --include \
"${NIXA_API_BASE_URL}/entities/123" \
-H "X-API-Key: ${NIXA_API_KEY}"
With HTTP 200, open data.permissions. Check the flag for the integration’s operation.
| Operation | Flag |
|---|---|
| Read records | canRead |
| Create records | canCreate |
| Update records | canUpdate |
| Delete records | canDelete |
| Export records | canExport |
For a schema change such as adding a field, check data.tableCapabilities.canManageSchema. Record editing and schema editing have separate permissions.
Check a specific record and field
- Find the field by its
dataKeyindata.fields. That array contains the schema visible to the acting user. - Read the intended record with
GET /entities/{entityId}/records/{recordId}using the same key. A table-level flag can be true while the specific record or field is restricted. - If the field is absent or an operation is denied, check the acting user’s table, record, and field permissions. Reading a field in the schema confirms visibility. Check its write access separately for updates.
If the table schema request returns HTTP 403, check the acting user’s read permission for that table. With HTTP 404, verify that the table ID exists in the key’s workspace. With HTTP 401, check the key and its environment first.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?