You need the application id property value returned in Step 1 to retrieve the application’s secret property value. The GET /environments/{environmentId}/applications/{applicationId}/secret returns the secret property value for the application specified in the request URL.

The response data returns the secret value for the application:

    "secret": "61tO2tfqRWZ~DLZ1zc5H...y"

The secret property value is needed in Step 20 to validate the request to exchange the authorization code for an access token.