--- title: "Save Room Draft" slug: "save-room-draft" updated: 2026-09-03T14:50:33Z published: 2026-09-03T14:50:33Z canonical: "developer.rocket.chat/save-room-draft" --- > ## Documentation Index > Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt > Use this file to discover all available pages before exploring further. # Save Room Draft Post/api/v1/rooms.saveDraft Save or clear the authenticated user's message draft for a room or an existing thread. The user must have a subscription to the room. To save a room draft, omit `tmid`. To save a thread draft, provide the ID of the thread's main message in `tmid`. Send an empty `draft` to clear the corresponding room or thread draft. The draft cannot exceed the workspace's `Message_MaxAllowedSize` setting. ### Changelog | Version | Description | | --- | --- | | 8.8.0 | Added the optional `tmid` parameter to save thread drafts | | 8.5.0 | Added | Header parametersX-Auth-TokenstringRequired The `authToken` of the authenticated user. ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f X-User-IdstringRequired The `userId` of the authenticated user. ExamplerbAXPnMktTFbNpwtJ Body parametersSave room draft ```json { "rid": "GENERAL", "draft": "Remember to share the report" } ``` Save thread draft ```json { "rid": "GENERAL", "draft": "I will check this and reply", "tmid": "7aDSXtjMA3KPLxLjt" } ``` Clear thread draft ```json { "rid": "GENERAL", "draft": "", "tmid": "7aDSXtjMA3KPLxLjt" } ``` object ridstring Required The room ID. Min length1 draftstring Required The draft text. Send an empty string to clear the draft. tmidstring The ID of the thread's main message. Omit this parameter to save or clear the main room draft. Min length1Pattern^[^.$]+$ Responses200 OK Success ```json { "success": true } ``` object successboolean 400 Bad Request Invalid subscription ```json { "success": false, "error": "Invalid subscription [error-invalid-subscription]", "errorType": "error-invalid-subscription" } ``` Draft exceeds maximum size ```json { "success": false, "error": "error-message-size-exceeded" } ``` object successboolean errorstring errorTypestring 401 Unauthorized Authorization Error ```json { "status": "error", "message": "You must be logged in to do this." } ``` object statusstring messagestring