Skip to main content

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.

GET/v1/thread/state
POST/v1/thread/messages

Body

text*stringYour message, up to 8,000 characters.
tzstringYour IANA time zone, e.g. Europe/Berlin, so dates are read the way you mean them.
reply_touuidThe card event this message answers. A typed yes then decides that card.

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"}'
GET/v1/thread/events

Response

{
  "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
}
POST/v1/thread/files
POST/v1/thread/approvals/:id
GET/v1/thread/figures/:id

Frequently asked questions

Can a workspace owner read my thread through the API?+
No. A credential reaches only the thread of the person it belongs to. There is no parameter that names another person.
How do I get answers without a live connection?+
Poll GET /v1/thread/events with the cursor you last saw. Answers usually arrive within seconds of the message.
Is a retried message sent twice?+
Not when you send the same Idempotency-Key: the repeat is answered with replayed: true and nothing is stored or answered again.