Skip to main content
PATCH
Edit an email draft

Authorizations

X-API-Key
string
header
required

Path Parameters

messageId
string<uuid>
required

Body

application/json
bodyText
string
bodyHtml
string

Response

Draft updated

id
string
required
threadId
string
required
direction
enum<string>
required
Available options:
INBOUND,
OUTBOUND
status
enum<string>
required
Available options:
QUEUED,
SENDING,
SENT,
DELIVERED,
OPENED,
BOUNCED,
FAILED,
SPAM,
RECEIVED,
DRAFT
bodyText
string | null
required
bodyHtml
string | null
required
createdAt
string
required
updatedAt
string
required