Update An Existing Call
# support
s
curl -X PATCH https://api.vapi.ai/call/id\ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "assistantOverrides": { "variableValues": { "callId": "{{$json.response[0].callId}}", "name": "{{$json.response[0].name}}", "phoneNo": "{{$json.response[0].phoneNo}}", "address": "{{$json.response[0].address}}", "status": "{{$json.response[0].status}}" } } }' I'm trying to update the call with . But it gives me an error like this: { "errorMessage": "Bad request - please check your parameters", "errorDescription": "Bad Request", "errorDetails": { "rawErrorMessage": [ "400 - \"{\\\"message\\\":[\\\"property ad should not exist\\\",\\\"property address should not exist\\\"],\\\"error\\\":\\\"Bad Request\\\",\\\"statusCode\\\":400}\"" ], "httpCode": "400" }, "n8nDetails": { "nodeName": "Call_VAPI_API", "nodeType": "n8n-nodes-base.httpRequest", "nodeVersion": 4.2, "itemIndex": 0, "time": "25.09.2025 15:26:29", "n8nVersion": "1.111.0 (Self Hosted)", "binaryDataMode": "default", "stackTrace": [ "NodeApiError: Bad request - please check your parameters", " at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@aws-sdk+credential-providers@3.80 8.0_asn1.js@5_afd197edb2c1f848eae21a96a97fab23/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:847:16)", " at processTicksAndRejections (node:internal/process/task_queues:105:5)", " at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sd k-trace-base@1.30_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1254:8)", " at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk -trace-base@1.30_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1428:11)", " horse /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk -trace-base@1.30_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1760:27", " horse /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk-trace-base@1.30_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2337:11" ] } } How can I send information while a call is in progress?
v
To send information while a call is in progress, use the Call Control feature by POSTing to the call's
controlUrl
. For example, to make the assistant say a message during the call:
Copy code
bash
curl -X POST '<controlUrl>' \
  -H 'content-type: application/json' \
  --data-raw '{
    "type": "say",
    "content": "Your dynamic message here",
    "endCallAfterSpoken": false
  }'
This lets you inject messages in real time, rather than updating variables via PATCH. See the documentation for more details on live call control features. Source: - [Call Control Features Documentation](https://docs.vapi.ai/calls/call-features)
v
Message marked as helpful by @SaSa! 🎉
2 Views