Save one of my drafts
PUT/api/me/drafts/:surface/:target
Last write wins by revision (the client's edit time, epoch ms): when
the server already holds a NEWER revision (written on another device)
nothing is changed and that version comes back with applied: false.
The target must exist and be visible to the caller at write time (else
404). Throttled per member. Other open devices hear draft.updated on
the caller's private channel (key + revision only, never the text).
Request
Responses
- 200
- 401
- 404
- 422
- 429
The stored draft, and whether this write was applied.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Resource not found (or not visible to the current tenant).
The request failed validation.
Rate limit exceeded.
Response Headers
Request quota for the current window.
Remaining requests in the current window.
Seconds to wait before retrying.