Phone Testing › Create Suite
Phone Testing
Create Suite Create a new suite.
curl -- request POST \
-- url "https://agent-testing.lambdatest.com/api/suites" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"project_id" : "<project_id>" ,
"workflow_id" : "<workflow_id>" ,
"name" : "<name>" ,
"scenario_ids" : [ ] ,
"scenarios" : [ ] ,
"test_profile_id" : "<test_profile_id>" ,
"agent_profile_id" : "<agent_profile_id>" ,
"region" : "<region>" ,
"passive_mode" : true
} '
{
"id" : "<string>" ,
"project_id" : "<string>" ,
"workflow_id" : "<string>" ,
"name" : "<string>" ,
"scenario_ids" : [
{ }
] ,
"has_active_scheduler" : false ,
"scheduler_id" : "<string>" ,
"test_profile_id" : "<string>" ,
"agent_profile_id" : "<string>" ,
"region" : "<string>"
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body application/json scenario_ids array required
test_profile_id string
Optional test profile ID to associate with this suite
agent_profile_id string
Optional agent profile ID to associate with this suite
region string
Inbound region for every scenario in this suite (e.g. 'us', 'eu'). Null = inherit default 'us'. Scenario-level region overrides this.
Response 200▼
application/json Successful Response
scenario_ids array required
has_active_scheduler boolean
test_profile_id string
Optional test profile ID associated with this suite
agent_profile_id string
Optional agent profile ID associated with this suite
region string
Inbound region for this suite (e.g. 'us', 'eu')
curl -- request POST \
-- url "https://agent-testing.lambdatest.com/api/suites" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"project_id" : "<project_id>" ,
"workflow_id" : "<workflow_id>" ,
"name" : "<name>" ,
"scenario_ids" : [ ] ,
"scenarios" : [ ] ,
"test_profile_id" : "<test_profile_id>" ,
"agent_profile_id" : "<agent_profile_id>" ,
"region" : "<region>" ,
"passive_mode" : true
} '
{
"id" : "<string>" ,
"project_id" : "<string>" ,
"workflow_id" : "<string>" ,
"name" : "<string>" ,
"scenario_ids" : [
{ }
] ,
"has_active_scheduler" : false ,
"scheduler_id" : "<string>" ,
"test_profile_id" : "<string>" ,
"agent_profile_id" : "<string>" ,
"region" : "<string>"
}