Skip to main content

createDraft

Deprecated

Use createDraftV2 instead

Create a Draft

Arguments

contactMethodIdID!

The ID of the ContactMethod to create a Draft for

contentsJSON

The initial contents of the Draft

creatorIdID!

The ID of the User creating the Draft

inReplyToMessageIdID

A Message that the Draft is in reply to

localMessageIdID

An ID to identify a LocalMessage through its lifecycle

subjectString

The subject of the Draft

teamIdID!

The ID of the Team to create the Draft for

templateIdID

The ID of Template to create initial contents from

Returns

CreateDraftPayload!