The POST /environments/{environmentId}/flowDefinitions operation creates a new registration flow definition resource in the environment identified by its ID in the request URL. This flow definition uses the EXPERIENCE option for the trigger.type property. When the EXPERIENCE option is specified, the completeFlow property uses the REDIRECT result and has the following attributes:

"completeFlow": {
      "type": "COMPLETE_FLOW",
      "configuration": {
        "result": "REDIRECT"
      "input": {
        "parameters": {
          "flowExecutionId": "${}"
        "context": {
          "amr": [
          "user": {
            "id": "${}"

A registration flow includes several flow definition steps needed to register a new user. There are step definitions to initiate the following actions: