How to integrate the Next Identity Hosted Journeys user info workflow

Retrieving key details from a user's profile with Next Identity Journeys is an optional workflow in your integration with Next Identity.

In this use case, the user is already signed in and you have a valid access token for them.


The user info request consists of the base domain + the endpoint (/userinfo) + parameters. Available parameters are listed below the example.

curl -X GET \ \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer REDACTED' 

Sample result
    "sub": "9cde62ef-3d64-4aff-89f4-5362ec858cc3",
    "name": "John",
    "given_name": "Smith",
    "family_name": "John",
    "email": "[email protected]",
    "email_verified": true,
    "updated_at": "2020-12-14 21:22:11.304747 +0000",
    "locale": "en-US"

Required Parameters

The following parameters must be included on every request.

header authorizationA header for authorization including a bearer token (the access token retrieved from the /token call) valid for the user.
client_idA client_id code.