Retrieve journey
Request samples
import requests
response = requests.get(
"https://journeys-api.50skills.app/v1/journeys/ekbCvmCd/",
)
print(response.json())
fetch("https://journeys-api.50skills.app/v1/journeys/ekbCvmCd/")
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
Response samples
{
"shortId":"rBKvXUOq",
"title":"New Employee Onboarding - Office, Reykjavik",
"description":"Onboarding for new hires that are joining our offices in Reykjavik",
"isActive":false,
"isTemplate":false,
"hasPublishedJourney":false,
"hasUnpublishedChanges":true,
"datePublished":null,
"isConfigured":true,
"attributes":[
{
"shortId":"7VrENKGr",
"templateTitle":"First workday",
"templateShortId":"rbKVXyOq",
"attributeType":"date",
"isActive":true,
"isRequired":false,
"options":null,
"order":0
},
{
"shortId":"rbMVn0KO",
"templateTitle":"Supervisor",
"templateShortId":"7VyE9yrR",
"attributeType":"user",
"isActive":true,
"isRequired":false,
"options":null,
"order":1
}
],
"attributeVariables":[
{
"label":"First workday",
"source":"journey_attribute__4VyXNJGr",
"field":"value",
"type":"date"
},
{
"label":"Supervisor name",
"source":"journey_attribute__rbMVn0YO",
"field":"name",
"type":"text"
}
]
}
Last updated