/v1/definitions/{key}/rows/{rowId}/script/assistAsk for help with a record's call script
What to say next: send what the prospect said, and the lead's own script answers with the branch that matches — the line to say, its trigger, its tag and where it goes next. It never writes, and it reads THIS workspace's script, so a workspace that wrote its own objection branches gets its own lines back. Always 200 when the body is well formed: 'nothing in this script covers that' is an answer, carried as matched: false. No model is asked. Leads page only.
Access class: def:read.
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Request body
application/jsonrequiredResponses
the action's answer
{
"data": {
"ai_status": "string",
"branch_id": "",
"matched": true,
"next": "string",
"note": "string",
"suggestion": "string",
"tag": "string",
"trigger": "string"
}
}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"
}