---
title: "Generate the draft's sequence from a brief (goal, problem, tone, channels), as Generate sequence does. AI credits apply"
method: POST
path: "/campaigns/builder/drafts/{draftId}/sequence"
tags: ["campaigns"]
---

# Generate the draft's sequence from a brief (goal, problem, tone, channels), as Generate sequence does. AI credits apply

`POST /campaigns/builder/drafts/{draftId}/sequence`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/campaigns/builder/drafts/{draftId}/sequence`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Generate the draft's sequence from a brief (goal, problem, tone, channels), as Generate sequence does. AI credits apply.

## Path parameters

- `draftId` string, required

## Request body

- object
  - `brief` object, required
    - `goal` string, required: What a reply should lead to, e.g. a demo.
    - `helpWith` string, required: The problem the product solves for them.
    - `tone` 'conversational' | 'warm' | 'direct' | 'formal', required
    - `channels` 'both' | 'email' | 'linkedin', required

## Response `200`

Successful response

- object

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
