curl --request POST \
--url https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"structure": {
"introduction": "Acme helps aerospace startups cut launch costs. Lead with procurement speed.",
"dos": [
"Reference the prospect's latest funding round"
],
"angles": [
"Slow procurement is delaying launches"
],
"donts": [
"Don't mention competitors by name"
],
"additionalNotes": "",
"examples": ""
},
"playbookId": null
}{
"title": "Bad Request",
"status": 400,
"detail": "Sequence '4821' is not an AI SDR sequence.",
"code": "salesAgentSequence.invalidParameter"
}{
"title": "Unauthorized",
"status": 401,
"detail": "Authentication credentials are missing or invalid."
}{
"title": "Forbidden",
"status": 403,
"detail": "Playbook generation is not enabled for your team.",
"code": "salesAgentSequence.forbidden"
}{
"title": "Not Found",
"status": 404,
"detail": "Sequence '4821' not found.",
"code": "salesAgentSequence.notFound"
}{
"title": "Conflict",
"status": 409,
"detail": "Sequence 4821 is not linked to an offer",
"code": "salesAgentSequence.offerNotLinked"
}{
"title": "Bad Gateway",
"status": 502,
"detail": "Upstream service failure.",
"code": "salesAgentSequence.upstreamFailure"
}Generate a playbook draft
Coming soon. This endpoint will be available by late October 2026.
ai-sdr:operate scope (or a broader one that includes it).
Have the AI SDR write a playbook for this sequence from its offer. Starts a new draft, replacing your current one. The draft is not saved to your playbooks until you call save.
curl --request POST \
--url https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/sequences/ai-sdr/{sequence_id}/playbook-draft/generate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"structure": {
"introduction": "Acme helps aerospace startups cut launch costs. Lead with procurement speed.",
"dos": [
"Reference the prospect's latest funding round"
],
"angles": [
"Slow procurement is delaying launches"
],
"donts": [
"Don't mention competitors by name"
],
"additionalNotes": "",
"examples": ""
},
"playbookId": null
}{
"title": "Bad Request",
"status": 400,
"detail": "Sequence '4821' is not an AI SDR sequence.",
"code": "salesAgentSequence.invalidParameter"
}{
"title": "Unauthorized",
"status": 401,
"detail": "Authentication credentials are missing or invalid."
}{
"title": "Forbidden",
"status": 403,
"detail": "Playbook generation is not enabled for your team.",
"code": "salesAgentSequence.forbidden"
}{
"title": "Not Found",
"status": 404,
"detail": "Sequence '4821' not found.",
"code": "salesAgentSequence.notFound"
}{
"title": "Conflict",
"status": 409,
"detail": "Sequence 4821 is not linked to an offer",
"code": "salesAgentSequence.offerNotLinked"
}{
"title": "Bad Gateway",
"status": 502,
"detail": "Upstream service failure.",
"code": "salesAgentSequence.upstreamFailure"
}Authorizations
Authenticate every request with a Bearer token. Pass your Reply API key in the
Authorization header:
Authorization: Bearer <your-api-key>
Get your API key from the Reply dashboard: Settings → API Key.
Path Parameters
Sequence id
x >= 1Response
New playbook draft. playbookId is null.
The AI-generated playbook draft for a sequence. Each user has their own draft per sequence. Drafts are deleted after 1 hour of inactivity.
The sections of an AI-generated playbook. On save, they are combined into the playbook body in this order: introduction, dos, angles, don'ts, additional notes, examples.
Show child attributes
Show child attributes
{
"introduction": "Acme helps aerospace startups cut launch costs. Lead with procurement speed.",
"dos": [
"Reference the prospect's latest funding round",
"Keep the first email under 90 words"
],
"angles": ["Slow procurement is delaying launches"],
"donts": ["Don't mention competitors by name"],
"additionalNotes": "Sign off with the sender's first name only.",
"examples": ""
}
Composite id of the playbook this draft is saved to (e.g. t-7); save updates this playbook. null until the first save. After the draft changes, the playbook keeps its last saved content until you call save again.