Create a new roleplay with all its building blocks in a single request.
Each building block (persona, scorecard, criteria, variables) can either reference an existing entity by ID or be created inline.
{ "id": "uuid" }{ "name": "Alex", "ttsProvider": "Azure", ... })Scorecard weights are automatically calculated and distributed evenly across sections and criteria.
API key for authentication. Get your API key from your company settings.
Title of the roleplay
1"Cold Call Discovery Practice"
Customer persona configuration. Pass { id } to reference an existing persona, or { name, ttsProvider, defaultVoiceId } to create a new one.
Scorecard configuration. Pass { id } to reference an existing scorecard, or { title, sections } to create a new one. Weights are auto-calculated.
Minimum score to pass (0-100). Defaults to 70.
0 <= x <= 10070
Language code for the roleplay. Options: en, es, fr-CA, pt-BR, cs. Defaults to 'en'.
en, es, fr-CA, pt-BR, cs "en"
If true, the user does not see AI feedback during the session. Defaults to false.
false
Opening conversation prompts shown to the user. Defaults to empty.
[
"Hi, I'm calling about your recent inquiry...",
"Hello! I'd like to discuss how we can help..."
]Type of roleplay. 'Train' for practice, 'Interview' for assessment. Defaults to 'Train'.
Train, Interview "Train"
If true, AI acts as the customer. If false, AI acts as the rep. Defaults to true.
true
Instructions for the AI persona during the conversation
"You are a busy VP of Sales who is skeptical of new tools but open to hearing a quick pitch."
Objective description shown to the user
"Successfully qualify the prospect and book a follow-up demo"
Tags for categorization
["sales", "discovery", "cold-call"]Key terms relevant to the roleplay
["ROI", "integration", "onboarding"]Time limit for the roleplay session in seconds
x > 0300
Maximum number of attempts for Interview-type roleplays
x > 03
Show solution info before the first attempt. Defaults to true.
Show solution info before retry attempts. Defaults to true.
Show scorecard before the first attempt. Defaults to true.
Show scorecard before retry attempts. Defaults to true.
Show customer persona before the first attempt. Defaults to true.
Show customer persona before retry attempts. Defaults to true.
Variables to attach to the roleplay. Each can reference existing variable/variant by IDs, or define new ones inline.