Page cover

Journeys API

Looking for an older version? Please click this link Previous versions to view previous API versions.

Get Journey Data

get

Retrieves the data for a specific journey. Also includes the associated user in relationships.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
journey_idstringRequired

The ID of the user journey whose data is being retrieved.

Query parameters
fields[journeys]string · enumOptional

The additional fields of the journey to be returned.

Example: predictionsPossible values:
Header parameters
x-scope-partner-idstringRequired

The partner id, please contact Yofi to get the partner id

Responses
200

Successful response with journey data and associated user in relationships.

application/json
get
/journeys/{journey_id}

Get Journey Predictions

get

Retrieves the predictions for a specific journey.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
journey_idstringRequired

The ID of the user journey whose data is being retrieved.

Query parameters
isForceboolean · enumOptional

Whether to force calculate the features.

Possible values:
Header parameters
x-scope-partner-idstringRequired

The partner id, please contact Yofi to get the partner id

Responses
200

Successful response with journey predictions.

application/json
get
/journeys/{journey_id}/predictions

Last updated

Was this helpful?