curl --request POST \
--url https://api.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"postUrn": "<string>",
"idempotencyKey": "<string>",
"requalify": true
}
'import requests
url = "https://api.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience"
payload = {
"postUrn": "<string>",
"idempotencyKey": "<string>",
"requalify": True
}
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({postUrn: '<string>', idempotencyKey: '<string>', requalify: true})
};
fetch('https://api.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience', 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.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience",
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([
'postUrn' => '<string>',
'idempotencyKey' => '<string>',
'requalify' => true
]),
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.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience"
payload := strings.NewReader("{\n \"postUrn\": \"<string>\",\n \"idempotencyKey\": \"<string>\",\n \"requalify\": true\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.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"postUrn\": \"<string>\",\n \"idempotencyKey\": \"<string>\",\n \"requalify\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience")
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 \"postUrn\": \"<string>\",\n \"idempotencyKey\": \"<string>\",\n \"requalify\": true\n}"
response = http.request(request)
puts response.read_body{
"status": "queued",
"postId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audience": {}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}Request on-demand audience discovery for one exact LinkedIn post.
Resolves the supplied LinkedIn reference to one immutable post, prepares an exact qualification quote, and accepts it as a pipeline-capacity request. Replays with the same idempotency key and payload reuse the durable request. An incompatible replay returns 409.
curl --request POST \
--url https://api.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"postUrn": "<string>",
"idempotencyKey": "<string>",
"requalify": true
}
'import requests
url = "https://api.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience"
payload = {
"postUrn": "<string>",
"idempotencyKey": "<string>",
"requalify": True
}
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({postUrn: '<string>', idempotencyKey: '<string>', requalify: true})
};
fetch('https://api.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience', 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.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience",
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([
'postUrn' => '<string>',
'idempotencyKey' => '<string>',
'requalify' => true
]),
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.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience"
payload := strings.NewReader("{\n \"postUrn\": \"<string>\",\n \"idempotencyKey\": \"<string>\",\n \"requalify\": true\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.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"postUrn\": \"<string>\",\n \"idempotencyKey\": \"<string>\",\n \"requalify\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.traxy.ai/api/v1/audience-analytics/linkedin-posts/find-audience")
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 \"postUrn\": \"<string>\",\n \"idempotencyKey\": \"<string>\",\n \"requalify\": true\n}"
response = http.request(request)
puts response.read_body{
"status": "queued",
"postId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audience": {}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}Authorizations
Body
Re-score the already-synced engagers of a post that already has analytics with the workspace's current ICP, instead of answering already_available. May use more leads from the pipeline-capacity allowance; people already counted are not charged again. A request in flight for the post is still returned, and a post never qualified gets the ordinary discovery. Without an idempotency key, repeats under the same ICP return the same requalification.
Response
Discovery is already available, waiting for quote preparation, or represented by a durable qualification request.
Was this page helpful?