Import Entities
Changed onThis endpoint enables the import of entities into the platform. The entities should be provided in a CSV format inside an S3 bucket. This API will return the `job_id`` which can be used to fetch the status of the import process.
Request
- Base URLhttps://entity.sls.epilot.io
- URLhttps://entity.sls.epilot.io/v1/entity:import
- Auth
- HTTP bearer
- or API key in header x-epilot-org-id
Query parameters
The unique identifier of the import job.
The ID of the import job. This ID is used to track the progress and fetch the result of the import operation.
Request body
Example request
{
"S3Reference": {
"bucket": "my-bucket",
"key": "imports/my-import.json"
},
"schema": "contact",
"unique_key": [
"email"
]
}Response
The import operation was initiated successfully. The response includes the URLs for the files containing the successful and failed imported entities.
Changes
- warning
added the new
dry_run_expiredenum value to theresponse property for the response status - warning
added the new
dry_run_mismatchenum value to theresponse property for the response status - warning
added the new
dry_run_requiredenum value to theresponse property for the response status - warning
added the new
import_file_changedenum value to theresponse property for the response status - warning
added the new
import_too_largeenum value to theresponse property for the response status - warning
added the new
internal_errorenum value to theresponse property for the response status - warning
added the new
invalid_csv_bad_headersenum value to theresponse property for the response status - warning
added the new
max_duration_exceededenum value to theresponse property for the response status - warning
added the new
no_progressenum value to theresponse property for the response status - warning
added the new
prescan_missingenum value to theresponse property for the response status - warning
added the new
token_expiredenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the media type
application/jsonfor the response with the status
- info