Update outreach draft
curl --request PATCH \
--url https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId} \
--header 'Content-Type: application/json' \
--data '
{
"subject": "<string>",
"body": "<string>",
"schedule": {}
}
'import requests
url = "https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}"
payload = {
"subject": "<string>",
"body": "<string>",
"schedule": {}
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({subject: '<string>', body: JSON.stringify('<string>'), schedule: {}})
};
fetch('https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}', 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://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'subject' => '<string>',
'body' => '<string>',
'schedule' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}"
payload := strings.NewReader("{\n \"subject\": \"<string>\",\n \"body\": \"<string>\",\n \"schedule\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}")
.header("Content-Type", "application/json")
.body("{\n \"subject\": \"<string>\",\n \"body\": \"<string>\",\n \"schedule\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"subject\": \"<string>\",\n \"body\": \"<string>\",\n \"schedule\": {}\n}"
response = http.request(request)
puts response.read_bodySmart outreach
Update outreach draft
Edit a pending outreach draft subject, body, or schedule.
PATCH
/
api
/
v2
/
websets
/
{websetId}
/
smart-outreach
/
drafts
/
{targetId}
Update outreach draft
curl --request PATCH \
--url https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId} \
--header 'Content-Type: application/json' \
--data '
{
"subject": "<string>",
"body": "<string>",
"schedule": {}
}
'import requests
url = "https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}"
payload = {
"subject": "<string>",
"body": "<string>",
"schedule": {}
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({subject: '<string>', body: JSON.stringify('<string>'), schedule: {}})
};
fetch('https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}', 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://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'subject' => '<string>',
'body' => '<string>',
'schedule' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}"
payload := strings.NewReader("{\n \"subject\": \"<string>\",\n \"body\": \"<string>\",\n \"schedule\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}")
.header("Content-Type", "application/json")
.body("{\n \"subject\": \"<string>\",\n \"body\": \"<string>\",\n \"schedule\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"subject\": \"<string>\",\n \"body\": \"<string>\",\n \"schedule\": {}\n}"
response = http.request(request)
puts response.read_bodyEdit a pending outreach draft. Check
editable and editable_reason before editing.
Overview
| Method | PATCH |
| Path | /api/v2/websets/{websetId}/smart-outreach/drafts/{targetId} |
| Permission | outreach.plans:write |
| Idempotency | Required via Idempotency-Key header |
| Returns | Updated draft content |
Path parameters
Request body
Optional new schedule. Contains
local_datetime and timezone. Omit to keep the existing schedule.Request body
{
"subject": "Subject line",
"body": "Email body",
"schedule": {
"local_datetime": "2026-12-01T09:00",
"timezone": "Asia/Shanghai"
}
}
Behavior
Checkeditable and editable_reason before editing. Drafts that are already sending or sent cannot be edited. Editing affects only the current pending draft, not historical or future rounds.
cURL
curl -X PATCH "https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}" \
-H "Authorization: Bearer sk-revor-REPLACE_ME" \
-H "Idempotency-Key: draft-update-001" \
-H "Content-Type: application/json" \
-d '{
"subject": "Subject line",
"body": "Email body",
"schedule": {
"local_datetime": "2026-12-01T09:00",
"timezone": "Asia/Shanghai"
}
}'

