PUT
/v1/me/script-templateReplace my call-script template
Save the signed-in person's whole call script and tone. Send everything the read answered with the edits merged in — this replaces rather than patches, so a body carrying only the tone would blank the script. An empty spine, a tone picker value outside the vocabulary, or a slider outside 0-100 is refused with the field named.
Access class: workspace.
Send request
Use the documented inputs to call this endpoint directly.
API serverbase URL
Bearer tokensessionoptional
Stored only in this browser for the session security scheme and reused on every API page in this group.
Request body
application/jsonrequiredbodyoptional
paramsobjectoptional
queryobjectoptional
Responses
200application/json
the action's answer
{
"data": {
"branches": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"exit": "string",
"id": "",
"say": "string",
"tag": "string",
"trigger": "string"
}
],
"exit": "string",
"id": "",
"say": "string",
"tag": "string",
"trigger": "string"
}
],
"id": "",
"next": "string",
"say": "string",
"tag": "string",
"trigger": "string"
}
],
"exit": "string",
"id": "",
"next": "string",
"say": "string",
"tag": "string",
"trigger": "string"
}
],
"id": "",
"next": "string",
"say": "string",
"tag": "string",
"trigger": "string"
}
],
"spine": [
{
"key": "string",
"label": "string",
"purpose": "string",
"say": "string"
}
]
}
}datarequired
defaultapplication/json
a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}errorstringrequired