List journeys for the authenticated consumer
curl --request GET \
--url https://{brand}.extole.io/api/v4/me/journeys \
--header 'Authorization: <api-key>'import requests
url = "https://{brand}.extole.io/api/v4/me/journeys"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{brand}.extole.io/api/v4/me/journeys', 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://{brand}.extole.io/api/v4/me/journeys",
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: <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"
"net/http"
"io"
)
func main() {
url := "https://{brand}.extole.io/api/v4/me/journeys"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{brand}.extole.io/api/v4/me/journeys")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{brand}.extole.io/api/v4/me/journeys")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"campaign_id": "<string>",
"container": "<string>",
"created_date": "<string>",
"data": {},
"entry_advocate_code": "<string>",
"entry_advocate_partner_id": "<string>",
"entry_consumer_event_id": "<string>",
"entry_coupon_code": "<string>",
"entry_label": "<string>",
"entry_profile_id": "<string>",
"entry_promotable_code": "<string>",
"entry_reason": "<string>",
"entry_referral_reason": "<string>",
"entry_share_id": "<string>",
"entry_shareable_id": "<string>",
"entry_zone": "<string>",
"id": "<string>",
"journey_type": "<string>",
"last_advocate_code": "<string>",
"last_advocate_partner_id": "<string>",
"last_consumer_event_id": "<string>",
"last_coupon_code": "<string>",
"last_profile_id": "<string>",
"last_promotable_code": "<string>",
"last_referral_reason": "<string>",
"last_share_id": "<string>",
"last_shareable_id": "<string>",
"last_zone": "<string>",
"updated_date": "<string>"
}
]Profiles
List journeys for the authenticated consumer
Returns journey records for the consumer identified by the access token. Filter by container or type (journey name) to narrow the result set.
GET
https://{brand}.extole.io
/
api
/
v4
/
me
/
journeys
List journeys for the authenticated consumer
curl --request GET \
--url https://{brand}.extole.io/api/v4/me/journeys \
--header 'Authorization: <api-key>'import requests
url = "https://{brand}.extole.io/api/v4/me/journeys"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{brand}.extole.io/api/v4/me/journeys', 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://{brand}.extole.io/api/v4/me/journeys",
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: <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"
"net/http"
"io"
)
func main() {
url := "https://{brand}.extole.io/api/v4/me/journeys"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{brand}.extole.io/api/v4/me/journeys")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{brand}.extole.io/api/v4/me/journeys")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"campaign_id": "<string>",
"container": "<string>",
"created_date": "<string>",
"data": {},
"entry_advocate_code": "<string>",
"entry_advocate_partner_id": "<string>",
"entry_consumer_event_id": "<string>",
"entry_coupon_code": "<string>",
"entry_label": "<string>",
"entry_profile_id": "<string>",
"entry_promotable_code": "<string>",
"entry_reason": "<string>",
"entry_referral_reason": "<string>",
"entry_share_id": "<string>",
"entry_shareable_id": "<string>",
"entry_zone": "<string>",
"id": "<string>",
"journey_type": "<string>",
"last_advocate_code": "<string>",
"last_advocate_partner_id": "<string>",
"last_consumer_event_id": "<string>",
"last_coupon_code": "<string>",
"last_profile_id": "<string>",
"last_promotable_code": "<string>",
"last_referral_reason": "<string>",
"last_share_id": "<string>",
"last_shareable_id": "<string>",
"last_zone": "<string>",
"updated_date": "<string>"
}
]Authorizations
HEADERQUERYCOOKIE
Response
Successful response
Show child attributes
Show child attributes
