Add an edge case
Adds a variant to an IMPROV flow.
A scripted flow's variants are owned by the path engine, one per path through the graph, so they are created by editing the graph through PUT /v1/customer-flow/{flowId}/graph rather than here.
Leave personaOverrideId or environmentId unset to inherit the happy path's.
Path parameters
Request body
Response
The edge case that was added
Example response
{
"data": {
"personaOverride": {
"backstoryPrompt": "A busy professional calling during lunch break",
"properties": {
"age": 35,
"zipCode": "94105",
"occupation": "Software Engineer"
}
}
}
}Changes
Changed in 2 of the 105 revisions of this API.4
- ○
added the required property
data/oneOf[subschema #1: Scripted]/personaOverride/ageto the response with the201statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #2: Improv]/personaOverride/ageto the response with the201statusresponse-required-property-added
- ○
added the required property
data/oneOf[subschema #3: Voicemail]/personaOverride/ageto the response with the201statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○