Retrieve traveller journey

Request samples


import requests
response = requests.get(
    "https://journeys-api.50skills.app/v1/traveller-journeys/9rKdez72",
)
print(response.json())      

Response samples

{
   "id":"6mK7ZPGZ",
   "shortId":"6mK7ZPGZ",
   "journey":{
      "shortId":"8oz3gXzp",
      "title":"A path to Mordor",
      "description":null
   },
   "email":"samwise@50skills.com",
   "name":"Samwise Gamgee",
   "phone":null,
   "actions":[
      {
         "shortId":"8GXqV5KY",
         "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":"OzYeb6z5",
         "assignees":[
            
         ],
         "action":"send_sms",
         "values":{
            "message":{
               "value":"Dear Samwise, this is an automatic text reminder about your trip to Mordor.",
               "variables":{
                  
               }
            },
            "recipients":[
               {
                  "value":"{{ company_traveller_phone }}",
                  "variables":{
                     "company_traveller_phone":{
                        "type":"phone",
                        "field":"phone",
                        "label":"Traveller phone",
                        "source":"company_traveller"
                     }
                  }
               }
            ]
         },
         "savedValues":null,
         "isAutomatic":true,
         "description":"Send follow up SMS",
         "dependants":[
            
         ],
         "status":"next_up",
         "parentAction":"8GXqV5KY",
         "result":null,
         "isHalted":false
      }
   ],
   "progress":0.0,
   "status":"not_started",
   "picture":null,
   "dateCreated":"2023-11-15T10:21:27.409393Z",
   "dateStarted":null,
   "source":"Manually added",
   "sourceDescription":null,
   "journeyStarted":null,
   "dateCompleted":null,
   "isPaused":false,
   "journeyAttributes":[
      
   ],
   "companyTravellerAttributes":[
      
   ],
   "companyTravellerShortId":"7VyEbEGr",
   "availableValues":{
      "traveller_journey_name":"Samwise Gamgee",
      "traveller_journey_first_name":"Samwise",
      "traveller_journey_last_name":"Gamgee",
      "traveller_email":"samwise@50skills.com",
      "traveller_journey_phone":"",
      "company_traveller_name":"Samwise Gamgee",
      "company_traveller_first_name":"Samwise",
      "company_traveller_last_name":"Gamgee",
      "company_traveller_phone":"",
      "journey_title":"A path to Mordor",
      "company_name":"50skills"
   }
}

Last updated