Skip to main content
POST
Create Entity Ingestion Config

Authentication and permissions

Token requirements: User-based token (OAuth) or Organization-scoped API key or Workspace-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Workspace keys must allow every workspace checked by the request. OAuth access depends on the user’s roles and resource access.
  • Without initial field mappings: No initial field mappings are supplied. The internal entity type must belong to the requested workspace. The app instance must belong to the requested workspace or be shared with it by another workspace. The workflow must belong to the requested workspace, or be shared with it by the workspace that owns the app instance; for a shared workflow the caller must also have access to it. Metadata-only ingestion requires a connection owned by the workflow’s workspace.
  • With initial field mappings: Initial field mappings are supplied. The internal entity type must belong to the requested workspace. The app instance must belong to the requested workspace or be shared with it by another workspace. The workflow must belong to the requested workspace, or be shared with it by the workspace that owns the app instance; for a shared workflow the caller must also have access to it. Metadata-only ingestion requires a connection owned by the workflow’s workspace.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
teamId
string

The ID of the workspace.

appInstanceId
string

The ID of the app instance (e.g., a ServiceNow connection).

workflowId
string

The ID of the workflow that performs the entity sync.

enabled
boolean | null

Whether the ingestion config is enabled. Defaults to true.

syncDeletions
boolean | null

Whether to sync deletions. Defaults to false.

internalEntityTypeId
string

The entity type ID that this ingestion populates.

initialFieldMappings
InitialFieldMapping · object[]

Optional initial field mappings to create alongside the ingestion config. When provided, field mappings are created automatically so data flows from external fields into entity type fields without requiring separate inference or manual configuration.

syncIntervalSeconds

Minimum interval between scheduled syncs, in seconds. Unset means "auto" (platform default cadence).

allowCreateNewEntities
boolean | null

Whether publishing may create a new entity for a source row whose key matches no existing entity. False makes the source update-only: rows that match nothing stay unpublished. Defaults to true.

scopedId
string | null

Copy-invariant identity to create the ingestion config under ("ing_" + 22 alphanumerics). Leave unset and the server mints one. Configuration pushes between workspaces set it to preserve identity across workspaces; other callers must leave it unset.

recordFilter
IngestionRecordFilter · object | null

The records of an ingestion workflow that an entity type takes.

Response

200 - application/json

Success

data
data · object

The created ingestion config.