Retrieve journey traveller action

Retrieves a single action from a journey travellers workflow

Request samples

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

Response samples

{
   "shortId":"nyvPjAKZ",
   "action":"send_sms",
   "description":"Send follow up 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":{
               "company_traveller_phone":{
                  "type":"phone",
                  "field":"phone",
                  "label":"Traveller phone",
                  "source":"company_traveller"
               }
            }
         }
      ]
   },
   "data":{
      "message":"Dear Frodo Baggins, this is an automatic text reminder about your trip to Mordor.",
      "recipients":[
         "+441234567890"
      ]
   },
   "isAutomatic":true,
   "parentAction":"nKmRwXz8",
   "savedValues":null,
   "result":null,
   "status":"next_up",
   "ancestors":[
      "nKmRwXz8"
   ],
   "descendants":[
      
   ],
   "assignees":[
      
   ],
   "groupActions":[
      
   ],
   "actionVariables":[
      {
         "action":"journey_start",
         "label":null,
         "description":null,
         "shortId":"nKmRwXz8",
         "fields":{
            
         }
      }
   ],
   "hasJourneyStarted":false,
   "isConfigured":true,
   "travellerJourneyId":"AOyeJ4GX",
   "journeyId":"8oz3gXzp",
   "reminder":null,
   "isJourneyPaused":false,
   "reminderSchedules":[
      
   ],
   "travellerJourney":{
      "id":"AOyeJ4GX",
      "shortId":"AOyeJ4GX",
      "journey":"8oz3gXzp",
      "email":"pippin@50skills.com",
      "name":null,
      "phone":null
   },
   "scheduledDate":null
}

Last updated