UPLOAD stage of the staged call-import flow.
Persists the source file to S3 and creates a CallImport row with
status='uploaded'. No mapping, no provider, no rows yet — the
user moves through MAP and IMPORT as separate idempotent steps.
Dataset is collected here (rather than at IMPORT) so the batch is filterable from the moment it appears in the list view.
JWT access token. Use: Authorization: Bearer .
In: header
Header Parameters
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/call-imports" \ -F file="string" \ -F dataset="string"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "provider": "string", "telephony_integration_id": "50fbd5e3-6c05-4c13-a603-21ee107c9692", "original_filename": "string", "sheet_name": "string", "dataset": "string", "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "color": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "schema_id": "9c37f32d-8308-4815-9b0d-83fa3c1b25f9", "parameter_mapping": { "property1": "string", "property2": "string" }, "column_mapping": { "property1": "string", "property2": "string" }, "extra_columns": [ "string" ], "custom_column_mapping": { "property1": "string", "property2": "string" }, "skipped_columns": [ "string" ], "source_row_skips": [ { "source_row": 0, "reason": "string", "message": "string" } ], "source_s3_key": "string", "source_format": "string", "source_size_bytes": 0, "source_content_type": "string", "available_sheets": [ { "name": "string", "headers": [ "string" ], "row_count": 0 } ], "total_rows": 0, "completed_rows": 0, "failed_rows": 0, "status": "pending", "error_message": "string", "latest_evaluation_status": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "created_by_email": "string", "last_updated_by_email": "string"}Community & contact
- Found a bug or have a feature request? Open a GitHub issue.
- Join our Discord for faster replies!
