You can use the POST /environments/{environmentId}/applications endpoint to create the new application. The application’s protocol property is required, and in this example it specifies an OPENID_CONNECT application.

The response data returns information about the new application, including its id property, which identifies the UUID for this application resource. The application’s UUID (shown below) is required in the next step to get the application’s secret.

{

    "id": "4c2205d9-f3e4-4d6b-a83d-c754d46e329a"
}