The POST /environments/{environmentId}/flowDefinitions operation creates a new flow defintion resource in the specified environment. The request body for the POST specifies the EXPERIENCE trigger type in the trigger.type property. The completeFlow.configuration.result property is set to REDIRECT to redirect the browser back to the application when the registration flow is complete.