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 journeys. You need the journey’s resource ID and version to start a journey instance.
- An API client for API authentication, which provides a Client ID and Client secret. You create API clients yourself in the Account management portal. See Manage API clients to create one.
Execution flow
A complete hosted journey execution consists of the following 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 instance URL: Send the
instanceUrlto the end user, who completes the verification steps on the hosted pages. - Fetch journey state: Poll the journey status to detect completion and retrieve verification results.
Reference
- API reference overview.