Read selected fields of a record with the Inbound API
Request the fields an integration needs on a known record and check why a requested value is missing.
Use a selected-field read when an integration needs a few values from a record it already knows. For example, a status display may only need the title and status from a workspace table. Start with an Inbound API key whose acting user can read the record and fields.
Choose fields by their keys
- Open the schema with
GET /entities/{entityId}and note thedataKeyof each field you need. The label shown in the table may differ from the field key. - Find the record ID using a filtered API read. Replace
123and456with the table and record IDs in your workspace. ReplaceFIELD_DATA_KEYwith the key of a readable field. Use the base URL from API Access and load the key from your secret manager. - Pass the keys in a comma-separated
selectquery parameter. For this example, use a regular workspace table.
curl --silent --show-error --fail-with-body --get \
"${NIXA_API_BASE_URL}/entities/123/records/456" \
-H "X-API-Key: ${NIXA_API_KEY}" \
--data-urlencode 'select=title,FIELD_DATA_KEY'
Verify the values your integration receives
Check the record ID and requested values under data. The record can include additional system fields such as its ID and timestamps. Have the integration read the keys it needs explicitly.
If a requested key is absent, compare it with the current schema and check the acting user’s field access. If a value is present and set to null, handle it as an empty value separately from an absent key. An unavailable value means the API could not return that value in the response. If the response includes meta.result.warnings, read it before interpreting the values.
If the whole record is unavailable, check the table ID, record ID, and workspace. Confirm that the acting user can read the record before changing the selection.
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?