Retrieve actions

Retrieve actions for a traveller journey

Request samples


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

Response samples

{
   "eJzQZrym":[
      {
         "shortId":"mK77gpKZ",
         "action":"journey_start",
         "description":null,
         "status":"waiting_to_be_started",
         "result":null
      },
      {
         "shortId":"ZzwlvXyw",
         "action":"send_sms",
         "description":"Send follow up SMS",
         "status":"next_up",
         "result":null
      }
   ],
   "6mK7ZPGZ":[
      {
         "shortId":"8GXqV5KY",
         "action":"journey_start",
         "description":null,
         "status":"waiting_to_be_started",
         "result":null
      },
      {
         "shortId":"OzYeb6z5",
         "action":"send_sms",
         "description":"Send follow up SMS",
         "status":"next_up",
         "result":null
      }
   ]
}

Last updated