We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39cddcb + d3b2c35 commit ba654d2Copy full SHA for ba654d2
voice/voice-api/transfer-call-inline-ncco.sh
@@ -0,0 +1,9 @@
1
+#!/usr/bin/env bash
2
+source "../../config.sh"
3
+source "../../jwt.sh"
4
+
5
+curl -X PUT https://api.nexmo.com/v1/calls/$UUID \
6
+ -H "Authorization: Bearer "$JWT \
7
+ -H "Content-Type: application/json"\
8
+ -d '{"action": "transfer",
9
+ "destination": {"type": "ncco", "ncco": [{"action":"talk", "text":"This is a transfer action using an inline NCCO"}]}}'
0 commit comments