curl --request POST \
--url https://api.parallellabs.app/api/v0/sequences/{sequenceId}/steps \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"abTestEnabled": true,
"abTestName": "<string>",
"actionParameters": {},
"actionType": "<string>",
"aiPersonalized": true,
"aiPersonalizedInstructions": "<string>",
"content": "<string>",
"daysAfterPrevious": 123,
"order": 123,
"platform": "<string>",
"schedulingIntegrationId": "<string>",
"senderProfile": "<string>",
"stepName": "<string>",
"subject": "<string>",
"trackCalendarBooking": true,
"variants": [
{}
]
}
'import requests
url = "https://api.parallellabs.app/api/v0/sequences/{sequenceId}/steps"
payload = {
"abTestEnabled": True,
"abTestName": "<string>",
"actionParameters": {},
"actionType": "<string>",
"aiPersonalized": True,
"aiPersonalizedInstructions": "<string>",
"content": "<string>",
"daysAfterPrevious": 123,
"order": 123,
"platform": "<string>",
"schedulingIntegrationId": "<string>",
"senderProfile": "<string>",
"stepName": "<string>",
"subject": "<string>",
"trackCalendarBooking": True,
"variants": [{}]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
abTestEnabled: true,
abTestName: '<string>',
actionParameters: {},
actionType: '<string>',
aiPersonalized: true,
aiPersonalizedInstructions: '<string>',
content: '<string>',
daysAfterPrevious: 123,
order: 123,
platform: '<string>',
schedulingIntegrationId: '<string>',
senderProfile: '<string>',
stepName: '<string>',
subject: '<string>',
trackCalendarBooking: true,
variants: [{}]
})
};
fetch('https://api.parallellabs.app/api/v0/sequences/{sequenceId}/steps', 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.parallellabs.app/api/v0/sequences/{sequenceId}/steps",
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([
'abTestEnabled' => true,
'abTestName' => '<string>',
'actionParameters' => [
],
'actionType' => '<string>',
'aiPersonalized' => true,
'aiPersonalizedInstructions' => '<string>',
'content' => '<string>',
'daysAfterPrevious' => 123,
'order' => 123,
'platform' => '<string>',
'schedulingIntegrationId' => '<string>',
'senderProfile' => '<string>',
'stepName' => '<string>',
'subject' => '<string>',
'trackCalendarBooking' => true,
'variants' => [
[
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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.parallellabs.app/api/v0/sequences/{sequenceId}/steps"
payload := strings.NewReader("{\n \"abTestEnabled\": true,\n \"abTestName\": \"<string>\",\n \"actionParameters\": {},\n \"actionType\": \"<string>\",\n \"aiPersonalized\": true,\n \"aiPersonalizedInstructions\": \"<string>\",\n \"content\": \"<string>\",\n \"daysAfterPrevious\": 123,\n \"order\": 123,\n \"platform\": \"<string>\",\n \"schedulingIntegrationId\": \"<string>\",\n \"senderProfile\": \"<string>\",\n \"stepName\": \"<string>\",\n \"subject\": \"<string>\",\n \"trackCalendarBooking\": true,\n \"variants\": [\n {}\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.parallellabs.app/api/v0/sequences/{sequenceId}/steps")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"abTestEnabled\": true,\n \"abTestName\": \"<string>\",\n \"actionParameters\": {},\n \"actionType\": \"<string>\",\n \"aiPersonalized\": true,\n \"aiPersonalizedInstructions\": \"<string>\",\n \"content\": \"<string>\",\n \"daysAfterPrevious\": 123,\n \"order\": 123,\n \"platform\": \"<string>\",\n \"schedulingIntegrationId\": \"<string>\",\n \"senderProfile\": \"<string>\",\n \"stepName\": \"<string>\",\n \"subject\": \"<string>\",\n \"trackCalendarBooking\": true,\n \"variants\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/sequences/{sequenceId}/steps")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"abTestEnabled\": true,\n \"abTestName\": \"<string>\",\n \"actionParameters\": {},\n \"actionType\": \"<string>\",\n \"aiPersonalized\": true,\n \"aiPersonalizedInstructions\": \"<string>\",\n \"content\": \"<string>\",\n \"daysAfterPrevious\": 123,\n \"order\": 123,\n \"platform\": \"<string>\",\n \"schedulingIntegrationId\": \"<string>\",\n \"senderProfile\": \"<string>\",\n \"stepName\": \"<string>\",\n \"subject\": \"<string>\",\n \"trackCalendarBooking\": true,\n \"variants\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"step": {
"abTestEnabled": true,
"abTestName": "<string>",
"actionParameters": {},
"actionType": "<string>",
"aiPersonalized": true,
"aiPersonalizedInstructions": "<string>",
"autoAgentParameters": {
"abilities": [
"<string>"
],
"agentId": "<string>",
"autoAgentChannel": "<string>",
"goal": "<string>",
"maxResponseDelayMinutes": 123,
"maxSteps": 123,
"minResponseDelayMinutes": 123,
"useSenderProfileAgent": true
},
"content": "<string>",
"created_date": "<string>",
"daysAfterPrevious": 123,
"id": "<string>",
"order": 123,
"platform": "<string>",
"schedulingIntegrationId": "<string>",
"senderProfile": "<string>",
"sequenceId": "<string>",
"stepName": "<string>",
"subject": "<string>",
"trackCalendarBooking": true,
"updated_date": "<string>",
"variants": [
{}
]
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Append a single step to a sequence without resending the whole step list.
curl --request POST \
--url https://api.parallellabs.app/api/v0/sequences/{sequenceId}/steps \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"abTestEnabled": true,
"abTestName": "<string>",
"actionParameters": {},
"actionType": "<string>",
"aiPersonalized": true,
"aiPersonalizedInstructions": "<string>",
"content": "<string>",
"daysAfterPrevious": 123,
"order": 123,
"platform": "<string>",
"schedulingIntegrationId": "<string>",
"senderProfile": "<string>",
"stepName": "<string>",
"subject": "<string>",
"trackCalendarBooking": true,
"variants": [
{}
]
}
'import requests
url = "https://api.parallellabs.app/api/v0/sequences/{sequenceId}/steps"
payload = {
"abTestEnabled": True,
"abTestName": "<string>",
"actionParameters": {},
"actionType": "<string>",
"aiPersonalized": True,
"aiPersonalizedInstructions": "<string>",
"content": "<string>",
"daysAfterPrevious": 123,
"order": 123,
"platform": "<string>",
"schedulingIntegrationId": "<string>",
"senderProfile": "<string>",
"stepName": "<string>",
"subject": "<string>",
"trackCalendarBooking": True,
"variants": [{}]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
abTestEnabled: true,
abTestName: '<string>',
actionParameters: {},
actionType: '<string>',
aiPersonalized: true,
aiPersonalizedInstructions: '<string>',
content: '<string>',
daysAfterPrevious: 123,
order: 123,
platform: '<string>',
schedulingIntegrationId: '<string>',
senderProfile: '<string>',
stepName: '<string>',
subject: '<string>',
trackCalendarBooking: true,
variants: [{}]
})
};
fetch('https://api.parallellabs.app/api/v0/sequences/{sequenceId}/steps', 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.parallellabs.app/api/v0/sequences/{sequenceId}/steps",
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([
'abTestEnabled' => true,
'abTestName' => '<string>',
'actionParameters' => [
],
'actionType' => '<string>',
'aiPersonalized' => true,
'aiPersonalizedInstructions' => '<string>',
'content' => '<string>',
'daysAfterPrevious' => 123,
'order' => 123,
'platform' => '<string>',
'schedulingIntegrationId' => '<string>',
'senderProfile' => '<string>',
'stepName' => '<string>',
'subject' => '<string>',
'trackCalendarBooking' => true,
'variants' => [
[
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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.parallellabs.app/api/v0/sequences/{sequenceId}/steps"
payload := strings.NewReader("{\n \"abTestEnabled\": true,\n \"abTestName\": \"<string>\",\n \"actionParameters\": {},\n \"actionType\": \"<string>\",\n \"aiPersonalized\": true,\n \"aiPersonalizedInstructions\": \"<string>\",\n \"content\": \"<string>\",\n \"daysAfterPrevious\": 123,\n \"order\": 123,\n \"platform\": \"<string>\",\n \"schedulingIntegrationId\": \"<string>\",\n \"senderProfile\": \"<string>\",\n \"stepName\": \"<string>\",\n \"subject\": \"<string>\",\n \"trackCalendarBooking\": true,\n \"variants\": [\n {}\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.parallellabs.app/api/v0/sequences/{sequenceId}/steps")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"abTestEnabled\": true,\n \"abTestName\": \"<string>\",\n \"actionParameters\": {},\n \"actionType\": \"<string>\",\n \"aiPersonalized\": true,\n \"aiPersonalizedInstructions\": \"<string>\",\n \"content\": \"<string>\",\n \"daysAfterPrevious\": 123,\n \"order\": 123,\n \"platform\": \"<string>\",\n \"schedulingIntegrationId\": \"<string>\",\n \"senderProfile\": \"<string>\",\n \"stepName\": \"<string>\",\n \"subject\": \"<string>\",\n \"trackCalendarBooking\": true,\n \"variants\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/sequences/{sequenceId}/steps")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"abTestEnabled\": true,\n \"abTestName\": \"<string>\",\n \"actionParameters\": {},\n \"actionType\": \"<string>\",\n \"aiPersonalized\": true,\n \"aiPersonalizedInstructions\": \"<string>\",\n \"content\": \"<string>\",\n \"daysAfterPrevious\": 123,\n \"order\": 123,\n \"platform\": \"<string>\",\n \"schedulingIntegrationId\": \"<string>\",\n \"senderProfile\": \"<string>\",\n \"stepName\": \"<string>\",\n \"subject\": \"<string>\",\n \"trackCalendarBooking\": true,\n \"variants\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"step": {
"abTestEnabled": true,
"abTestName": "<string>",
"actionParameters": {},
"actionType": "<string>",
"aiPersonalized": true,
"aiPersonalizedInstructions": "<string>",
"autoAgentParameters": {
"abilities": [
"<string>"
],
"agentId": "<string>",
"autoAgentChannel": "<string>",
"goal": "<string>",
"maxResponseDelayMinutes": 123,
"maxSteps": 123,
"minResponseDelayMinutes": 123,
"useSenderProfileAgent": true
},
"content": "<string>",
"created_date": "<string>",
"daysAfterPrevious": 123,
"id": "<string>",
"order": 123,
"platform": "<string>",
"schedulingIntegrationId": "<string>",
"senderProfile": "<string>",
"sequenceId": "<string>",
"stepName": "<string>",
"subject": "<string>",
"trackCalendarBooking": true,
"updated_date": "<string>",
"variants": [
{}
]
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.
Path Parameters
Body
Step data
Request body for adding a single sequence step
Whether A/B testing is enabled for this step
A/B test display name
Platform-specific action parameters
Action type. Defaults to email. One of: email, sms, voice_message, browser_task, prosp_campaign, heyreach_campaign, salesforge_campaign, http_request, agent_conversation, linkedin_profile_visit, linkedin_connection_request, linkedin_message, thanksio, meta_ads_audience, auto_agent, add_to_sequence, add_to_list
Whether content is AI-personalized
AI personalization instructions
Step content/message body
Delay in days after the previous step
Step order within the sequence; other steps are renumbered to stay contiguous
Platform (linkedin, twitter, facebook, instagram, etc.)
Scheduling integration ID for calendar booking. To find valid IDs, call integrations_getIntegrationsByType with path integration_type=scheduling.
Sender profile ID override for this step. To find valid IDs, call sequences_listProfiles.
Display name for the step
Email subject (email actions only)
Whether to track calendar booking via unique schedule links
A/B test variants array
Response
Created step
Single sequence step response
The created or updated step
Show child attributes
Show child attributes

