Track a LinkedIn profile
curl --request POST \
--url https://api.trytikt.com/v1/tracked-profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"linkedin_url": "<string>",
"custom_label": "<string>"
}
'import requests
url = "https://api.trytikt.com/v1/tracked-profiles"
payload = {
"linkedin_url": "<string>",
"custom_label": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedin_url: '<string>', custom_label: '<string>'})
};
fetch('https://api.trytikt.com/v1/tracked-profiles', 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.trytikt.com/v1/tracked-profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedin_url' => '<string>',
'custom_label' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.trytikt.com/v1/tracked-profiles"
payload := strings.NewReader("{\n \"linkedin_url\": \"<string>\",\n \"custom_label\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.trytikt.com/v1/tracked-profiles")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"<string>\",\n \"custom_label\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trytikt.com/v1/tracked-profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_url\": \"<string>\",\n \"custom_label\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"linkedin_url": "<string>",
"public_identifier": "<string>",
"name": "<string>",
"avatar_url": "<string>",
"relationship": "<string>",
"custom_label": "<string>",
"state": "<string>",
"auto_harvest": {
"enabled": true,
"since": "<string>"
},
"onboarding_state": "<string>",
"followers_count": 123,
"posts_last_28_days": 123,
"posts_per_week": 123,
"typical_engagement": 123,
"engagement_p90": 123,
"followers_gained_7d": 123,
"followers_gained_30d": 123,
"last_post_at": "<string>",
"added_at": "<string>",
"console_url": "<string>"
}{
"id": "<string>",
"linkedin_url": "<string>",
"public_identifier": "<string>",
"name": "<string>",
"avatar_url": "<string>",
"relationship": "<string>",
"custom_label": "<string>",
"state": "<string>",
"auto_harvest": {
"enabled": true,
"since": "<string>"
},
"onboarding_state": "<string>",
"followers_count": 123,
"posts_last_28_days": 123,
"posts_per_week": 123,
"typical_engagement": 123,
"engagement_p90": 123,
"followers_gained_7d": 123,
"followers_gained_30d": 123,
"last_post_at": "<string>",
"added_at": "<string>",
"console_url": "<string>"
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}Tracked profiles
Track a LinkedIn profile
Track a LinkedIn profile by its address. It is read at the next cycle, like every tracked profile. An archived profile is restored; a profile you already track is returned as it is (200). Sends kol.added or kol.restored. Requires a Read and write key.
POST
/
v1
/
tracked-profiles
Track a LinkedIn profile
curl --request POST \
--url https://api.trytikt.com/v1/tracked-profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"linkedin_url": "<string>",
"custom_label": "<string>"
}
'import requests
url = "https://api.trytikt.com/v1/tracked-profiles"
payload = {
"linkedin_url": "<string>",
"custom_label": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedin_url: '<string>', custom_label: '<string>'})
};
fetch('https://api.trytikt.com/v1/tracked-profiles', 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.trytikt.com/v1/tracked-profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedin_url' => '<string>',
'custom_label' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.trytikt.com/v1/tracked-profiles"
payload := strings.NewReader("{\n \"linkedin_url\": \"<string>\",\n \"custom_label\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.trytikt.com/v1/tracked-profiles")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"<string>\",\n \"custom_label\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trytikt.com/v1/tracked-profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_url\": \"<string>\",\n \"custom_label\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"linkedin_url": "<string>",
"public_identifier": "<string>",
"name": "<string>",
"avatar_url": "<string>",
"relationship": "<string>",
"custom_label": "<string>",
"state": "<string>",
"auto_harvest": {
"enabled": true,
"since": "<string>"
},
"onboarding_state": "<string>",
"followers_count": 123,
"posts_last_28_days": 123,
"posts_per_week": 123,
"typical_engagement": 123,
"engagement_p90": 123,
"followers_gained_7d": 123,
"followers_gained_30d": 123,
"last_post_at": "<string>",
"added_at": "<string>",
"console_url": "<string>"
}{
"id": "<string>",
"linkedin_url": "<string>",
"public_identifier": "<string>",
"name": "<string>",
"avatar_url": "<string>",
"relationship": "<string>",
"custom_label": "<string>",
"state": "<string>",
"auto_harvest": {
"enabled": true,
"since": "<string>"
},
"onboarding_state": "<string>",
"followers_count": 123,
"posts_last_28_days": 123,
"posts_per_week": 123,
"typical_engagement": 123,
"engagement_p90": 123,
"followers_gained_7d": 123,
"followers_gained_30d": 123,
"last_post_at": "<string>",
"added_at": "<string>",
"console_url": "<string>"
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}Authorizations
Your API key, created in Settings › API: Authorization: Bearer tikt_live_….
Body
application/json
The address of the LinkedIn profile, for example https://www.linkedin.com/in/jordan-rivera.
Required string length:
1 - 500What the profile is to you: self, company, teammate, competitor, influencer (the default), investor, custom.
Available options:
self, company, teammate, competitor, influencer, investor, custom Your own label, shown when the relationship is custom. null to clear it.
Required string length:
1 - 80Response
Already done: nothing was written.
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Show child attributes
Show child attributes
Pattern:
^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$Pattern:
^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$