Skip to main content
POST
/
v3
/
ai-sdr
/
strategist
/
start
Start a strategist run
curl --request POST \
  --url https://api.reply.io/v3/ai-sdr/strategist/start \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "companyName": "<string>",
  "companyUrl": "<string>"
}
'
import requests

url = "https://api.reply.io/v3/ai-sdr/strategist/start"

payload = {
    "companyName": "<string>",
    "companyUrl": "<string>"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({companyName: '<string>', companyUrl: '<string>'})
};

fetch('https://api.reply.io/v3/ai-sdr/strategist/start', 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/ai-sdr/strategist/start",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'companyName' => '<string>',
    'companyUrl' => '<string>'
  ]),
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer <token>",
    "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://api.reply.io/v3/ai-sdr/strategist/start"

	payload := strings.NewReader("{\n  \"companyName\": \"<string>\",\n  \"companyUrl\": \"<string>\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	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.post("https://api.reply.io/v3/ai-sdr/strategist/start")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"companyName\": \"<string>\",\n  \"companyUrl\": \"<string>\"\n}")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.reply.io/v3/ai-sdr/strategist/start")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"companyName\": \"<string>\",\n  \"companyUrl\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
{
  "title": "Validation failed",
  "status": 400,
  "detail": "The request body contains validation errors.",
  "errors": [
    {
      "pointer": "/companyName",
      "detail": "'companyName' must not be empty."
    }
  ]
}
{
  "title": "Unauthorized",
  "status": 401,
  "detail": "Authentication credentials are missing or invalid."
}
{
  "title": "Forbidden",
  "status": 403,
  "detail": "AI SDR feature is not available for your team",
  "code": "strategist.forbidden"
}
{
  "title": "Conflict",
  "status": 409,
  "detail": "Cannot start a new generation while another is in progress",
  "code": "strategist.generationInitFailed"
}
{
  "title": "Bad Gateway",
  "status": 502,
  "detail": "Upstream service returned an unexpected error",
  "code": "strategist.upstreamFailure"
}

Authorizations

Authorization
string
header
required

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.

Body

application/json
companyName
string
required

Company the strategist generates ideas for

Maximum string length: 200
companyUrl
string

Optional company website used to enrich the generated ideas

Maximum string length: 256

Response

Strategist run accepted; poll the returned job for progress and results

jobId
string<uuid>
required

Background job id; poll GET /v3/background-jobs/{jobId}.