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 SIGN_ON_POLICY option for the trigger.type property. When the SIGN_ON_POLICY option is specified, the completeFlow property uses the COMPLETE result and has the following attributes:

"completeFlow": {
      "type": "COMPLETE_FLOW",
      "configuration": {
        "result": "COMPLETE"
      "input": {
        "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: