Skip to content

Commit ff42bf5

Browse files
authored
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
1 parent 63484df commit ff42bf5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

fern/calls/call-features.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ curl 'https://api.vapi.ai/call'
5151
"phoneCallTransport": "pstn",
5252
"monitor": {
5353
"listenUrl": "wss://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/transport",
54-
"controlUrl": "<https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control>"
54+
"controlUrl": "<https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control>"
5555
}
5656
}
5757

@@ -65,7 +65,7 @@ Once you have the `controlUrl`, you can use various control features during a li
6565
Makes the assistant say a specific message during the call.
6666

6767
```bash
68-
curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
68+
curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
6969
-H 'content-type: application/json'
7070
--data-raw '{
7171
"type": "say",
@@ -78,7 +78,7 @@ curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/742
7878
Adds a message to the conversation history and optionally triggers a response.
7979

8080
```bash
81-
curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
81+
curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
8282
-H 'content-type: application/json'
8383
--data-raw '{
8484
"type": "add-message",
@@ -94,7 +94,7 @@ curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/742
9494
Control the assistant's behavior during the call.
9595

9696
```bash
97-
curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
97+
curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
9898
-H 'content-type: application/json'
9999
--data-raw '{
100100
"type": "control",
@@ -106,7 +106,7 @@ curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/742
106106
Programmatically end the ongoing call.
107107

108108
```bash
109-
curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
109+
curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
110110
-H 'content-type: application/json'
111111
--data-raw '{
112112
"type": "end-call"
@@ -117,7 +117,7 @@ curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/742
117117
Transfer the call to a different destination.
118118

119119
```bash
120-
curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
120+
curl -X POST 'https://phone-call-websocket.aws-us-west-2-backend-production2.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
121121
-H 'content-type: application/json'
122122
--data-raw '{
123123
"type": "transfer",

0 commit comments

Comments
 (0)