The POST /environments/{environmentId}/signOnPolicies/{policyId}/actions operation creates the PROGRESSIVE_PROFILING sign-on policy action resource, which is associated with the sign-on policy ({policyId}) specified in the request URL.

In this use case, the priority property in the request body is set to 50 (a lower priority than the LOGIN action) to ensure that the progressive profiling action occurs after the login action. The attributes array specifies that the progressive profiling sign-on form will prompt the user to provide a mobilePhone number that will be added to the user’s profile during the sign-on flow. The attributes.required property is set to false, which allows users to bypass the progressive profiling action, if they choose.