Contacts
Get contact import
Get the progress and results of a contact import
GET
https://api.talktohumans.app
/
v1
/
contacts
/
imports
/
{import_id}
Get contact import
curl --request GET \
--url https://api.talktohumans.app/v1/contacts/imports/{import_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.talktohumans.app/v1/contacts/imports/{import_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.talktohumans.app/v1/contacts/imports/{import_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.talktohumans.app/v1/contacts/imports/{import_id}"
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))
}{
"data": {
"import": {
"import_id": "3f6c1a2e-8d4b-4c5a-9e7f-1b2d3c4e5f60",
"status": "completed",
"account": {
"account_id": "42",
"display_name": "Jane Doe",
"provider_account_id": "ACoAA000000",
"owner_user_id": "7"
},
"counts": {
"total": 3,
"pending": 0,
"imported": 1,
"already_present": 1,
"failed": 1
},
"results": [
{
"linkedin_url": "https://www.linkedin.com/in/jane-doe/",
"status": "imported",
"contact_id": "123"
},
{
"linkedin_url": "https://www.linkedin.com/in/john-smith/",
"status": "already_present",
"contact_id": "456"
},
{
"linkedin_url": "https://www.linkedin.com/in/private-profile/",
"status": "failed",
"error": {
"code": "linkedin_profile_not_found",
"message": "LinkedIn profile not found or not publicly available"
}
}
],
"warnings": []
}
}
}
⌘I
Get contact import
curl --request GET \
--url https://api.talktohumans.app/v1/contacts/imports/{import_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.talktohumans.app/v1/contacts/imports/{import_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.talktohumans.app/v1/contacts/imports/{import_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.talktohumans.app/v1/contacts/imports/{import_id}"
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))
}{
"data": {
"import": {
"import_id": "3f6c1a2e-8d4b-4c5a-9e7f-1b2d3c4e5f60",
"status": "completed",
"account": {
"account_id": "42",
"display_name": "Jane Doe",
"provider_account_id": "ACoAA000000",
"owner_user_id": "7"
},
"counts": {
"total": 3,
"pending": 0,
"imported": 1,
"already_present": 1,
"failed": 1
},
"results": [
{
"linkedin_url": "https://www.linkedin.com/in/jane-doe/",
"status": "imported",
"contact_id": "123"
},
{
"linkedin_url": "https://www.linkedin.com/in/john-smith/",
"status": "already_present",
"contact_id": "456"
},
{
"linkedin_url": "https://www.linkedin.com/in/private-profile/",
"status": "failed",
"error": {
"code": "linkedin_profile_not_found",
"message": "LinkedIn profile not found or not publicly available"
}
}
],
"warnings": []
}
}
}