Once you have a customer access token, you can start a journey instance. This creates a new execution of the published journey and returns anDocumentation Index
Fetch the complete documentation index at: https://docs.go.gbgplc.com/llms.txt
Use this file to discover all available pages before exploring further.
instanceId that you use in subsequent API calls.
Use the
Start journey (/journey/start) endpoint to start a customer verification journey. You must include a valid access token in your request.Before you start a journey
Before sending the request, make sure you have:- Published API journey: A published API journey in preview or production environment. You need the journey’s resource ID and version to start a journey instance.
- Access token: obtained in Step 1: Authenticate for API authentication.
- Journey Resource ID: Specific journey Resource ID. Click Dashboard in the GBG GO platform to find the Resource ID for your published journey.
- Journey version: Specific journey version number. Click Dashboard in the GBG GO platform to find the version number for your published journey.
Choose how to start the journey
There are two execution modes:| Mode | Description |
|---|---|
| Partial prefill mode | You supply domain elements you already have upfront in the context.subject object when starting the journey. The remaining domain elements are collected from the end user through interactions. |
| Non-prefill mode | You start the journey with an empty subject object. All required data is collected from the end user through interactions. |
Start a journey (non-prefill mode)
If you are not including any user data, send an emptysubject object along with the delivery configuration:
cURL
What happens
- A journey instance is created.
- The response includes an
instanceIdthat you use in all subsequent steps. - All required domain elements must be collected from the end user through interactions.
Start a journey (partial prefill mode)
If you already have customer data that you don’t want to ask the end user for again, you can supply it upfront when starting the journey. To do this, remove those domain elements from the Interaction Group panel in the journey builder. This moves the domain elements to the start interaction, which means they can be supplied through partial prefill in thecontext.subject object when you start the journey.
For example, if your journey collects the customer’s full name and date of birth, and you already have it, remove FullName and DateOfBirth from the interaction group.


FullName and DateOfBirth can be prefilled.
You can include it in the context.subject object instead. For example:
cURL
The structure of the
context.subject object must follow the domain element schema paths configured for your journey. Always check the schema before sending data. Providing data in the wrong structure results in validation errors or incomplete journeys. To check the required fields and structure for your journey, navigate to Dashboard in the GBG GO platform, click the Actions list for your journey, and click View schema. This shows the expected data structure for the subject object.What happens
- A journey instance is created with the prefilled data applied.
- Domain elements that match the prefilled data may already be satisfied, reducing the number of interactions.
- Any remaining required domain elements are collected from the end user through interactions.
Request body fields
| Field | Required | Description |
|---|---|---|
resourceId | Yes | The unique identifier for the published journey, in the format {hash}@{version}. |
context.config.delivery | Yes | The delivery mode. Set to "api". |
context.subject | Yes | An empty object {} for non-prefill mode, or structured identity data for partial prefill mode. |
Successful response
If your request is successful, the API returns a201 Created response:
JSON
Response fields
| Field | Description |
|---|---|
instanceId | Unique identifier for this journey instance. Use this in all subsequent calls. |
status | Indicates the result of the start request. |
message | Human-readable confirmation message. |
What happens after starting a journey
Once a journey is successfully started:- The platform begins orchestrating verification modules in the background. No work completes synchronously within the start call itself.
- If prefilled data was used, some domain elements may already be satisfied when you fetch the first interaction.
Best practices
- Always confirm that the journey has been published before attempting to start it.
- Use the exact
resourceIdfor your target environment. Resource IDs differ between staging and production. - For partial prefill mode, always retrieve and validate against the schema before sending data. Incorrect data structures result in validation errors.
FAQ
What is the difference between a resource ID and an instance ID?
What is the difference between a resource ID and an instance ID?
A resource ID identifies a specific published version of a journey. When you publish a journey in GBG GO, the system assigns it a resource ID. You include this ID in the journey start request to tell the API which journey to run. To always use the most recently published version, append
@latest to the resource ID (for example, your-resource-id@latest). To pin your integration to a specific version, use the fixed resource ID without @latest.An instance ID identifies a single execution of that journey. When you start a journey, the API creates a journey instance and returns a unique instanceId in the response. You use this instance ID in subsequent API calls.What is the config object and what values can I set?
What is the config object and what values can I set?
The Example for API-first integration:
config object is included inside context when you start a journey. It controls how the journey is delivered to the end user.The primary value you can set is delivery, which determines the delivery mode:-
page: Use this for GBG hosted journeys (low-code). Whendeliveryis set to"page", the start response includes aninstanceUrl, which is a GBG-hosted page URL that you redirect the end user to. The platform handles the entire user interface. -
api: Use this for API-first integration. Whendeliveryis set to"api", the start response does not include aninstanceUrl. You are responsible for building the user interface and collecting data from the end user.
JSON
JSON
What is the uid field in the start journey request used for?
What is the uid field in the start journey request used for?
The This is useful for:
uid field is an optional string inside context.subject that allows you to associate a journey instance with a specific user in your system. It acts as a correlation identifier, linking the GBG GO journey to an existing customer or user record on your side.For example, if your system assigns each customer a unique ID like user-12345, you can pass it as the uid when starting a journey:JSON
- Traceability: Matching journey results back to the correct customer record in your system.
- Debugging: Identifying which user a journey instance belongs to when investigating issues.
- Reporting: Correlating GBG GO verification outcomes with your internal user data.
uid field is not required and does not affect journey processing. If you do not need to correlate journeys with an external system, you can omit it.