POST
/
test_framework
/
v1
/
scenarios-external
/
run_scenarios
/
curl --request POST \
  --url https://new-prod.vocera.ai/test_framework/v1/scenarios-external/run_scenarios/ \
  --header 'Content-Type: application/json' \
  --header 'X-VOCERA-API-KEY: <api-key>' \
  --data '{
  "agent_id": 123,
  "assistant_id": "<string>",
  "scenarios": [
    123
  ],
  "tags": [
    "<string>"
  ],
  "frequency": 1,
  "name": "<string>",
  "outbound_phone_number": "<string>"
}'
{
  "id": 167,
  "agent": 1,
  "status": "pending",
  "success_rate": 0,
  "run_as_text": false,
  "runs": [
    {
      "id": 274,
      "scenario": 1,
      "number": "+11234567890"
    },
    {
      "id": 273,
      "scenario": 2,
      "number": "+11234567891"
    }
  ],
  "created_at": "2025-02-25T21:00:01.990052Z"
}

Authorizations

X-VOCERA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Body

Response

201
application/json

The response is of type object.