Skip to content

Discard Inbox Email Draft

DELETE
/inbox/emails/{email_id}/draft

Throw away the AI draft on this thread.

Discards the DRAFT, not the thread - the conversation and every message already sent survive. There is nothing to undo, so a UI should confirm before calling it.

Authorizations

Parameters

Path Parameters

email_id
required

Email thread id.

string

Email thread id.

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required
object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string