Use the
Start journey (/journey/start) endpoint to
start a customer verification journey. Also, you must include a valid access
token in your request to start a journey.Prerequisites
- A published journey – A business user must create and publish the journey in the GBG GO platform.
- Journey resource ID – A unique identifier for the journey. You can use a specific version, for example,
@2z5wz848, or the latest version,@latest. - Access token – Obtained from the Authenticate step.
Choose how to start the journey
There are two execution modes:
Use prefill mode when you already have verified user data. Use non-prefill mode if the customer will provide their data during the journey.
In synchronous prefill execution, If module processing fails to complete, a
5xx error is returned.Start a journey (non-prefill mode)
If you’re not including any user data, then send a request in the following format to theStart journey (/journey/start) endpoint:
cURL
What happens
- A journey instance is created.
- The response includes an
instanceIdwhich you’ll use in later steps. - All required tasks will need to be completed manually.
Start a journey (prefill mode)
If you already have user data, then include it in thecontext object by sending a request to the same Start journey (/journey/start) endpoint. To know what and how to pass the user data, check the User data schema reference. Depending on the user data you’re passing, your request looks something like this:
cURL
The structure of the context object depends on the schema configured in the
GBG GO platform. Always check the schema before sending data.
Start a journey (async: prefill mode)
To start a journey in asynchronous mode, include "async": true in the config object within your request context, as shown below:
cURL
Get the schema
The schema defines the required fields, formats, and structure for customer data. Refer to User data schema for an explanation of the schema for passing customer data. To retrieve the schema for your journey:- Log in to the GBG GO platform.
- Go to the Journey Dashboard.
- Locate your journey.
- Click Schema.
Providing data in the wrong structure will result in validation errors or
incomplete journeys.
What happens after starting a journey
Once a journey is successfully started:- You’ll receive an
instanceId. - You can now fetch assigned tasks, retrieve schemas, and submit task data.
- If prefilled data was used, then some tasks may already be completed.