Hosted journeys use the GBG GO platform to handle the end-user experience. Your backend starts the journey and receives a hosted page URL, which you redirect end users to. The platform handles the verification flow, and your backend polls for journey state to detect when the journey completes. This guide walks you through the complete integration flow for executing a hosted journey using the API.Documentation 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.
Before you begin
Make sure you have the following in place before using the API:- A published Hosted journey. To learn how to create and publish a hosted journey, refer to Create hosted journeys. You need the journey’s resource ID and version to start a journey instance.
- Your API credentials for API authentication. This includes Client ID, Client Secret, Username, and Password. These are provided by your GBG account manager.
Execution flow
A complete hosted journey execution consists of three steps:- Authenticate: Get access token to authorise API requests.
- Start a journey: Create a new journey instance using the published journey’s resource ID. Include
config.delivery: "page"to receive aninstanceUrlin the response. - Share the
instanceUrlwith the end user to complete the verification steps on the hosted pages. Your backend polls for journey completion by fetching the journey state. Once the journey completes, you can retrieve the verification results from the API response. - Fetch journey state: Poll the journey status to detect completion and retrieve verification results.
Reference
- API reference overview.