Get an import run
curl --request GET \
--url https://api.tented.ai/v1/contacts/imports/{importRunId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tented.ai/v1/contacts/imports/{importRunId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tented.ai/v1/contacts/imports/{importRunId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tented.ai/v1/contacts/imports/{importRunId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tented.ai/v1/contacts/imports/{importRunId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tented.ai/v1/contacts/imports/{importRunId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tented.ai/v1/contacts/imports/{importRunId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"import_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"import_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"requested_by_user_id": "<string>",
"duplicate_strategy": "update",
"overwrite_blank_only": true,
"list_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"total_rows": 123,
"total_chunks": 123,
"completed_chunks": 123,
"failed_chunks": 123,
"processed_rows": 123,
"last_processed_row_number": 123,
"created_count": 123,
"updated_count": 123,
"skipped_count": 123,
"error_count": 123,
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"failed_at": "2023-11-07T05:31:56Z",
"failure_message": "<string>",
"created_field_definition_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"file_name": "<string>"
}{
"error": "<string>",
"error_code": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"limit": 123,
"current": 123
}{
"error": "<string>",
"error_code": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"limit": 123,
"current": 123
}{
"error": "<string>",
"error_code": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"limit": 123,
"current": 123
}Contact Imports
Get an import run
Fetch the status and progress counters of an import run. Runs move through queued → running → completed or failed. Rows are processed in chunks; processed_rows, created_count, updated_count, skipped_count, and error_count update as chunks complete, so you can poll this endpoint for live progress.
GET
/
v1
/
contacts
/
imports
/
{importRunId}
Get an import run
curl --request GET \
--url https://api.tented.ai/v1/contacts/imports/{importRunId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tented.ai/v1/contacts/imports/{importRunId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tented.ai/v1/contacts/imports/{importRunId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tented.ai/v1/contacts/imports/{importRunId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tented.ai/v1/contacts/imports/{importRunId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tented.ai/v1/contacts/imports/{importRunId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tented.ai/v1/contacts/imports/{importRunId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"import_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"import_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"requested_by_user_id": "<string>",
"duplicate_strategy": "update",
"overwrite_blank_only": true,
"list_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"total_rows": 123,
"total_chunks": 123,
"completed_chunks": 123,
"failed_chunks": 123,
"processed_rows": 123,
"last_processed_row_number": 123,
"created_count": 123,
"updated_count": 123,
"skipped_count": 123,
"error_count": 123,
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"failed_at": "2023-11-07T05:31:56Z",
"failure_message": "<string>",
"created_field_definition_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"file_name": "<string>"
}{
"error": "<string>",
"error_code": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"limit": 123,
"current": 123
}{
"error": "<string>",
"error_code": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"limit": 123,
"current": 123
}{
"error": "<string>",
"error_code": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"limit": 123,
"current": 123
}Authorizations
Response
Import run status and counters.
An import run: status, chunked-processing progress, and per-outcome row counts.