List the people behind a journey email metric
curl --request GET \
--url https://api.instantly.ai/api/v2/email-marketing/journeys/{id}/steps/{stepId}/people \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.instantly.ai/api/v2/email-marketing/journeys/{id}/steps/{stepId}/people"
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}/steps/{stepId}/people', 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}/steps/{stepId}/people")
.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}/steps/{stepId}/people",
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}/steps/{stepId}/people"
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))
}{
"items": [
{
"person": {
"id": "01a20d6a-b910-74d2-8892-d6380dbcc6f3",
"workspace_id": "01a20d6a-b910-74d2-8892-d6398f9d49ab",
"email": "subscriber@example.com",
"first_name": "Jane",
"last_name": "Doe",
"custom_attributes": {},
"tag_ids": [
"01a20d6a-b910-74d2-8892-d63a20650b98"
],
"group_ids": [
"01a20d6a-b910-74d2-8892-d63bf8440b70"
],
"consent_status": "subscribed",
"consent_updated_at": "2026-11-24T11:57:07.728Z",
"consent_source": "api",
"delivery_status": "deliverable",
"origin": "api",
"timestamp_created": "2026-11-24T11:57:07.728Z",
"timestamp_updated": "2026-11-24T11:57:07.728Z"
},
"at": "2026-08-13T10:15:00.000Z",
"run_id": "01234567-89ab-cdef-0123-456789abcdef",
"reason": {
"code": "frequency_cap",
"priority": "low",
"window": "daily",
"limit": 1,
"count": 1
}
}
],
"next_starting_after": "eyJzayI6IjIwMjYtMDgtMTMifQ"
}{
"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
List the people behind a journey email metric
Returns the people an email step was sent to, or who opened it, clicked it, reached its goal or otherwise match the requested metric, across every activated version of the journey. goal_reached covers only the versions whose step goal matches the latest version’s. Send version to list one version only. A date range is at most 365 days. Lists cover activity from their release onwards. Lists contact details, so it needs the contacts read permission; the journeys permission alone is not enough.
Requires all of the following scope groups:
- One of
email_marketing_subscribers:read,email_marketing_subscribers:all,all:read,all:all
GET
/
api
/
v2
/
email-marketing
/
journeys
/
{id}
/
steps
/
{stepId}
/
people
List the people behind a journey email metric
curl --request GET \
--url https://api.instantly.ai/api/v2/email-marketing/journeys/{id}/steps/{stepId}/people \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.instantly.ai/api/v2/email-marketing/journeys/{id}/steps/{stepId}/people"
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}/steps/{stepId}/people', 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}/steps/{stepId}/people")
.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}/steps/{stepId}/people",
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}/steps/{stepId}/people"
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))
}{
"items": [
{
"person": {
"id": "01a20d6a-b910-74d2-8892-d6380dbcc6f3",
"workspace_id": "01a20d6a-b910-74d2-8892-d6398f9d49ab",
"email": "subscriber@example.com",
"first_name": "Jane",
"last_name": "Doe",
"custom_attributes": {},
"tag_ids": [
"01a20d6a-b910-74d2-8892-d63a20650b98"
],
"group_ids": [
"01a20d6a-b910-74d2-8892-d63bf8440b70"
],
"consent_status": "subscribed",
"consent_updated_at": "2026-11-24T11:57:07.728Z",
"consent_source": "api",
"delivery_status": "deliverable",
"origin": "api",
"timestamp_created": "2026-11-24T11:57:07.728Z",
"timestamp_updated": "2026-11-24T11:57:07.728Z"
},
"at": "2026-08-13T10:15:00.000Z",
"run_id": "01234567-89ab-cdef-0123-456789abcdef",
"reason": {
"code": "frequency_cap",
"priority": "low",
"window": "daily",
"limit": 1,
"count": 1
}
}
],
"next_starting_after": "eyJzayI6IjIwMjYtMDgtMTMifQ"
}{
"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
Query Parameters
Response
People behind the metric