API
افزودن یادداشت به یک رشته
یک یادداشت خصوصی به یک رشته سنجاق کنید.
POST/threads/{id}/notes
فراخوانی واقعی را روی فضای کاری شما اجرا میکند.
POST /threads/{id}/notes
یک یادداشت خصوصی به یک رشته سنجاق کنید.
نمونه
به threads:write نیاز دارد. content تا 20,000 نویسه است، color یکی از default، red، orange، yellow، green، blue، purple و pink است، و pinned یادداشت را بالا نگه میدارد. با 201 و خود یادداشت پاسخ میدهد.
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 }'{ "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"}یادداشت تازه پس از بقیه میآید. فرستادن همان درخواست برای بار دوم دو یادداشت میسازد.