Call Imports

Deprecated

POST
/api/v1/call-imports/upload

Legacy one-shot upload kept for backward compatibility.

DEPRECATED: prefer the staged flow (POST / → PATCH /{id}/mapping → POST /{id}/import) so each step is idempotent and resumable. This endpoint runs all three stages inline in a single transaction so existing scripts / integrations keep working unchanged.

Authorization

AuthorizationBearer <token>

JWT access token. Use: Authorization: Bearer .

In: header

Header Parameters

Authorization?string|null
X-API-Key?string|null
X-EFFICIENTAI-API-KEY?string|null
X-Workspace-Id?string|null

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/upload" \  -F file="string" \  -F schema_id="9c37f32d-8308-4815-9b0d-83fa3c1b25f9" \  -F parameter_mapping="string"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "total_rows": 0,  "status": "pending",  "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"    }  ],  "message": "string"}

Community & contact

  1. Found a bug or have a feature request? Open a GitHub issue.
  2. Join our Discord for faster replies!