From ff42bf5e4163a0eddae93d20058de965f9412ef1 Mon Sep 17 00:00:00 2001 From: Imemario77 <101653881+Imemario77@users.noreply.github.com> Date: Wed, 17 Sep 2025 13:10:15 +0100 Subject: [PATCH] docs(vapi): fix incorrect call control URL docs(vapi): fix incorrect call control URL The docs currently reference: https://aws-us-west-2-production1-phone-call-websocket.vapi.ai Updated to the correct endpoint: https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai --- fern/calls/call-features.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fern/calls/call-features.mdx b/fern/calls/call-features.mdx index 7bc202d07..9913c1d28 100644 --- a/fern/calls/call-features.mdx +++ b/fern/calls/call-features.mdx @@ -51,7 +51,7 @@ curl 'https://api.vapi.ai/call' "phoneCallTransport": "pstn", "monitor": { "listenUrl": "wss://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/transport", - "controlUrl": "" + "controlUrl": "" } } @@ -65,7 +65,7 @@ Once you have the `controlUrl`, you can use various control features during a li Makes the assistant say a specific message during the call. ```bash -curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' +curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' -H 'content-type: application/json' --data-raw '{ "type": "say", @@ -78,7 +78,7 @@ curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/742 Adds a message to the conversation history and optionally triggers a response. ```bash -curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' +curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' -H 'content-type: application/json' --data-raw '{ "type": "add-message", @@ -94,7 +94,7 @@ curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/742 Control the assistant's behavior during the call. ```bash -curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' +curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' -H 'content-type: application/json' --data-raw '{ "type": "control", @@ -106,7 +106,7 @@ curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/742 Programmatically end the ongoing call. ```bash -curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' +curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' -H 'content-type: application/json' --data-raw '{ "type": "end-call" @@ -117,7 +117,7 @@ curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/742 Transfer the call to a different destination. ```bash -curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' +curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control' -H 'content-type: application/json' --data-raw '{ "type": "transfer",