Skip to main content

airtable.createrecordsprops

Home > @runlightyear/airtable > CreateRecordsProps

CreateRecordsProps interface

Signature:
interface CreateRecordsProps 

Required Properties

PropertyModifiersTypeDescription
baseIdstring
tableIdOrNamestring

Optional Properties

PropertyModifiersTypeDescription
fields?{ [key: string]: unknown; }Create a single record
records?Array<{ fields: { [key: string]: unknown; }; }>

Create multiple records

Pass in multiple records to create multiple in one request

returnFieldsByFieldId?boolean

An optional boolean value that lets you return field objects keyed by the field id.

This defaults to false, which returns field objects where the key is the field name.

typecast?booleanThe Airtable API will perform best-effort automatic data conversion from string values if the typecast parameter is passed in. Automatic conversion is disabled by default to ensure data integrity, but it may be helpful for integrating with 3rd party data sources.