List journeys
GET/v1/journeys
Requires an API key with the journeys:read scope. About keys and scopes
Works with integration, agent and partner keys.
Returns journeys in this workspace. 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. Failed and skipped messages are in GET /v1/journeys/{id}/metrics, over a window you choose.
Query parameters
limitintegeroptionalHow many items a page holds: 1 to 100, 20 by default.
min > 0 · max 100 · default
20cursorstringoptionalWhere the page starts: the previous page's
meta.pagination.nextCursor. Omit it for the first page, and send the same filters with it.1–2,048 characters
querystringoptionalPart of the journey's name, ignoring case.
1–200 characters
statusstringoptionalOnly journeys in this status.
one of
draft,active,paused,endedtagstringoptionalOnly items carrying this tag, its name matched without case.
1–64 characters
pendingAgentReviewstringoptionaltrue: only journeys waiting in the agent review queue;false: only those not.one of
true,false
Header parameters
Kirora-WorkspacestringoptionalPartner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern
^[A-Za-z0-9._:-]{1,128}$
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
namestringrequiredtriggerobjectrequiredWhat starts an enrollment.
One of 6 shapes
- Event trigger
4 child attributes
type"event"requirednamestringrequiredThe event that starts an enrollment.
1–128 characters
whereobject[]optionalConditions on the event's properties; all must hold.
at least 1 item · at most 5 items
3 child attributes
propertystringrequiredThe event property key.
1–64 characters
operatorstringrequirednotEqualsalso matches an event without the property.equalsandnotEqualscompare the property as text, ignoring case and accents.one of
equals,notEquals,gt,gte,lt,ltevaluestringrequiredWhat to compare with, as text (
"pro","true"); a number ("50") forgt,gte,ltandlte.up to 255 characters
reentryobjectrequiredWhether a contact may enter again:
once(the default);repeatableoncewaitAfterEntryhas passed since their last entry started; oronce_per_value, one run per value ofpropertyon the starting event, so a contact with two failed invoices has two runs and a repeat failure of one starts nothing. An event without that property starts no run.default
{"mode":"once"}One of 3 shapes
- Once
1 child attribute
mode"once"required
- Repeatable
2 child attributes
mode"repeatable"requiredwaitAfterEntryDurationOrZerorequiredHow long after a contact's last entry started before they may enter again, at most 3,650 days; zero lets entries overlap.
- Once per value
2 child attributes
mode"once_per_value"requiredpropertystringrequiredThe property of the starting event whose value keys a run, such as
invoice_id.1–128 characters
- List trigger
3 child attributes
type"list"requiredlistIdstringoptionalThe list whose new members enter; unset, joining any list starts it.
uuid
reentryobjectrequiredWhether a contact may enter again:
once(the default);repeatableoncewaitAfterEntryhas passed since their last entry started; oronce_per_value, one run per value ofpropertyon the starting event, so a contact with two failed invoices has two runs and a repeat failure of one starts nothing. An event without that property starts no run.default
{"mode":"once"}One of 3 shapes
- Once
1 child attribute
mode"once"required
- Repeatable
2 child attributes
mode"repeatable"requiredwaitAfterEntryDurationOrZerorequiredHow long after a contact's last entry started before they may enter again, at most 3,650 days; zero lets entries overlap.
- Once per value
2 child attributes
mode"once_per_value"requiredpropertystringrequiredThe property of the starting event whose value keys a run, such as
invoice_id.1–128 characters
- Segment trigger
4 child attributes
type"segment"requiredsegmentIdstringoptionalThe segment whose matches enter; a draft may leave it unset.
uuid
onstringrequiredenter: when a contact begins matching it;exit: when they stop. Found by the background sweep within 15 minutes.one of
enter,exit· default"enter"reentryobjectrequiredWhether a contact may enter again:
once(the default);repeatableoncewaitAfterEntryhas passed since their last entry started; oronce_per_value, one run per value ofpropertyon the starting event, so a contact with two failed invoices has two runs and a repeat failure of one starts nothing. An event without that property starts no run.default
{"mode":"once"}One of 3 shapes
- Once
1 child attribute
mode"once"required
- Repeatable
2 child attributes
mode"repeatable"requiredwaitAfterEntryDurationOrZerorequiredHow long after a contact's last entry started before they may enter again, at most 3,650 days; zero lets entries overlap.
- Once per value
2 child attributes
mode"once_per_value"requiredpropertystringrequiredThe property of the starting event whose value keys a run, such as
invoice_id.1–128 characters
- Form trigger
4 child attributes
type"form"requiredformIdstringoptionalThe form whose submissions enter; unset, any form starts it.
uuid
whereobject[]optionalConditions on the submission, such as
outcomeequalscreatedfor new contacts only; all must hold.at least 1 item · at most 5 items
3 child attributes
propertystringrequiredThe event property key.
1–64 characters
operatorstringrequirednotEqualsalso matches an event without the property.equalsandnotEqualscompare the property as text, ignoring case and accents.one of
equals,notEquals,gt,gte,lt,ltevaluestringrequiredWhat to compare with, as text (
"pro","true"); a number ("50") forgt,gte,ltandlte.up to 255 characters
reentryobjectrequiredWhether a contact may enter again:
once(the default);repeatableoncewaitAfterEntryhas passed since their last entry started; oronce_per_value, one run per value ofpropertyon the starting event, so a contact with two failed invoices has two runs and a repeat failure of one starts nothing. An event without that property starts no run.default
{"mode":"once"}One of 3 shapes
- Once
1 child attribute
mode"once"required
- Repeatable
2 child attributes
mode"repeatable"requiredwaitAfterEntryDurationOrZerorequiredHow long after a contact's last entry started before they may enter again, at most 3,650 days; zero lets entries overlap.
- Once per value
2 child attributes
mode"once_per_value"requiredpropertystringrequiredThe property of the starting event whose value keys a run, such as
invoice_id.1–128 characters
- Attribute trigger
4 child attributes
type"attribute"requiredkeystringrequiredThe contact attribute whose change starts an enrollment.
pattern
^[\p{L}\p{N}\p{M}_.-]{1,64}$whereobject[]optionalConditions on the change:
valueis the new value,previous_valuethe old one. For a list attribute,valueequalsan item when it was added.at least 1 item · at most 5 items
3 child attributes
propertystringrequiredThe event property key.
1–64 characters
operatorstringrequirednotEqualsalso matches an event without the property.equalsandnotEqualscompare the property as text, ignoring case and accents.one of
equals,notEquals,gt,gte,lt,ltevaluestringrequiredWhat to compare with, as text (
"pro","true"); a number ("50") forgt,gte,ltandlte.up to 255 characters
reentryobjectrequiredWhether a contact may enter again:
once(the default);repeatableoncewaitAfterEntryhas passed since their last entry started; oronce_per_value, one run per value ofpropertyon the starting event, so a contact with two failed invoices has two runs and a repeat failure of one starts nothing. An event without that property starts no run.default
{"mode":"once"}One of 3 shapes
- Once
1 child attribute
mode"once"required
- Repeatable
2 child attributes
mode"repeatable"requiredwaitAfterEntryDurationOrZerorequiredHow long after a contact's last entry started before they may enter again, at most 3,650 days; zero lets entries overlap.
- Once per value
2 child attributes
mode"once_per_value"requiredpropertystringrequiredThe property of the starting event whose value keys a run, such as
invoice_id.1–128 characters
- Date trigger
6 child attributes
fieldstringrequiredThe contact date field the journey runs from.
pattern
^[A-Za-z][A-Za-z0-9_]{0,63}$recurrencestringrequiredonceruns on the date a single time;annualrepeats every year.one of
once,annualoffsetSignedDurationrequiredHow far from the date to start, in whole days: negative before it, positive after, at most 365 days either way. Defaults to the day itself.
2 child attributes
valueintegerrequiredunitstringrequiredone of
seconds,minutes,hours,days
timestringrequiredTime of day to start, as
HH:MMin the contact's timezone, else the workspace's.pattern
^(?:[01]\d|2[0-3]):[0-5]\d$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"type"date"required
maxEntriesinteger | nullrequiredThe most enrollments the journey starts over its life;
nullhas no cap. It is full onceenrolledCountreaches it: it staysactivebut nobody new enters.min > 0
enrolledCountintegerrequiredEnrollments ever started.
min 0
activeCountintegerrequiredEnrollments in progress now.
min 0
statusstringrequiredended: nobody enters and enrollments in progress were exited; it cannot restart.one of
draft,active,paused,endedpendingAgentReviewbooleanrequiredAn agent key authored or edited it and it is a draft or paused, so it waits in the agent review queue: activating needs a person's approval.
tagsstring[]requiredTag names, sorted without case.
createdAtstringrequireddate-time
updatedAtstringrequireddate-time