App Logo
slack.com

Create Slack draft

Write an unsent draft message to a channel or DM (by name '#social', channel/DM id C…/D…, or @handle/U… for a DM). The draft appears in your Drafts and in list_drafts; it is not sent. Slack allows only one draft per conversation: if one already exists for the destination the call errors (delete/send it first). Returns the new draft id. Requires login.

Input

text required

Draft body text.

channel required

Destination: channel name/#name, id (C…/D…), or @handle/U… for a DM.

workspaceDomain optional

Workspace host, e.g. acme.slack.com. Defaults to the active workspace.

Output

id required
ok required
channel optional
dateCreated optional

Start building not clicking