Skip to content
dimmiDocs

Broadcasts and series

Get a journey

GET/api/v1/series/{series}/enrollments/{enrollment}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the series:read ability

Path parameters

seriesstringrequired

Id of the series, starting with srs_, such as srs_01jx2m8k4t. Find it with GET /series.

enrollmentstringrequired

Id of the journey on a series, starting with sren_, such as sren_01jx2m8k4t. Find it with GET /series/{series}/enrollments.

Response 200

OK
dataobjectrequired
Show child attributes
company_idstring | nullrequired

Id of the company traveling the series, such as cmp_..., for a series of companies; null for a series of contacts.

company_namestring

Name of the company traveling. Only present when journeys are listed with who travels them, and left out when empty.

contact_emailstring

Email of the contact traveling. Only present when journeys are listed with who travels them, and left out when empty.

contact_idstring | nullrequired

Id of the contact traveling the series, such as ctc_..., for a series of contacts; null for a series of companies.

contact_namestring

Name of the contact traveling. Only present when journeys are listed with who travels them, and left out when empty.

end_reasonstring | nullrequired

Why 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_atstringrequired

When the traveler entered the series.

Format: date-time

entered_bystringrequired

How the traveler entered: rules, event, manual, api or test.

goal_atstring | nullrequired

When the traveler reached the series' goal; null if they have not.

Format: date-time

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

left_atstring | nullrequired

When the journey ended; null while the traveler is still on the series.

Format: date-time

node_idstringrequired

Id of the step in the series' definition where the traveler stands now, or stood when the journey ended.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

series_idstringrequired

Id of the series this journey belongs to, such as srs_.... Send it wherever a series is asked for.

series_namestring

Name of the series. Left out when the response does not fill it in.

statusstringrequired

Where the journey stands: active, waiting, finished or exited.

stepsobject[] | nullrequired

Every step the journey reached, each with the path it left by, what happened and when.

Show child attributes
detailanyrequired

Further 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_atstringrequired

When the traveler reached the step.

Format: date-time

kindstringrequired

Kind 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 | nullrequired

When the traveler left the step; null while they are still on it.

Format: date-time

node_idstringrequired

Id of the step in the series' definition.

outcomestring | nullrequired

What happened at the step, as a short code; null when nothing was recorded.

path_idstring | nullrequired

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

statusstringrequired

How the step went: done, waiting, skipped or failed.

testbooleanrequired

True for a test journey, which never counts in the series' report.

wake_atstring | nullrequired

When a waiting journey moves on; null when it is not waiting on a time.

Format: date-time

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.