Skip to main content
PUT
Save a draft

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, or a member token. The credential alone identifies the member and company.

Path Parameters

id
string<uuid>
required

Public id of a conversation the member can see.

Body

application/json
text
string | null
Maximum string length: 10000
subject
string | null
Maximum string length: 255
reply_to_id
string<uuid> | null

A message in this conversation the member can read; null removes the reply.

attachments
object[]

Files the client has uploaded, named by URL, as the legacy composer takes them. They are added to the draft's saved attachments, which hold at most 10 in all. The URL is not checked as an owned upload.

Maximum array length: 10

Response

The saved draft, or an empty object when a blank save cleared it.

The saved draft, or an empty object after a blank save cleared it.

status
integer
required
data
object
required

The member's unsent draft in one conversation. It is never delivered; sending is a separate message.

meta
object
required

Envelope metadata present on every response.