Thread: Messages and Files
Talk to your Talonic thread from code: send messages and files, read the answers by polling events with a cursor, decide held actions and check stated figures.
The thread is your own conversation with Talonic: the same one you have in the bar at the bottom of the web app and in Slack. Through /v1/thread an API key or OAuth token reaches it as you: it reads and writes your thread only, and nobody else can read it, workspace owners included. A key that belongs to no person (an app key, or a legacy key without a creator) is refused with 403 and reason: no_person.
Reads need the thread:read scope. Sending, deciding and closing need thread:write, and the person behind the credential needs the edit permission in the workspace. When the thread is not available to you, GET /v1/thread/state answers enabled: false and every other route answers 404.
/v1/thread/state/v1/thread/messagesBody
Europe/Berlin, so dates are read the way you mean them.Send a message (bash)
curl -s -X POST https://api.talonic.com/v1/thread/messages \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Idempotency-Key: 2026-11-25-weekly-check" \
-H "Content-Type: application/json" \
-d '{"text": "Which supplier contracts end before March?", "tz": "Europe/Berlin"}'/v1/thread/eventsResponse
{
"events": [
{ "id": "6f1c…", "seq": 412, "channel": "api", "actor": "user", "kind": "message", "body": "Which supplier contracts end before March?", "meta": {}, "replyTo": null, "createdAt": "2026-11-25T09:12:01.000Z" },
{ "id": "9a3e…", "seq": 414, "channel": "api", "actor": "agent", "kind": "message", "body": "Three do: Nordlicht Logistik on 31 January, …", "meta": {}, "replyTo": null, "createdAt": "2026-11-25T09:12:06.000Z" }
],
"cursor": 414,
"has_more": false
}/v1/thread/files/v1/thread/approvals/:id/v1/thread/figures/:id