Journeys API
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 · enumOptionalExample:
The additional fields of the journey to be returned.
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
401
Unauthorized
application/json
404
Resource not found.
application/json
get
/journeys/{journey_id}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 · enumOptionalPossible values:
Whether to force calculate the features.
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
401
Unauthorized
application/json
404
Resource not found.
application/json
get
/journeys/{journey_id}/predictionsLast updated
Was this helpful?
