Thread Endpoint Reference
Reference for 1 Thread endpoint of the Talonic API: parameters, request body, curl and Node.js examples, response and errors.
Your own conversation with Talonic, the one you have in the web app and in Slack. Send messages and files, read the answers, and decide what it prepared for you.
Every request needs an API key in the Authorization: Bearer header. Examples read the key from the TALONIC_API_KEY environment variable.
GET
/v1/thread/startersRequired scope: thread:read
curl
curl -X GET 'https://api.talonic.com/v1/thread/starters' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/thread/starters", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — OK
{
"fresh": true,
"companies": [
"string"
],
"kinds": [
"string"
],
"reported_figures": true
}- 401 — Missing or invalid API key.
- 403 — The API key does not have the required scope.
- 404 — The requested resource was not found.
- 429 — Daily rate limit exceeded.