Skip to main content
POST
Complete file import
Confirm a file upload and queue the import for processing. Call this after uploading the file bytes to the signed upload_url returned by POST /imports.

Overview

Path parameters

string
required
Import run UUID returned by POST /imports.

Request body

string
required
File format: "csv" or "xlsx".
string
required
Name of the uploaded file.
integer
required
Size of the uploaded file in bytes.
Request body

Behavior

  • This is step 3 of the file-import workflow: initialize upload, upload bytes, confirm and queue, poll progress.
  • Init and complete require separate Idempotency-Key values. Reuse each key for retries of the same step. Do not reuse the same key across different steps.
  • After completing, poll GET /imports/{runId} for progress and read webset_ids from the results.
A timeout does not mean the task failed. Retry with the original idempotency key and unchanged request. Do not change the key and create duplicate tables.
cURL