Updates an existing roleplay. Only the provided fields are changed; omitted fields remain unchanged. Supports updating draft/live status (isLive) and custom key-value pairs (customAttributes).
Documentation Index
Fetch the complete documentation index at: https://docs.replay.sale/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Get your API key from your company settings.
The UUID of the premade roleplay to update
At least one field must be provided. Only the specified fields will be updated.
Title of the roleplay
1Instructions for the user
Live instructions shown to the user during the roleplay
Minimum score to pass (0-100)
0 <= x <= 100Whether the roleplay is live and accessible to users (true) or in draft mode (false)
If true, scoring criteria are hidden from the user
Language code: 'en', 'es', 'fr-CA', 'pt-BR', 'cs'
Opening conversation prompts shown to the user
Key terms relevant to the roleplay
Time limit in seconds. null = no limit.
x >= 0Whether to show results after roleplay completion
Maximum attempts allowed. null = unlimited.
x >= 0Whether the AI acts as the customer (true) or the rep (false)
Whether video recording is required
Custom key-value pairs for external integrations (LMS systems, analytics, etc.)
{
"scorecard_id": "sc_789",
"fs_category": "customer_service",
"difficulty": "intermediate"
}
Successfully updated roleplay
Unique identifier for the premade roleplay
Title of the roleplay
Instructions for the user
Minimum score required to pass
0 <= x <= 100Whether the roleplay is live and accessible to users (true) or in draft mode (false)
Custom key-value pairs for external integrations (LMS systems, analytics, etc.)
{
"scorecard_id": "sc_789",
"fs_category": "customer_service",
"difficulty": "intermediate"
}