Menu

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

limitintegeroptional

min > 0 · max 100 · default 20

cursorstringoptional

1–2048 characters

qstringoptional

1–200 characters

statusstringoptional

Only 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.

idstringrequired

uuid

namestringrequired
triggerEventstringrequired

The event that starts a run.

dateTriggerobject | nullrequired

The contact date that starts runs, for a date journey; otherwise null.

5 child attributes
fieldstringrequired

The contact date field the journey runs from.

recurrencestringrequired

once runs on the date a single time; annual repeats every year.

one of once, annual

offsetDaysintegerrequired

Days from the date to start: negative before it, positive after. Defaults to 0.

min -365 · max 365 · default 0

timestringrequired

Time of day to start, as HH:MM in the contact's timezone, else the workspace's.

leapDaystringrequired

For 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"

enrolledCountintegerrequired

Runs ever started.

min 0 · max 9007199254740991

statusstringrequired

ended: nobody enters and runs in progress were exited; it cannot restart.

one of draft, active, paused, ended

createdAtstringrequired

date-time

updatedAtstringrequired

date-time

activeCountintegerrequired

Runs in progress now.

min 0 · max 9007199254740991