curl, made-up values
curl 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/links' \
-H "Authorization: Bearer $PODDATA_API_KEY"import requests
url = "https://api.poddata.ai/v1/diligence-reports/{id}/links"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.poddata.ai/v1/diligence-reports/{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/diligence-reports/{id}/links",
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.poddata.ai/v1/diligence-reports/{id}/links"
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.poddata.ai/v1/diligence-reports/{id}/links")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/diligence-reports/{id}/links")
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{
"data": [
{
"id": "<string>",
"label": "<string>",
"expires_at": "<string>",
"turned_off_at": "<string>",
"created_at": "<string>",
"opens": 123,
"last_opened_at": "<string>",
"works": true
}
]
}{
"error": {
"code": "forbidden",
"message": "A report's private links are made in PodData's workspace, signed in, since a link's address is shown only once. A key reads the report with GET /v1/diligence-reports/{id}."
}
}Reports
A report's private links, newest first: when each expires and how often it's been opened, never its address. A sign-in only
A report’s private links, newest first, for the person signed in to the workspace who shares it: each with who it’s for, when it expires or was turned off, and how often it’s been opened, never its address. No MCP tool reads them: they’re a setting, and a key gets a 403.
Before: A person signed in to the workspace. A key and an assistant are refused with a 403, and no MCP tool does it, since a link’s address is shown only once.
Next: Turn one off with POST /diligence-reports/{id}/links/{link}/off.
Limits: Every link at once.
GET
/
diligence-reports
/
{id}
/
links
curl, made-up values
curl 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/links' \
-H "Authorization: Bearer $PODDATA_API_KEY"import requests
url = "https://api.poddata.ai/v1/diligence-reports/{id}/links"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.poddata.ai/v1/diligence-reports/{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/diligence-reports/{id}/links",
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.poddata.ai/v1/diligence-reports/{id}/links"
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.poddata.ai/v1/diligence-reports/{id}/links")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/diligence-reports/{id}/links")
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{
"data": [
{
"id": "<string>",
"label": "<string>",
"expires_at": "<string>",
"turned_off_at": "<string>",
"created_at": "<string>",
"opens": 123,
"last_opened_at": "<string>",
"works": true
}
]
}{
"error": {
"code": "forbidden",
"message": "A report's private links are made in PodData's workspace, signed in, since a link's address is shown only once. A key reads the report with GET /v1/diligence-reports/{id}."
}
}