Zur Dokumentation springen
API

Eine Notiz an einen Thread heften

Eine private Notiz an einen Thread heften.

POST/threads/{id}/notes

Führt den echten Aufruf in Ihrem Workspace aus.

POST /threads/{id}/notes

Eine private Notiz an einen Thread heften.

Beispiel

Erfordert threads:write. content hat bis zu 20.000 Zeichen, color ist eines von default, red, orange, yellow, green, blue, purple und pink, und pinned hält die Notiz oben. Antwortet mit 201 und der Notiz.

curl
curl -X POST "$OE/threads/thr_7c1e4a90/notes" -H "$AUTH" -H "Content-Type: application/json" \  -d '{ "content": "Waiting on the signed contract before replying.", "color": "yellow", "pinned": true }'
Antwort
{  "object": "note",  "id": "b3d1f0c2-7a4e-4f7b-9c1d-2e8f6a5b4c3d",  "threadId": "thr_7c1e4a90",  "content": "Waiting on the signed contract before replying.",  "color": "yellow",  "pinned": true,  "order": 4,  "createdAt": "2026-09-30T09:12:44.000Z",  "updatedAt": "2026-09-30T09:12:44.000Z"}

Eine neue Notiz kommt nach den anderen. Dieselbe Anfrage zweimal zu senden legt zwei Notizen an.

Referenz