Copy
curl -X PUT "https://api.chanl.ai/api/v1/workspaces/ws_123/scenarios/scenario_456" \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/json" \
-d '{
"name": "Enhanced Billing Inquiry",
"prompt": "You are calling about a billing issue that needs immediate attention."
}'
Copy
{
"success": true,
"data": {
"scenario": {
"id": "scenario_456",
"name": "Enhanced Billing Inquiry",
"prompt": "You are calling about a billing issue that needs immediate attention.",
"updated_at": "2024-01-15T10:45:00Z"
}
}
}