Journeys
List journeys
GET/v1/journeys
Requires an API key with the journeys:read scope. About keys and scopes
Returns journeys in this organization. Pass status to list only journeys in that state. Results are cursor-paginated: pass meta.pagination.nextCursor back as cursor until it comes back null. The cursor is opaque — do not construct or parse one.
Query parameters
limitintegeroptionalmin > 0 · max 100 · default
20cursorstringoptional1–2048 characters
qstringoptional1–200 characters
statusstringoptionalOnly journeys in this status.
one of
draft,active,paused,ended
Returns
Returns 200 OK with a list of JourneyListItem objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
namestringrequiredtriggerEventstringrequiredThe event that starts a run.
dateTriggerobject | nullrequiredThe contact date that starts runs, for a date journey; otherwise
null.5 child attributes
fieldstringrequiredThe contact date field the journey runs from.
recurrencestringrequiredonceruns on the date a single time;annualrepeats every year.one of
once,annualoffsetDaysintegerrequiredDays from the date to start: negative before it, positive after. Defaults to 0.
min -365 · max 365 · default
0timestringrequiredTime of day to start, as
HH:MMin the contact's timezone, else the workspace's.leapDaystringrequiredFor an annual 29 February date in a common year: run on 28 Feb, on 1 Mar, or skip.
one of
feb28,mar1,skip· default"feb28"
enrolledCountintegerrequiredRuns ever started.
min 0 · max 9007199254740991
statusstringrequiredended: nobody enters and runs in progress were exited; it cannot restart.one of
draft,active,paused,endedcreatedAtstringrequireddate-time
updatedAtstringrequireddate-time
activeCountintegerrequiredRuns in progress now.
min 0 · max 9007199254740991