Create a new roleplay by referencing existing building blocks by ID.
Before creating a roleplay, create the required building blocks:
Pass the UUIDs of these building blocks to assemble the roleplay.
API key for authentication. Get your API key from your company settings.
Title of the roleplay
1"Cold Call Discovery Practice"
UUID of an existing customer persona
"550e8400-e29b-41d4-a716-446655440000"
UUID of an existing scorecard
"550e8400-e29b-41d4-a716-446655440002"
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..."
]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
If true, camera access is required and video will be recorded. Defaults to false.
false
If true, shows analysis results after roleplay completion. If false, shows a simple completion message. Defaults to true.
true
Maximum number of attempts allowed for this roleplay. When set, users cannot exceed this limit.
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.
Optional variable-variant pairs to attach to the roleplay