Smart Connectors
Start the smart connector flow. For bulk action connectors, pass entity_records_set_key from a bulk action summary to run on selected records.
Which field to use when ordering the results. Prepend with '-' for descending order.
UUID of the uploaded input file (S3 object) to run the connector against. Upload a CSV or XLSX file via the presigned upload flow with source=smart_connector_import and pass the returned s3object_id here. If omitted, the connector's reference input file is used.
UUID of a previous execution to reprocess. When provided, the connector reruns using that execution's input file and metadata, and source_file_id is ignored.
When true, validates the input file without committing changes (dry run). When false, performs a live run that writes records.
falseWhen true, skips the connector's diff-check validation.
falsefileupload- File Uploadwebhook- Webhookactivity- Activityschedule- Schedulebulkaction- Bulk Action
Parameters passed to the connector's SQL script, merged over the connector's configured defaults.
Cache key from bulk action summary containing selected record IDs. Only for bulk action connectors.
When true, validates the input file without committing changes (dry run). When false, performs a live run that writes records.
falseWhen true, skips the connector's diff-check validation.
falsefileupload- File Uploadwebhook- Webhookactivity- Activityschedule- Schedulebulkaction- Bulk Action
Parameters passed to the connector's SQL script, merged over the connector's configured defaults.
Cache key from bulk action summary containing selected record IDs. Only for bulk action connectors.
ID of the created execution. Use it to monitor progress via the Execution Status API or to cancel the run via the Cancel Execution API.
POST /api/smart-connectors/{connector_identifier}/start-connector-flow HTTP/1.1
X-API-KEY: YOUR_API_KEY
X-BUSINESS-ID: YOUR_BUSINESS_ID
X-USER-ID: YOUR_USER_ID
Content-Type: application/json
Accept: */*
Content-Length: 249
{
"source_file_id": "123e4567-e89b-12d3-a456-426614174000",
"reprocess_execution_id": "123e4567-e89b-12d3-a456-426614174000",
"is_dry_run": false,
"disable_diff_check": false,
"trigger_type": "fileupload",
"sql_parameters": null,
"entity_records_set_key": "text"
}{
"is_dry_run": false,
"disable_diff_check": false,
"trigger_type": "fileupload",
"sql_parameters": null,
"entity_records_set_key": "text",
"execution_id": "123e4567-e89b-12d3-a456-426614174000"
}Send inbound webhook data to a Webhook SmartConnector's endpoint. The request body and query string are accepted as-is and queued for asynchronous processing; the connector run is created in the background. The response is returned immediately with an empty body and does not include an execution ID. Only connectors of type webhook accept requests at this endpoint, and the request body is limited to 250 KB and must be UTF-8 encoded.
Example query parameter. Any query parameter is accepted.
Webhook accepted and queued for asynchronous processing. The response body is empty.
No content
The request was rejected. Returned when the SmartConnector is not of type webhook, the request body exceeds the 250 KB limit, or the request body is not UTF-8 encoded.
POST /api/smart-connectors/{connector_identifier}/webhook HTTP/1.1
X-API-KEY: YOUR_API_KEY
X-BUSINESS-ID: YOUR_BUSINESS_ID
X-USER-ID: YOUR_USER_ID
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"key1": {
"nested_key": "nested_value"
},
"key2": "key2_value"
}No content
Last updated
Was this helpful?