Skip to main content
GET
/
v3
/
sequences
/
{id}
/
steps
List all sequence steps
curl --request GET \
  --url https://api.reply.io/v3/sequences/{id}/steps \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.reply.io/v3/sequences/{id}/steps"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.reply.io/v3/sequences/{id}/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.reply.io/v3/sequences/{id}/steps",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  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/{id}/steps"

	req, _ := http.NewRequest("GET", 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.get("https://api.reply.io/v3/sequences/{id}/steps")
  .header("Authorization", "Bearer <token>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.reply.io/v3/sequences/{id}/steps")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
[ { "type": "email", "delayInMinutes": 1, "variants": [ { "id": 123, "subject": "<string>", "message": "<string>", "hasAttachments": true } ], "id": 123, "parentId": 123, "ifConditionPositive": true } ]

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.

Path Parameters

id
integer
required

Sequence Id

Response

List of sequence steps retrieved successfully

Email step with variant configuration

type
enum<string>
required

Step type discriminator

Available options:
email
delayInMinutes
integer
required

Delay in minutes before executing this step

Required range: x >= 0
executionMode
enum<string>
required

Execution mode for the email step

Available options:
automatic,
manual
variants
Email Variant · object[]
required

Array of email variants (A/B test versions)

id
integer | null
read-only

Unique identifier for the step

parentId
integer | null

ID of the parent step (for branching)

ifConditionPositive
boolean | null

Whether this step is on the positive branch of a condition