List journey traveller actions
Request samples
import requests
response = requests.get(
"https://journeys-api.50skills.app/v1/traveller-actions/?traveller_journey=LQK8bydY",
)
print(response.json())
fetch("https://journeys-api.50skills.app/v1/traveller-actions/?traveller_journey=LQK8bydY")
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
Response samples
[
{
"shortId":"nKmRwXz8",
"assignees":[
],
"action":"journey_start",
"values":null,
"savedValues":null,
"isAutomatic":false,
"description":null,
"dependants":[
],
"status":"waiting_to_be_started",
"parentAction":null,
"result":null,
"isHalted":false
},
{
"shortId":"nyvPjAKZ",
"assignees":[
],
"action":"send_sms",
"values":{
"message":{
"value":"Dear Frodo Baggins, this is an automatic text reminder about your trip to Mordor.",
"variables":{
}
},
"recipients":[
{
"value":"{{ company_traveller_phone }}",
"variables":{
"companyTravellerPhone":{
"type":"phone",
"field":"phone",
"label":"Traveller phone",
"source":"company_traveller"
}
}
}
]
},
"savedValues":null,
"isAutomatic":true,
"description":"Send follow up SMS",
"dependants":[
],
"status":"next_up",
"parentAction":"nKmRwXz8",
"result":null,
"isHalted":false
}
]
Last updated