To complete the agreement action, the flow service calls the POST /{{envID}}/flows/{{flowID}} endpoint operation and uses the application/vnd.pingidentity.user.consent+json custom media type in the Content-type HTTP request header to identify the action.

The action asks for a value for the accept property, which supports a value of true or false. If the submitted value is true, the user.consent action completes the flow successfully.