Get all environments

GET https://{{base_url}}/v3/environments

The Get all environments call fetches the list of all environments available in a stack.

To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Get all environments API Reference document

Request Params

KeyDatatypeRequiredDescription
include_countbooleanSet this parameter to 'true' to include in response the total count of languages added to your stack.
ascstringEnter the unique ID of the field for sorting the environments in ascending order with respect to that field.
descstringEnter the unique ID of the field for sorting the environments in descending order with respect to that field.

HEADERS

KeyDatatypeRequiredDescription
api_keystring
authtokenstringEnter your authtoken.
authorizationstringFor this call we recommend you to use management token.
Content-Typestring