curl, made-up values
curl -X POST 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/links' \
-H "Authorization: Bearer $PODDATA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"days":30,"label":"Investment committee"}'import requests
url = "https://api.poddata.ai/v1/diligence-reports/{id}/links"
payload = {
"days": 30,
"label": "Investment committee"
}
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({days: 30, label: 'Investment committee'})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'days' => 30,
'label' => 'Investment committee'
]),
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/diligence-reports/{id}/links"
payload := strings.NewReader("{\n \"days\": 30,\n \"label\": \"Investment committee\"\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/diligence-reports/{id}/links")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"days\": 30,\n \"label\": \"Investment committee\"\n}")
.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::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"days\": 30,\n \"label\": \"Investment committee\"\n}"
response = http.request(request)
puts response.read_body{
"link": {
"id": "<string>",
"label": "<string>",
"expires_at": "<string>",
"turned_off_at": "<string>",
"created_at": "<string>",
"opens": 123,
"last_opened_at": "<string>",
"works": true
},
"url": "<string>"
}{
"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
Makes a private link to a checked report that holds nothing read through a team’s own licence. Its address comes back this once. A sign-in only
Makes a private link to a checked report, for someone outside the team to read it at app.poddata.ai: days, 7, 30 or 90, or null for a link that never expires, and label, who it’s for. Its address comes back this once. A report holding a figure read through your team’s own licence can’t be shared until it’s taken out. No MCP tool makes one, 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. The report is checked.
Next: Send the address to the person it’s for. GET /diligence-reports/{id}/links shows how often it’s opened.
Limits: A report that isn’t checked is a 409.
POST
/
diligence-reports
/
{id}
/
links
curl, made-up values
curl -X POST 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/links' \
-H "Authorization: Bearer $PODDATA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"days":30,"label":"Investment committee"}'import requests
url = "https://api.poddata.ai/v1/diligence-reports/{id}/links"
payload = {
"days": 30,
"label": "Investment committee"
}
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({days: 30, label: 'Investment committee'})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'days' => 30,
'label' => 'Investment committee'
]),
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/diligence-reports/{id}/links"
payload := strings.NewReader("{\n \"days\": 30,\n \"label\": \"Investment committee\"\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/diligence-reports/{id}/links")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"days\": 30,\n \"label\": \"Investment committee\"\n}")
.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::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"days\": 30,\n \"label\": \"Investment committee\"\n}"
response = http.request(request)
puts response.read_body{
"link": {
"id": "<string>",
"label": "<string>",
"expires_at": "<string>",
"turned_off_at": "<string>",
"created_at": "<string>",
"opens": 123,
"last_opened_at": "<string>",
"works": true
},
"url": "<string>"
}{
"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}."
}
}Authorizations
Body
application/json