Get a customer journey
curl --request GET \
--url https://api.instantly.ai/api/v2/email-marketing/journeys/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.instantly.ai/api/v2/email-marketing/journeys/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.instantly.ai/api/v2/email-marketing/journeys/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.instantly.ai/api/v2/email-marketing/journeys/{id}")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.instantly.ai/api/v2/email-marketing/journeys/{id}",
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.instantly.ai/api/v2/email-marketing/journeys/{id}"
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))
}{
"id": "01a20d6a-b928-7b01-bc78-8a5df1921326",
"name": "Welcome journey",
"status": "draft",
"revision": 1,
"latest_version": 0,
"timestamp_created": "2026-11-24T11:57:07.752Z",
"timestamp_updated": "2026-11-24T11:57:07.752Z",
"connection_id": "01a20d6a-b928-7b01-bc78-8a5e59b281ca",
"draft_design": {
"trigger": {
"type": "event",
"source": "instantly",
"event_name": "form.submitted",
"segment_id": "01a20d6a-b926-792a-9ea6-49ff701cb2a0",
"entry_mode": "ongoing",
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
}
},
"sender": {
"domain_id": "01a20d6a-b926-792a-9ea6-4a00e6088c2e",
"from": "welcome@acme.com",
"reply_to": "support@acme.com"
},
"goal": {
"source": "api",
"event_name": "purchase.completed",
"window_days": 30,
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
}
},
"re_entry": {
"mode": "once",
"cooldown_days": 30
},
"exit_rules": [
{
"source": "instantly",
"event_name": "subscription_started",
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
}
}
],
"priority": "medium",
"steps": [
{
"id": "step-email",
"type": "email",
"target_step_id": "step-email",
"name": "Welcome email",
"delay": {
"mode": "until_date",
"value": 1,
"unit": "hours",
"date": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "free_trial_ends_at"
},
"offset": {
"direction": "before",
"value": 3,
"unit": "hours"
},
"time_of_day": {
"time": "09:00",
"timezone": "Europe/Zurich"
},
"if_missing": "exit",
"if_passed": "continue"
},
"email": {
"template_id": "01a20d6a-b926-792a-9ea6-49fe9e72098b",
"subject": "Welcome!",
"from_name": "Acme Sales",
"preview_text": "Your first steps start here"
},
"tag": {
"action": "add",
"tag_ids": [
"0198a123-4567-7890-abcd-ef0123456789"
]
},
"slack": {
"app_connection_id": "0198a123-4567-7890-abcd-ef0123456789",
"channel_id": "C0123ABCD",
"channel_name": "general",
"message": "New signup: {{first_name}} {{last_name}} ({{email}}) on plan {{attributes.plan}}"
},
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
},
"send_window": {
"days": [
"monday",
"thursday"
],
"start_time": "16:00",
"end_time": "20:00",
"timezone": "Europe/Zurich"
},
"goal": {
"source": "api",
"event_name": "purchase.completed",
"window_days": 30,
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
}
},
"utm_enabled": true,
"utm_params": [
{
"key": "utm_source",
"value": "newsletter"
}
],
"priority": "medium",
"split_type": "condition",
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan"
},
"branches": [
{
"id": "yes",
"name": "Paid plan",
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
},
"value": "enterprise",
"percent": 50,
"steps": "<array>"
}
]
}
]
}
}{
"statusCode": 400,
"error": "Bad Request",
"message": "limit: must be at most 50",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Missing Authorization header"
}{
"statusCode": 402,
"error": "Payment Required",
"message": "Workspace does not have an active paid plan"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Workspace suspended due to a high bounce or spam complaint rate. Please contact support.",
"code": "WORKSPACE_SUSPENDED"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not found",
"code": "NOT_FOUND"
}{
"statusCode": 408,
"error": "Request Timeout",
"message": "An internal error occurred"
}{
"statusCode": 409,
"error": "Conflict",
"message": "The resource has changed. Reload it and try again.",
"code": "CONFLICT"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An internal error occurred"
}Inbound & Lifecycle: Journey
Get a customer journey
Returns the journey with its draft design.
Requires one of the following scopes: email_marketing_journeys:read, email_marketing_journeys:all, all:read, all:all
GET
/
api
/
v2
/
email-marketing
/
journeys
/
{id}
Get a customer journey
curl --request GET \
--url https://api.instantly.ai/api/v2/email-marketing/journeys/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.instantly.ai/api/v2/email-marketing/journeys/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.instantly.ai/api/v2/email-marketing/journeys/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.instantly.ai/api/v2/email-marketing/journeys/{id}")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.instantly.ai/api/v2/email-marketing/journeys/{id}",
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.instantly.ai/api/v2/email-marketing/journeys/{id}"
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))
}{
"id": "01a20d6a-b928-7b01-bc78-8a5df1921326",
"name": "Welcome journey",
"status": "draft",
"revision": 1,
"latest_version": 0,
"timestamp_created": "2026-11-24T11:57:07.752Z",
"timestamp_updated": "2026-11-24T11:57:07.752Z",
"connection_id": "01a20d6a-b928-7b01-bc78-8a5e59b281ca",
"draft_design": {
"trigger": {
"type": "event",
"source": "instantly",
"event_name": "form.submitted",
"segment_id": "01a20d6a-b926-792a-9ea6-49ff701cb2a0",
"entry_mode": "ongoing",
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
}
},
"sender": {
"domain_id": "01a20d6a-b926-792a-9ea6-4a00e6088c2e",
"from": "welcome@acme.com",
"reply_to": "support@acme.com"
},
"goal": {
"source": "api",
"event_name": "purchase.completed",
"window_days": 30,
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
}
},
"re_entry": {
"mode": "once",
"cooldown_days": 30
},
"exit_rules": [
{
"source": "instantly",
"event_name": "subscription_started",
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
}
}
],
"priority": "medium",
"steps": [
{
"id": "step-email",
"type": "email",
"target_step_id": "step-email",
"name": "Welcome email",
"delay": {
"mode": "until_date",
"value": 1,
"unit": "hours",
"date": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "free_trial_ends_at"
},
"offset": {
"direction": "before",
"value": 3,
"unit": "hours"
},
"time_of_day": {
"time": "09:00",
"timezone": "Europe/Zurich"
},
"if_missing": "exit",
"if_passed": "continue"
},
"email": {
"template_id": "01a20d6a-b926-792a-9ea6-49fe9e72098b",
"subject": "Welcome!",
"from_name": "Acme Sales",
"preview_text": "Your first steps start here"
},
"tag": {
"action": "add",
"tag_ids": [
"0198a123-4567-7890-abcd-ef0123456789"
]
},
"slack": {
"app_connection_id": "0198a123-4567-7890-abcd-ef0123456789",
"channel_id": "C0123ABCD",
"channel_name": "general",
"message": "New signup: {{first_name}} {{last_name}} ({{email}}) on plan {{attributes.plan}}"
},
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
},
"send_window": {
"days": [
"monday",
"thursday"
],
"start_time": "16:00",
"end_time": "20:00",
"timezone": "Europe/Zurich"
},
"goal": {
"source": "api",
"event_name": "purchase.completed",
"window_days": 30,
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
}
},
"utm_enabled": true,
"utm_params": [
{
"key": "utm_source",
"value": "newsletter"
}
],
"priority": "medium",
"split_type": "condition",
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan"
},
"branches": [
{
"id": "yes",
"name": "Paid plan",
"conditions": {
"evaluator_version": 1,
"groups": [
{
"clauses": [
{
"operand": {
"namespace": "subscriber",
"field": "custom_attribute",
"key": "plan",
"source": "instantly",
"event_name": "email_account_connected"
},
"operator": "equals",
"value": "enterprise"
}
]
}
]
},
"value": "enterprise",
"percent": 50,
"steps": "<array>"
}
]
}
]
}
}{
"statusCode": 400,
"error": "Bad Request",
"message": "limit: must be at most 50",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Missing Authorization header"
}{
"statusCode": 402,
"error": "Payment Required",
"message": "Workspace does not have an active paid plan"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Workspace suspended due to a high bounce or spam complaint rate. Please contact support.",
"code": "WORKSPACE_SUSPENDED"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not found",
"code": "NOT_FOUND"
}{
"statusCode": 408,
"error": "Request Timeout",
"message": "An internal error occurred"
}{
"statusCode": 409,
"error": "Conflict",
"message": "The resource has changed. Reload it and try again.",
"code": "CONFLICT"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An internal error occurred"
}Authorizations
Path Parameters
Response
The requested Journey
A customer journey, triggered by an event or by membership of a segment. Optional fields with no value are left out of responses. Lists page with starting_after: pass the previous page's next_starting_after until there is none. Step contacts page with cursor and next_cursor instead.