Skip to main content
Retrieve a journey

Authorizations

Authorization
string
header
required

A Tightknit admin API key, sent as Authorization: Bearer <key>.

Path Parameters

journey_id
string
required

The journey's id.

Pattern: ^jour_[a-zA-Z0-9]{12}$

Query Parameters

expand

Repeatable. Returns the named relation inline. One of: award, created_by, updated_by, milestones.

Available options:
award,
created_by,
updated_by,
milestones

Response

Success

object
enum<string>
required

Always journey.

Available options:
journey
id
string
required

Unique identifier for the object.

Example:

"jour_3d7f9a2e5b1c"

created_at
string<date-time>
required

When the object was created.

updated_at
string<date-time>
required

When the object was last changed.

label
string
required

The journey's name, as members see it.

status
enum<string>
required

Where the journey is in its run. One of:

  • scheduled: before its start date.
  • active: running.
  • ended: its end date has passed, even though it is then switched off automatically. A journey with no end date never ends.
  • inactive: switched off (is_active false) before it ended.
Available options:
inactive,
scheduled,
active,
ended
Example:

"active"

is_active
boolean
required

Whether the journey is switched on, so progress counts toward it.

start_date
string<date-time>
required

When the journey starts counting progress.

end_date
string<date-time> | null
required

When the journey stops counting progress. Null for a journey that never ends.

completions_count
integer
required

How many members have completed every milestone of the journey.

Required range: x >= 0
award_id
string | null
required

The id of the award given for completing the journey. Null when none is.

created_by_id
string | null
required

The id of the profile that created the journey. Null when no member is recorded as its creator.

updated_by_id
string | null
required

The id of the profile that last changed the journey. Null until it is first changed, or when no member is recorded.

award
object | null

The completion award. Present only when award is expanded.

created_by
object | null

The profile that created the journey. Present only when created_by is expanded.

updated_by
object | null

The profile that last changed the journey. Present only when updated_by is expanded.

milestones
object[]

The journey's milestones. Present only when milestones is expanded.