Skip to main content
EnvironmentCreate Environments
TestMu AI
StatusCommunityBlog
Environment

Create Environments

Create configuration with environment name and variables. Note that supported variable values (Browser, OS, Device) are not publicly available currently, reach out to support if needed.

POST
/api/v1/environments
Create Environments
curl --request POST \
--url "https://test-manager-api.lambdatest.com//api/v1/environments" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"configurations": []
}'
{
"message": "Environments created successfully",
"type": "success",
"environment_id": [
123,
124,
125
]
}

Body

application/json
configurationsarrayrequired

Response

application/json

Environments created successfully

messagestring
typestring
environment_idarray
Create Environments
curl --request POST \
--url "https://test-manager-api.lambdatest.com//api/v1/environments" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"configurations": []
}'
{
"message": "Environments created successfully",
"type": "success",
"environment_id": [
123,
124,
125
]
}