provider Drafts POST
/channels/{channel_id}/drafts @utdk/front
/channels/{channel_id}/drafts Create draft
Create a draft message which is the first message of a new [conversation](https://dev.frontapp.com/reference/conversations).
Required scope: `drafts:write`
- channel_id path required
- The channel ID. Alternatively, you can supply the channel address as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
- string
Try it
Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import front from '@utdk/front';
await front.createDraft({
"channel_id": "cha_123",
"mode": "private"
})