Step 3: Get languages

GET {{apiPath}}/environments/{{envID}}/languages

The GET /environments/{{envID}}/languages returns a list of all languages associated with the specified environment, including the environment's default language. An agreement can be enabled only if there is agreement revision content in the environment's default language.

Note: In the Qodex collection for this workflow, the request includes a test script that finds your environment's default language and uses it as the agreement language to create the revision content. By setting the agreement revision language to the environment's default language, this action allows you to enable the agreement in Step 8.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring