curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/links' \
-H "Authorization: Bearer $PODDATA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"kind":"instagram","value":"northwinddental","evidence":"https://northwind-dental.example/"}'import requests
url = "https://api.poddata.ai/v1/companies/{id}/links"
payload = {
"kind": "instagram",
"value": "northwinddental",
"evidence": "https://northwind-dental.example/"
}
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({
kind: 'instagram',
value: 'northwinddental',
evidence: 'https://northwind-dental.example/'
})
};
fetch('https://api.poddata.ai/v1/companies/{id}/links', 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.poddata.ai/v1/companies/{id}/links",
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([
'kind' => 'instagram',
'value' => 'northwinddental',
'evidence' => 'https://northwind-dental.example/'
]),
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.poddata.ai/v1/companies/{id}/links"
payload := strings.NewReader("{\n \"kind\": \"instagram\",\n \"value\": \"northwinddental\",\n \"evidence\": \"https://northwind-dental.example/\"\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.poddata.ai/v1/companies/{id}/links")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"instagram\",\n \"value\": \"northwinddental\",\n \"evidence\": \"https://northwind-dental.example/\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/companies/{id}/links")
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 \"kind\": \"instagram\",\n \"value\": \"northwinddental\",\n \"evidence\": \"https://northwind-dental.example/\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"kind": "<string>",
"value": "<string>",
"state": "proposed",
"evidence": "<string>",
"decided_at": "<string>",
"waits_for": "team"
}{
"id": "cln_01JD8X4K2P7S00000000000000",
"kind": "instagram",
"value": "northwinddental",
"evidence": "https://northwind-dental.example/",
"state": "proposed",
"decided_at": null,
"waits_for": "team"
}{
"error": {
"code": "bad_request",
"message": "<string>"
}
}Proposes one of a target's links, for a person to confirm
Proposes a link PodData missed for one of your targets, or for a confirmed rival of one: its kind, its value as that kind writes it, and the page that shows it’s theirs. It goes in proposed, for a person to confirm. 201 with the link, or 200 with it as it stands when the company has it already.
Before: The company is one of your targets, or a confirmed rival of one: otherwise a 409 says to add it first. GET /companies/{id}/links shows what it has.
Next: Show the person the link and its page, and on their yes, POST /companies/{id}/links/{link}/confirm. Readers read through it from their next run after it’s confirmed.
Limits: A value confirmed for another company already is a 409, which names that company only when your team may see it.
curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/links' \
-H "Authorization: Bearer $PODDATA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"kind":"instagram","value":"northwinddental","evidence":"https://northwind-dental.example/"}'import requests
url = "https://api.poddata.ai/v1/companies/{id}/links"
payload = {
"kind": "instagram",
"value": "northwinddental",
"evidence": "https://northwind-dental.example/"
}
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({
kind: 'instagram',
value: 'northwinddental',
evidence: 'https://northwind-dental.example/'
})
};
fetch('https://api.poddata.ai/v1/companies/{id}/links', 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.poddata.ai/v1/companies/{id}/links",
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([
'kind' => 'instagram',
'value' => 'northwinddental',
'evidence' => 'https://northwind-dental.example/'
]),
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.poddata.ai/v1/companies/{id}/links"
payload := strings.NewReader("{\n \"kind\": \"instagram\",\n \"value\": \"northwinddental\",\n \"evidence\": \"https://northwind-dental.example/\"\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.poddata.ai/v1/companies/{id}/links")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"instagram\",\n \"value\": \"northwinddental\",\n \"evidence\": \"https://northwind-dental.example/\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/companies/{id}/links")
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 \"kind\": \"instagram\",\n \"value\": \"northwinddental\",\n \"evidence\": \"https://northwind-dental.example/\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"kind": "<string>",
"value": "<string>",
"state": "proposed",
"evidence": "<string>",
"decided_at": "<string>",
"waits_for": "team"
}{
"id": "cln_01JD8X4K2P7S00000000000000",
"kind": "instagram",
"value": "northwinddental",
"evidence": "https://northwind-dental.example/",
"state": "proposed",
"decided_at": null,
"waits_for": "team"
}{
"error": {
"code": "bad_request",
"message": "<string>"
}
}propose_link, on PodData’s MCP server at https://api.poddata.ai/mcp, does what this route does, with the same key. See The MCP server.Authorizations
Body
Response
Already one of its links: as it stands