Broadcasts and series
Get a journey
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the series:read ability
Path parameters
seriesstringrequiredId of the series, starting with srs_, such as srs_01jx2m8k4t. Find it with GET /series.
enrollmentstringrequiredId of the journey on a series, starting with sren_, such as sren_01jx2m8k4t. Find it with GET /series/{series}/enrollments.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
company_idstring | nullrequiredId of the company traveling the series, such as cmp_..., for a series of companies; null for a series of contacts.
company_namestringName of the company traveling. Only present when journeys are listed with who travels them, and left out when empty.
contact_emailstringEmail of the contact traveling. Only present when journeys are listed with who travels them, and left out when empty.
contact_idstring | nullrequiredId of the contact traveling the series, such as ctc_..., for a series of contacts; null for a series of companies.
contact_namestringName of the contact traveling. Only present when journeys are listed with who travels them, and left out when empty.
end_reasonstring | nullrequiredWhy the journey ended, a short lowercase code such as series_stopped or node_removed. Null while it has not ended or when no reason was recorded.
entered_atstringrequiredWhen the traveler entered the series.
Format: date-time
entered_bystringrequiredHow the traveler entered: rules, event, manual, api or test.
goal_atstring | nullrequiredWhen the traveler reached the series' goal; null if they have not.
Format: date-time
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
left_atstring | nullrequiredWhen the journey ended; null while the traveler is still on the series.
Format: date-time
node_idstringrequiredId of the step in the series' definition where the traveler stands now, or stood when the journey ended.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
series_idstringrequiredId of the series this journey belongs to, such as srs_.... Send it wherever a series is asked for.
series_namestringName of the series. Left out when the response does not fill it in.
statusstringrequiredWhere the journey stands: active, waiting, finished or exited.
stepsobject[] | nullrequiredEvery step the journey reached, each with the path it left by, what happened and when.
Show child attributesHide child attributes
detailanyrequiredFurther details of what happened at the step, as a JSON object whose keys depend on the kind of step; empty when there are none.
entered_atstringrequiredWhen the traveler reached the step.
Format: date-time
kindstringrequiredKind of step, such as entry, email, chat, post, slack, wait, wait_for, condition, split, ai_path, tag, untag, set_attribute, topic, webhook or exit.
left_atstring | nullrequiredWhen the traveler left the step; null while they are still on it.
Format: date-time
node_idstringrequiredId of the step in the series' definition.
outcomestring | nullrequiredWhat happened at the step, as a short code; null when nothing was recorded.
path_idstring | nullrequiredId of the path the traveler left the step by, such as next, failed, matched, timed_out, else, fallback, no_date or a path the step names; null if they have not left by one.
statusstringrequiredHow the step went: done, waiting, skipped or failed.
testbooleanrequiredTrue for a test journey, which never counts in the series' report.
wake_atstring | nullrequiredWhen a waiting journey moves on; null when it is not waiting on a time.
Format: date-time
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.